summaryrefslogtreecommitdiff
path: root/kernel/proc.c
diff options
context:
space:
mode:
authorRobert Morris <[email protected]>2020-08-13 08:05:13 -0400
committerRobert Morris <[email protected]>2020-08-13 08:05:13 -0400
commite1a2cd59faf0cf7a3b315cefff11d68b68ec54a7 (patch)
tree79bc9fa5898946b04e61b3366003b117bf6773c2 /kernel/proc.c
parentd32eac366fd06ec58cc3b34a3ca1824864bd7618 (diff)
parent315c37c0f1e7c05f7b7d0ec145a2002b0612c49c (diff)
downloadxv6-labs-e1a2cd59faf0cf7a3b315cefff11d68b68ec54a7.tar.gz
xv6-labs-e1a2cd59faf0cf7a3b315cefff11d68b68ec54a7.tar.bz2
xv6-labs-e1a2cd59faf0cf7a3b315cefff11d68b68ec54a7.zip
Merge branch 'riscv' of g.csail.mit.edu:xv6-dev into riscv
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 cf7f260..417e30a 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.