Do we use ARM's system mode in linux kernel

2013-04-26 Thread Dhiraj Kumar
Hi All, ARM is running in Supervisor(SVC) Mode in kernel. ARM also has another mode called System(SYS) Mode. I just needed info if linux kernel uses system mode of ARM processor. Please share information if anyone knows. Thanks in advance ! -- Dhiraj

ucontext in signal handler

2013-04-26 Thread Warlich, Christof
Hi, I'm porting a MIPS-based realtime control system that runs directly on top of the MIPS hardware (i.e. no dedicated operating systen inbetween) to x86 Linux. The systen is open to execute user code, and it catches floating point exceptions (e.g. underflow and overflow) by replacing out of

Re: Do we use ARM's system mode in linux kernel

2013-04-26 Thread Greg Freemyer
Dhiraj Kumar dhl...@gmail.com wrote: Hi All, ARM is running in Supervisor(SVC) Mode in kernel. ARM also has another mode called System(SYS) Mode. I just needed info if linux kernel uses system mode of ARM processor. Please share information if anyone knows. Thanks in advance ! I

Re: Compile multiple modules with a single makefile

2013-04-26 Thread Henrique Rodrigues
Hi Valdis, On Fri, Apr 26, 2013 at 12:48 PM, valdis.kletni...@vt.edu wrote: On Fri, 26 Apr 2013 11:11:09 -0700, Henrique Rodrigues said: I have the one .c source file that I want to create multiple kernel modules out of it by setting macros using the makefile. Generally considered ugly

Re: Compile multiple modules with a single makefile

2013-04-26 Thread Henrique Rodrigues
I figured it out. The problem I was having is that the statement module1: override obj-m := module1.o in my make target is not setting obj-m globally. Then, when the kernel build system comes into action (when the make -C command is invoked), the obj-m variable isn't set. This is probably more a