projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Basic disk detection stuff.
[pintos-anon]
/
src
/
threads
/
init.c
diff --git
a/src/threads/init.c
b/src/threads/init.c
index 6da714e124a125bf1fee5e7ec63f28cc96d04364..54a98d256236eb54fa2ba1a515949285b10d8085 100644
(file)
--- a/
src/threads/init.c
+++ b/
src/threads/init.c
@@
-18,6
+18,7
@@
#include "vga.h"
#ifdef FILESYS
#include "filesys.h"
+#include "disk.h"
#endif
/* Size of kernel static code and data, in 4 kB pages. */
@@
-32,6
+33,7
@@
void power_off (void);
static void
main_thread (void *aux UNUSED)
{
+ disk_init ();
thread_execute ("a.out");
}