This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Cheers, Shaun
* arm/linux-syscalls0.S (reboot): Remove. * arm/linux-syscalls1.c (reboot): New function.
Index: linux-syscalls0.S =================================================================== RCS file: /cvs/src/src/libgloss/arm/linux-syscalls0.S,v retrieving revision 1.1 diff -u -r1.1 linux-syscalls0.S --- linux-syscalls0.S 30 May 2006 17:40:47 -0000 1.1 +++ linux-syscalls0.S 1 Jun 2006 17:26:28 -0000 @@ -143,7 +143,6 @@ ALIAS(mknod) ALIAS(nanosleep) ALIAS(readlink) -ALIAS(reboot) ALIAS(rmdir) ALIAS(select) ALIAS(stime) Index: linux-syscalls1.c =================================================================== RCS file: /cvs/src/src/libgloss/arm/linux-syscalls1.c,v retrieving revision 1.1 diff -u -r1.1 linux-syscalls1.c --- linux-syscalls1.c 30 May 2006 17:40:47 -0000 1.1 +++ linux-syscalls1.c 1 Jun 2006 17:26:28 -0000 @@ -62,3 +62,10 @@ { return wait4(pid, status, options, NULL); } + +extern int _reboot(int magic, int magic2, int flag, void *arg); + +int reboot(int flag) +{ + return _reboot(0xfee1dead, 0x28121969, flag, NULL); +}
Attachment:
libgloss-arm-linux-reboot.diff
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |