Hi everybody!
Could somebody please mail me the file
"linux_arch_arm_boot_compressed_head-sa1100.S.html" ?
Thank you!
I am working with the AEB (AT91EB01) from Atmel. I am trying to port
a little RTOS to this platform.
I want to write two functions "enterCriticalSection" and
"exitCriticalSection". The first is supposed to save the old
CPSR, dissable int and return the CPSR. But: I can only use
mrs and mrs when in superuser mode. To go there I tried:
asm volatile ("mov r0, #angel_SWIreason_EnterSVC");
asm volatile ("swi #angel_SWI_ARM": : :"r0","r1","r2","r3");
The EnterSVC function from Angel does also dissable int. So how do
I get the old CPSR?
Thank�s for the file & your hint�s
Best regards,
Jens-Christian
--
Jens-Christian Lache
Technische Universitaet Hamburg-Harburg
www.tu-harburg.de/~sejl1601
Mail:
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Tel.:
+0491759610756
_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
Please visit the above address for information on this list.