new system call in ARM9
I added new system call in ARM-linux kernel .
system call number is 365 appended to system call table in
but not able to call the system call . here attached assembly code
after compiling i am getting error
mov r0, #1
mov r7, #365 //system call number for newly added one
/* syscall exit(int status) */
mov r0, #0
mov r7, #1
asm_arm1.s: Assembler messages:
asm_arm1.s:7: Error: invalid constant (16d) after fixup
suggest me what is wrong with this.
Did you write this in assembler, or originally in C? And, what was your solution? Posting your solutions before closing a thread can be helpful to others.