diff options
author | Russ Cox <[email protected]> | 2009-07-11 19:28:29 -0700 |
---|---|---|
committer | Russ Cox <[email protected]> | 2009-07-11 19:28:29 -0700 |
commit | 2c5f7aba38f8e7207a81fdef36d7720bda9dc4e5 (patch) | |
tree | 042710e617fe8e5b807314dc3a1f48c2b4a26138 /defs.h | |
parent | b121486c3fa2eb3c8e57fe2ae9ec0f7357da1fc1 (diff) | |
download | xv6-labs-2c5f7aba38f8e7207a81fdef36d7720bda9dc4e5.tar.gz xv6-labs-2c5f7aba38f8e7207a81fdef36d7720bda9dc4e5.tar.bz2 xv6-labs-2c5f7aba38f8e7207a81fdef36d7720bda9dc4e5.zip |
initproc, usegment, swtch tweaks
Diffstat (limited to 'defs.h')
-rw-r--r-- | defs.h | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -52,7 +52,7 @@ int writei(struct inode*, char*, uint, uint); // ide.c void ideinit(void); void ideintr(void); -void iderw(struct buf *); +void iderw(struct buf*); // ioapic.c void ioapicenable(int irq, int cpu); @@ -109,7 +109,7 @@ void wakeup(void*); void yield(void); // swtch.S -void swtch(struct context**, struct context**); +void swtch(struct context**, struct context*); // spinlock.c void acquire(struct spinlock*); @@ -151,7 +151,6 @@ void uartinit(void); void uartintr(void); void uartputc(int); - // number of elements in fixed-size array #define NELEM(x) (sizeof(x)/sizeof((x)[0])) |