From: Bart Veer <bartv@ecoscentric.com>
To: ecos-patches@sourceware.org
Subject: add more synth system calls
Date: Sun, 23 Aug 2009 11:34:00 -0000 [thread overview]
Message-ID: <pnr5v2g3wg.fsf@delenn.bartv.net> (raw)
This adds rename() to the synth system calls and provides definitions
for both rename() and unlink().
Bart
2009-07-09 Bart Veer <bartv@ecoscentric.com>
* include/hal_io.h: add unlink() and rename() prototypes
2009-07-09 Bart Veer <bartv@ecoscentric.com>
* src/syscall-i386-linux-1.0.S: add rename() system call.
Index: i386linux/current/src/syscall-i386-linux-1.0.S
===================================================================
RCS file: /cvs/ecos/ecos/packages/hal/synth/i386linux/current/src/syscall-i386-linux-1.0.S,v
retrieving revision 1.12
diff -u -p -r1.12 syscall-i386-linux-1.0.S
--- i386linux/current/src/syscall-i386-linux-1.0.S 29 Jan 2009 17:49:43 -0000 1.12
+++ i386linux/current/src/syscall-i386-linux-1.0.S 23 Aug 2009 11:33:11 -0000
@@ -402,6 +402,7 @@ SYSCALL0(getpid)
SYSCALL0(getuid)
SYSCALL1(nice)
SYSCALL2(kill)
+SYSCALL2(rename)
SYSCALL1(dup)
SYSCALL1(pipe)
SYSCALL1(brk)
Index: arch/current/include/hal_io.h
===================================================================
RCS file: /cvs/ecos/ecos/packages/hal/synth/arch/current/include/hal_io.h,v
retrieving revision 1.15
diff -u -p -r1.15 hal_io.h
--- arch/current/include/hal_io.h 29 Jan 2009 17:49:43 -0000 1.15
+++ arch/current/include/hal_io.h 23 Aug 2009 11:33:54 -0000
@@ -507,7 +507,9 @@ externC int cyg_hal_sys_exec
externC int cyg_hal_sys_pipe(int []);
externC int cyg_hal_sys_close(int);
externC int cyg_hal_sys_dup2(int, int);
-
+externC int cyg_hal_sys_unlink(const char*);
+externC int cyg_hal_sys_rename(const char*, const char*);
+
#define CYG_HAL_SYS_IPCOP_semop 1
#define CYG_HAL_SYS_IPCOP_semget 2
#define CYG_HAL_SYS_IPCOP_semctl 3
reply other threads:[~2009-08-23 11:34 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=pnr5v2g3wg.fsf@delenn.bartv.net \
--to=bartv@ecoscentric.com \
--cc=ecos-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).