ForKernel ForUser?

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

Moderators: cheriff, TyRaNiD

Post Reply
Jabberwocky
Posts: 43
Joined: Wed Aug 03, 2005 6:58 pm

ForKernel ForUser?

Post by Jabberwocky »

What's the deal with the *ForKernal and *ForUser libraries? Can you only call kernel functions (*ForKernal) when in kernel mode and user functions (*ForUser) in user mode?

This is one area I'm a bit foggy on, and can't seem to find any definitive information...
weltall
Posts: 310
Joined: Fri Feb 20, 2004 1:56 am
Contact:

Post by weltall »

yes that's exatly that some function are only for kernel mode and some for user mode
Zenurb
Posts: 106
Joined: Fri Sep 30, 2005 8:33 am
Location: United Kingdom
Contact:

Post by Zenurb »

Think of the PSP like this


Boot up: Kernel mode. Logged in as root. Load libraries and other objects into memory.

Logging in:User mode. Logged in as a user. Use libraries to perform operations with objects.
Proud Dvorak User
US 1.5 PSP (Original)
Post Reply