From aae4e7490fbb61de13f61d90092b177eeb258216 Mon Sep 17 00:00:00 2001 From: Cody Cutler Date: Fri, 12 Sep 2014 17:18:57 -0400 Subject: 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. --- defs.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'defs.h') diff --git a/defs.h b/defs.h index 560b19a..43431e3 100644 --- a/defs.h +++ b/defs.h @@ -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); -- cgit v1.2.3