Clean up.

- B_KEYINP is no longer called from C.
- B_COLOR is no longer used.
This commit is contained in:
isaki 2020-01-14 04:00:41 +00:00
parent c8bf7b37b2
commit aee2dc9e7e
2 changed files with 2 additions and 8 deletions

View File

@ -2,7 +2,7 @@
| author: chapuni(webmaster@chapuni.com)
| ITOH Yasufumi
|
| $NetBSD: boot.S,v 1.11 2020/01/13 03:34:05 isaki Exp $
| $NetBSD: boot.S,v 1.12 2020/01/14 04:00:41 isaki Exp $
#include <machine/asm.h>
#include "iocscall.h"
@ -451,10 +451,6 @@ raw_read_end:
read_half: BOOT_ERROR("read half of block")
ENTRY_NOPROFILE(B_KEYINP)
IOCS(__B_KEYINP)
rts
ENTRY_NOPROFILE(B_PUTC)
movel %sp@(4),%d1
IOCS(__B_PUTC)

View File

@ -1,4 +1,4 @@
/* $NetBSD: boot_ufs.h,v 1.5 2009/03/14 14:46:07 dsl Exp $ */
/* $NetBSD: boot_ufs.h,v 1.6 2020/01/14 04:00:41 isaki Exp $ */
/***************************************************************
*
@ -14,10 +14,8 @@ int badbaddr(volatile void *adr);
#ifdef SCSI_ADHOC_BOOTPART
void RAW_READ0(void *buf, u_int32_t blkpos, size_t bytelen);
#endif
unsigned B_KEYINP(void);
void B_PUTC(unsigned int c);
void B_PRINT(const char *p);
unsigned B_COLOR(unsigned int w);
extern unsigned ID; /* target SCSI ID */
extern unsigned BOOT_INFO; /* result of IOCS(__BOOTINF) */