Re: [U-Boot] [PATCH v3 7/8] sandbox: Add flags for open() call

2012-02-15 Thread Mike Frysinger
On Wednesday 15 February 2012 17:58:35 Simon Glass wrote: > On Tue, Jan 24, 2012 at 1:45 PM, Mike Frysinger wrote: > > On Monday 23 January 2012 01:48:52 Simon Glass wrote: > >> -/* > >> - * Operating System Interface > >> - * > >> - * This provides access to useful OS routines from the sandbox > >

Re: [U-Boot] [PATCH v3 7/8] sandbox: Add flags for open() call

2012-02-15 Thread Simon Glass
Hi Mike, On Tue, Jan 24, 2012 at 1:45 PM, Mike Frysinger wrote: > On Monday 23 January 2012 01:48:52 Simon Glass wrote: >> This provides a way for callers to create files for writing. We define >> flags which mirror the POSIX values. > > there are no POSIX values, just names.  the way the defines

Re: [U-Boot] [PATCH v3 7/8] sandbox: Add flags for open() call

2012-01-24 Thread Mike Frysinger
On Monday 23 January 2012 01:48:52 Simon Glass wrote: > This provides a way for callers to create files for writing. We define > flags which mirror the POSIX values. there are no POSIX values, just names. the way the defines get interpreted is left up to implementations. > @@ -19,11 +24,7 @@ >

[U-Boot] [PATCH v3 7/8] sandbox: Add flags for open() call

2012-01-22 Thread Simon Glass
This provides a way for callers to create files for writing. We define flags which mirror the POSIX values. Another approach would be to translate the flags at runtime. Perhaps we can leave to whoever wants to port this to another OS? Signed-off-by: Simon Glass --- Changes in v3: - Change open()