projects
/
pintos-anon
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
e4b11e5
)
Add LOADER_CMD_LINE_LEN.
author
Ben Pfaff
<blp@cs.stanford.edu>
Tue, 31 Aug 2004 22:04:45 +0000
(22:04 +0000)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Tue, 31 Aug 2004 22:04:45 +0000
(22:04 +0000)
src/threads/loader.h
patch
|
blob
|
history
diff --git
a/src/threads/loader.h
b/src/threads/loader.h
index 6ae2856fc827651c3056baf9d639fba2e6b3f71d..9507a6b4ad4426fc0e8e1ce6f1337950cfd09927 100644
(file)
--- a/
src/threads/loader.h
+++ b/
src/threads/loader.h
@@
-18,8
+18,10
@@
#define LOADER_PHYS_BASE 0xc0000000 /* 3 GB. */
/* Offsets within the loader. */
#define LOADER_PHYS_BASE 0xc0000000 /* 3 GB. */
/* Offsets within the loader. */
-#define LOADER_BIOS_SIG (LOADER_END - 2) /* 0xaa55 BIOS signature. */
-#define LOADER_CMD_LINE (LOADER_BIOS_SIG - 0x80) /* Kernel command line. */
-#define LOADER_RAM_PAGES (LOADER_CMD_LINE - 4) /* # of pages of RAM. */
+#define LOADER_BIOS_SIG (LOADER_END - 2) /* 0xaa55 BIOS signature. */
+#define LOADER_CMD_LINE_LEN 0x80 /* Command line length. */
+#define LOADER_CMD_LINE (LOADER_BIOS_SIG - LOADER_CMD_LINE_LEN)
+ /* Kernel command line. */
+#define LOADER_RAM_PAGES (LOADER_CMD_LINE - 4) /* # of pages of RAM. */
#endif /* loader.h */
#endif /* loader.h */