Changes

No change in size ,  01:02, 19 December 2024
no edit summary
Line 4: Line 4:  
The kernel runs in supervisor mode on the PowerPC, and performs the basic tasks of a microkernel. It is responsible for process isolation, memory management, and interrupt dispatching, as well as communication with [[IOSU]]. Cafe OS applications run as user mode processes, with separate address spaces and W^X memory protection.
 
The kernel runs in supervisor mode on the PowerPC, and performs the basic tasks of a microkernel. It is responsible for process isolation, memory management, and interrupt dispatching, as well as communication with [[IOSU]]. Cafe OS applications run as user mode processes, with separate address spaces and W^X memory protection.
   −
== SysCalls ==
+
== Syscalls ==
 
Cafe OS syscalls are issued by doing the following:
 
Cafe OS syscalls are issued by doing the following:
 
  li r0, 0x0100 # load syscall value->r0
 
  li r0, 0x0100 # load syscall value->r0
Line 298: Line 298:  
|}
 
|}
   −
== FastCalls ==
+
== Fastcalls ==
 
Fastcalls, on the other hand, are system calls that aren't routed through the dispatcher and can be accessed by any RAMPID.
 
Fastcalls, on the other hand, are system calls that aren't routed through the dispatcher and can be accessed by any RAMPID.
 
Attempting to access an unimplemented fastcall will redirect the code flow to syscall 0x0100 (AppPanic).
 
Attempting to access an unimplemented fastcall will redirect the code flow to syscall 0x0100 (AppPanic).