aboutsummaryrefslogtreecommitdiff
path: root/pk/minit.c
diff options
context:
space:
mode:
authorAndrew Waterman <waterman@cs.berkeley.edu>2015-07-23 15:31:25 -0700
committerAndrew Waterman <waterman@cs.berkeley.edu>2015-07-23 15:31:25 -0700
commit39f189549b5703a94c1049bfce23f416eede3c07 (patch)
tree965a0d8ce8ae677b673c5ef307f251c4d0b5b3d4 /pk/minit.c
parent41e85e084acea757cc7e32b6aef47e4563b47717 (diff)
downloadpk-39f189549b5703a94c1049bfce23f416eede3c07.zip
pk-39f189549b5703a94c1049bfce23f416eede3c07.tar.gz
pk-39f189549b5703a94c1049bfce23f416eede3c07.tar.bz2
Avoid stack overflow with -msoft-float
Diffstat (limited to 'pk/minit.c')
-rw-r--r--pk/minit.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/pk/minit.c b/pk/minit.c
index b8a0b48..b22565d 100644
--- a/pk/minit.c
+++ b/pk/minit.c
@@ -67,7 +67,8 @@ static void init_first_hart()
memory_init();
vm_init();
- boot_loader(args);
+ load_program(args);
+ run_loaded_program(args);
}
static void init_other_hart()