Rename halt() -> rom_halt(), and declare it in romcall.h.
This commit is contained in:
parent
bf27601931
commit
c69f6fde96
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: romcall.h,v 1.1 1999/07/08 11:40:24 tsubai Exp $ */
|
||||
/* $NetBSD: romcall.h,v 1.2 2002/04/13 02:43:43 tsutsui Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (C) 1999 Tsubai Masanari. All rights reserved.
|
||||
|
@ -50,6 +50,7 @@
|
|||
#define BOOTDEV_ST 6 /* SCSI TAPE */
|
||||
|
||||
#ifndef _LOCORE
|
||||
int rom_halt(void);
|
||||
int rom_open(const char * ,int);
|
||||
int rom_close(int);
|
||||
int rom_read(int, void *, int);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: boot.c,v 1.6 2002/01/16 16:10:32 tsutsui Exp $ */
|
||||
/* $NetBSD: boot.c,v 1.7 2002/04/13 02:43:44 tsutsui Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (C) 1999 Tsubai Masanari. All rights reserved.
|
||||
|
@ -207,15 +207,13 @@ putchar(x)
|
|||
rom_write(1, &c, 1);
|
||||
}
|
||||
|
||||
void halt __P((void));
|
||||
|
||||
void
|
||||
_rtt()
|
||||
{
|
||||
if (apbus)
|
||||
apcall_exit(8);
|
||||
else
|
||||
halt();
|
||||
rom_halt();
|
||||
|
||||
for (;;);
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: romcalls.S,v 1.2 1999/12/17 07:33:20 tsubai Exp $ */
|
||||
/* $NetBSD: romcalls.S,v 1.3 2002/04/13 02:43:44 tsutsui Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (C) 1999 Tsubai Masanari. All rights reserved.
|
||||
|
@ -34,8 +34,8 @@
|
|||
.align 2
|
||||
.set noreorder
|
||||
|
||||
.globl halt
|
||||
halt:
|
||||
.globl rom_halt
|
||||
rom_halt:
|
||||
addu sp, sp, -16
|
||||
li a0, 8 # RB_HALT
|
||||
sw a0, 0(sp)
|
||||
|
|
Loading…
Reference in New Issue