diff options
author | Cody Cutler <[email protected]> | 2014-09-12 17:18:57 -0400 |
---|---|---|
committer | Cody Cutler <[email protected]> | 2014-09-12 18:09:51 -0400 |
commit | aae4e7490fbb61de13f61d90092b177eeb258216 (patch) | |
tree | 22cebdefb8bc72ed95d2c11759896023adf1da99 /defs.h | |
parent | 75dee1219ffee14f9cb3ec6bb739f06bae27de9c (diff) | |
download | xv6-labs-aae4e7490fbb61de13f61d90092b177eeb258216.tar.gz xv6-labs-aae4e7490fbb61de13f61d90092b177eeb258216.tar.bz2 xv6-labs-aae4e7490fbb61de13f61d90092b177eeb258216.zip |
cmosgetdate() for system-call homework
the day of reckoning has come for the debug port "Shutdown" hack.
instead of mucking with ACPI or using a new hack, the student will now write
sys_date() using the cmosgetdate() helper.
Diffstat (limited to 'defs.h')
-rw-r--r-- | defs.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -4,6 +4,7 @@ struct file; struct inode; struct pipe; struct proc; +struct rtcdate; struct spinlock; struct stat; struct superblock; @@ -71,6 +72,7 @@ void kinit2(void*, void*); void kbdintr(void); // lapic.c +void cmostime(struct rtcdate *r); int cpunum(void); extern volatile uint* lapic; void lapiceoi(void); |