aboutsummaryrefslogtreecommitdiff
path: root/sysproc.c
diff options
context:
space:
mode:
authorCody Cutler <ccutler@mat.lcs.mit.edu>2014-09-12 17:18:57 -0400
committerCody Cutler <ccutler@mat.lcs.mit.edu>2014-09-12 18:09:51 -0400
commitaae4e7490fbb61de13f61d90092b177eeb258216 (patch)
tree22cebdefb8bc72ed95d2c11759896023adf1da99 /sysproc.c
parent75dee1219ffee14f9cb3ec6bb739f06bae27de9c (diff)
downloadxv6-labs-2022-aae4e7490fbb61de13f61d90092b177eeb258216.tar.xz
xv6-labs-2022-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 'sysproc.c')
-rw-r--r--sysproc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysproc.c b/sysproc.c
index c66339e..027a5e5 100644
--- a/sysproc.c
+++ b/sysproc.c
@@ -1,6 +1,7 @@
#include "types.h"
#include "x86.h"
#include "defs.h"
+#include "date.h"
#include "param.h"
#include "memlayout.h"
#include "mmu.h"