mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
drop io from bootstrap and exception stuff from non-bootstrap compiles.
git-svn-id: svn://coreboot.org/openbios/openbios-devel@28 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
@@ -796,9 +796,11 @@ static void herewrite(void)
|
||||
|
||||
static void emit(void)
|
||||
{
|
||||
cell tmp = POP();
|
||||
#ifndef FCOMPILER
|
||||
cell tmp = POP();
|
||||
putchar(tmp);
|
||||
#else
|
||||
(void) POP();
|
||||
#endif
|
||||
}
|
||||
|
||||
@@ -834,8 +836,13 @@ static void key(void)
|
||||
|
||||
static void iocfetch(void)
|
||||
{
|
||||
#ifndef FCOMPILER
|
||||
cell reg = POP();
|
||||
PUSH(inb(reg));
|
||||
#else
|
||||
(void)POP();
|
||||
PUSH(0);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
@@ -845,8 +852,13 @@ static void iocfetch(void)
|
||||
|
||||
static void iowfetch(void)
|
||||
{
|
||||
#ifndef FCOMPILER
|
||||
cell reg = POP();
|
||||
PUSH(inw(reg));
|
||||
#else
|
||||
(void)POP();
|
||||
PUSH(0);
|
||||
#endif
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -855,8 +867,13 @@ static void iowfetch(void)
|
||||
|
||||
static void iolfetch(void)
|
||||
{
|
||||
#ifndef FCOMPILER
|
||||
cell reg = POP();
|
||||
PUSH(inl(reg));
|
||||
#else
|
||||
(void)POP();
|
||||
PUSH(0);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
@@ -866,10 +883,15 @@ static void iolfetch(void)
|
||||
|
||||
static void iocstore(void)
|
||||
{
|
||||
#ifndef FCOMPILER
|
||||
cell reg = POP();
|
||||
cell val = POP();
|
||||
|
||||
outb(reg, val);
|
||||
#else
|
||||
(void)POP();
|
||||
(void)POP();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
@@ -879,10 +901,15 @@ static void iocstore(void)
|
||||
|
||||
static void iowstore(void)
|
||||
{
|
||||
#ifndef FCOMPILER
|
||||
cell reg = POP();
|
||||
cell val = POP();
|
||||
|
||||
outw(reg, val);
|
||||
#else
|
||||
(void)POP();
|
||||
(void)POP();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
@@ -892,10 +919,15 @@ static void iowstore(void)
|
||||
|
||||
static void iolstore(void)
|
||||
{
|
||||
#ifndef FCOMPILER
|
||||
ucell reg = POP();
|
||||
ucell val = POP();
|
||||
|
||||
outl(reg, val);
|
||||
#else
|
||||
(void)POP();
|
||||
(void)POP();
|
||||
#endif
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
@@ -179,7 +179,9 @@ static void call(void)
|
||||
static void sysdebug(void)
|
||||
{
|
||||
cell errorno=POP();
|
||||
#ifdef FCOMPILER
|
||||
exception(errorno);
|
||||
#endif
|
||||
}
|
||||
|
||||
static void dodoes(void)
|
||||
|
||||
Reference in New Issue
Block a user