version 1.1, 2008/06/03 10:38:44 |
version 1.1.1.1.2.1, 2008/08/13 17:12:26 |
|
|
* GBA BIOS does not allow to an install SWI handler by user. So, the system |
* GBA BIOS does not allow to an install SWI handler by user. So, the system |
* calls will jump to the system call entry point (0x200007c) in the kernel |
* calls will jump to the system call entry point (0x200007c) in the kernel |
* code. Then, the kernel SWI handler will switch the CPU mode to SVC mode. |
* code. Then, the kernel SWI handler will switch the CPU mode to SVC mode. |
* However, CPU mode can be changed only in privillaged CPU mode. By this |
* However, CPU mode can be changed only in privileged CPU mode. By this |
* reason, all applications run in SYS mode with GBA. |
* reason, all applications run in SYS mode with GBA. |
* |
* |
* FIXME: 0x200007c -> should be defined in somewhere... |
* FIXME: 0x200007c -> should be defined in somewhere... |