mirror of
https://github.com/emu-russia/pureikyubu.git
synced 2025-04-02 10:42:15 -04:00
Docs: New TODO moved to EMU, old renamed to old_todo Docs: Old coding style is deprecated (old_style.txt) Docs: Removed mention about CubeDocumented and fixed old emails RE: boot.s, proved first asm line (lis instruction parameter) RE: Added PAL and NTSC Boot and IPL IDA files RE: Some work on NTSC IPL (identified many lib calls, including OS, GX) RE: Added EXI Bootrom descrambler by segher RE: GXInit RE: Internal GX lib structures (GXPrivate.h) RE: More details on lomem (OS versions) RE: OSInit and OS.c RE: OSAlloc (heap allocator) RE: Very first code of Metrowerk runtime (__start.c) Docs: Added copy of http://gcdev.narod.ru Source\Utils: Command processor (Cmd.c) Source\Utils: File wrapper Source\Utils: Gekko disasm cleaned up and ported to plain C Source\Utils: Double-linked lists Source\Utils: Ported old Profiler code Source\Utils: String utils
25 lines
No EOL
410 B
C
25 lines
No EOL
410 B
C
|
|
__OSSystemCallVectorStart:
|
|
mfspr r9, hid0
|
|
ori r10, r9, 8
|
|
mtspr hid0, r10
|
|
isync
|
|
sync
|
|
mtspr hid0, r9
|
|
rfi
|
|
__OSSystemCallVectorEnd:
|
|
|
|
__OSInitSystemCall ()
|
|
{
|
|
Addr = OSPhysicalToCached ( 0xC00 );
|
|
|
|
memcpy ( Addr,
|
|
__OSSystemCallVectorStart,
|
|
__OSSystemCallVectorEnd - __OSSystemCallVectorStart );
|
|
|
|
DCFlushRangeNoSync ( Addr, 0x100 );
|
|
|
|
sync;
|
|
|
|
ICInvalidateRange ( Addr, 0x100 );
|
|
} |