diff options
author | rsc <rsc> | 2009-03-08 22:07:13 +0000 |
---|---|---|
committer | rsc <rsc> | 2009-03-08 22:07:13 +0000 |
commit | 2157576107d6e81c643e14e134b60b8ae519c256 (patch) | |
tree | 88ff770d321b4b2ef1ef1fcc0e17508ede6001bf /defs.h | |
parent | b7f653dc49dd4af29a3b7bdd66cd712bea166623 (diff) | |
download | xv6-labs-2157576107d6e81c643e14e134b60b8ae519c256.tar.gz xv6-labs-2157576107d6e81c643e14e134b60b8ae519c256.tar.bz2 xv6-labs-2157576107d6e81c643e14e134b60b8ae519c256.zip |
be consistent: no underscores in function names
Diffstat (limited to 'defs.h')
-rw-r--r-- | defs.h | 36 |
1 files changed, 18 insertions, 18 deletions
@@ -14,9 +14,9 @@ void brelse(struct buf*); void bwrite(struct buf*); // console.c -void console_init(void); +void consoleinit(void); void cprintf(char*, ...); -void console_intr(int(*)(void)); +void consoleintr(int(*)(void)); void panic(char*) __attribute__((noreturn)); // exec.c @@ -50,14 +50,14 @@ void stati(struct inode*, struct stat*); int writei(struct inode*, char*, uint, uint); // ide.c -void ide_init(void); -void ide_intr(void); -void ide_rw(struct buf *); +void ideinit(void); +void ideintr(void); +void iderw(struct buf *); // ioapic.c -void ioapic_enable(int irq, int cpu); -extern uchar ioapic_id; -void ioapic_init(void); +void ioapicenable(int irq, int cpu); +extern uchar ioapicid; +void ioapicinit(void); // kalloc.c char* kalloc(int); @@ -65,24 +65,24 @@ void kfree(char*, int); void kinit(void); // kbd.c -void kbd_intr(void); +void kbdintr(void); // lapic.c int cpu(void); extern volatile uint* lapic; -void lapic_eoi(void); -void lapic_init(int); -void lapic_startap(uchar, uint); +void lapiceoi(void); +void lapicinit(int); +void lapicstartap(uchar, uint); // mp.c extern int ismp; -int mp_bcpu(void); -void mp_init(void); -void mp_startthem(void); +int mpbcpu(void); +void mpinit(void); +void mpstartthem(void); // picirq.c -void pic_enable(int); -void pic_init(void); +void picenable(int); +void picinit(void); // pipe.c int pipealloc(struct file**, struct file**); @@ -136,7 +136,7 @@ int fetchstr(struct proc*, uint, char**); void syscall(void); // timer.c -void timer_init(void); +void timerinit(void); // trap.c void idtinit(void); |