Download IBM PowerPC 602 Evaluation Board Kit User`s Manual
Transcript
ppcMtsr() ppcMtsr() Synopsis #include <ppcLib.h> void ppcMtsr(unsigned long seg_offset, unsigned long value); Library ppcLib.a Description ppcMtsr() sets the segment register given by seg_offset to value. Errors None. Example • Set segment register 7 to memory forced I/O. ppcMtsr(7, 0x87F00007); Attributes Async Safe Cancel Safe Interrupt Handler Safe Yes Yes Yes References • PowerPC 602 RISC Microprocessor User’s Manual 602 EVB Function Reference 10-91