Hi Wim,

Wim Vandamme wrote:
This particular code, in uClibc, can only be called from user space.
You can call system calls within the kernel, but you won't be using
the uClibc linkage code above in that case.

Well, the above code is called by the /bin/init process, So I guess this is
user space. correct?

Yes, that is user space. Any program from the filesystem
is runing in user space context.


However, when I look at the CPSR of my core, it tells me I'm still in SVC
mode. Do I need to swith somewhere from SVC to USR myself in my
uclinux port?

When/where/how are you looking at the state of CPSR?
If you are running in kernel context then that would make
sense.

Regards
Greg


------------------------------------------------------------------------
Greg Ungerer  --  Chief Software Dude       EMAIL:     [EMAIL PROTECTED]
Secure Computing Corporation                PHONE:       +61 7 3435 2888
825 Stanley St,                             FAX:         +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia         WEB: http://www.SnapGear.com
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to