when kernel mode?

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
jockyw2001
Posts: 339
Joined: Thu Sep 29, 2005 4:19 pm

when kernel mode?

Post by jockyw2001 »

I'd like to know under what conditions an app shall run in kernel mode. I know that it should when it uses the ME. What other conditions are there?
User avatar
dot_blank
Posts: 498
Joined: Wed Sep 28, 2005 8:47 am
Location: Brasil

Post by dot_blank »

when loading user made prxs
either if prxs are user module or kernel module
10011011 00101010 11010111 10001001 10111010
User avatar
groepaz
Posts: 305
Joined: Thu Sep 01, 2005 7:44 am
Contact:

Post by groepaz »

kernel mode is generally needed to

- run code in the KU segments (PC=0x8........)
- access memory in the KU segments (first 8mb of ram)
- access i/o area (hardware registers)
- access hardware vectors (ram at bcf00000)

other restrictions, such as certain prx modules beeing only loaded in kernel mode, are handled by the kernel/OS so in theory they can be patched away (simelar to the no-device-check patch).
Post Reply