diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2003-04-17 12:15:52 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2003-04-17 12:15:52 +0000 |
commit | 514012e57089c294d50ed614166c0b57bd202da1 (patch) | |
tree | a62b267ed5bdfd92b79d590a485047f70c4e99dc /sys/arch/hppa/stand/boot | |
parent | b3a5c8ed10bf88729bd7fe091d198ea0823179a1 (diff) |
new boots
Diffstat (limited to 'sys/arch/hppa/stand/boot')
-rw-r--r-- | sys/arch/hppa/stand/boot/exec.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/sys/arch/hppa/stand/boot/exec.c b/sys/arch/hppa/stand/boot/exec.c index 10ce60d00b3..1c415b883cd 100644 --- a/sys/arch/hppa/stand/boot/exec.c +++ b/sys/arch/hppa/stand/boot/exec.c @@ -1,4 +1,4 @@ -/* $OpenBSD: exec.c,v 1.1 2002/10/24 19:27:15 mickey Exp $ */ +/* $OpenBSD: exec.c,v 1.2 2003/04/17 12:15:51 mickey Exp $ */ /* * Copyright (c) 2002 Michael Shalayeff @@ -42,16 +42,8 @@ typedef void (*startfuncp) __P((int, int, int, int, int, int, caddr_t)) __attribute__ ((noreturn)); void -exec(char *file, void *addr, int howto) +run_loadfile(u_long *marks, int howto) { - u_long marks[MARK_MAX]; - - marks[MARK_START] = (u_long)addr; - - if (loadfile(file, marks, LOAD_KERNEL)) - return; - - marks[MARK_END] = ALIGN(marks[MARK_END] - (u_long)addr); fcacheall(); __asm("mtctl %r0, %cr17"); |