summaryrefslogtreecommitdiff
path: root/kernel/proc.c
diff options
context:
space:
mode:
authorAsami Doi <[email protected]>2020-03-20 12:33:32 +0900
committerAsami Doi <[email protected]>2020-03-20 12:33:32 +0900
commit8b052656a055c201235298b87424f64dd2e967ca (patch)
treeac9703e8d3283cdd603b23f532d598d169200011 /kernel/proc.c
parent9ead904afef8d060c2cc5cee6bd8e8d223de8c40 (diff)
downloadxv6-labs-8b052656a055c201235298b87424f64dd2e967ca.tar.gz
xv6-labs-8b052656a055c201235298b87424f64dd2e967ca.tar.bz2
xv6-labs-8b052656a055c201235298b87424f64dd2e967ca.zip
update initcode to avoid using the compressed extension
Diffstat (limited to 'kernel/proc.c')
-rw-r--r--kernel/proc.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/kernel/proc.c b/kernel/proc.c
index bbf3af0..f48f08f 100644
--- a/kernel/proc.c
+++ b/kernel/proc.c
@@ -183,13 +183,13 @@ proc_freepagetable(pagetable_t pagetable, uint64 sz)
// a user program that calls exec("/init")
// od -t xC initcode
uchar initcode[] = {
- 0x17, 0x05, 0x00, 0x00, 0x13, 0x05, 0x05, 0x02,
- 0x97, 0x05, 0x00, 0x00, 0x93, 0x85, 0x05, 0x02,
- 0x9d, 0x48, 0x73, 0x00, 0x00, 0x00, 0x89, 0x48,
- 0x73, 0x00, 0x00, 0x00, 0xef, 0xf0, 0xbf, 0xff,
- 0x2f, 0x69, 0x6e, 0x69, 0x74, 0x00, 0x00, 0x01,
- 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0x00
+ 0x17, 0x05, 0x00, 0x00, 0x13, 0x05, 0x45, 0x02,
+ 0x97, 0x05, 0x00, 0x00, 0x93, 0x85, 0x35, 0x02,
+ 0x93, 0x08, 0x70, 0x00, 0x73, 0x00, 0x00, 0x00,
+ 0x93, 0x08, 0x20, 0x00, 0x73, 0x00, 0x00, 0x00,
+ 0xef, 0xf0, 0x9f, 0xff, 0x2f, 0x69, 0x6e, 0x69,
+ 0x74, 0x00, 0x00, 0x24, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00
};
// Set up first user process.