From 514012e57089c294d50ed614166c0b57bd202da1 Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Thu, 17 Apr 2003 12:15:52 +0000 Subject: new boots --- sys/arch/hppa/stand/boot/exec.c | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'sys/arch/hppa/stand/boot') 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"); -- cgit v1.2.3