Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: [lpc2000] Re: system and user modes

2006-04-20 by 42Bastian Schick

Robert Adsett schrieb:

I jump in late, so sorry if I repeat an arguement:

> The question is: what extra advantage running in user mode and making calls 
> to a system mode kernal provides over an application running in system mode 
> making calls to a system mode kernal?

Even if there is no MMU/MPU which restricts access to memory, one vital
resource can be restricted: Interrupts.

In USR mode, you cannot modify the interrupt-bits whereas in SYS mode
you can.

Means, running tasks in USR mode lets the OS control the disabling of
interrupts.

-- 
42Bastian

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.