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:
Stefan Reinauer
2006-05-22 22:36:01 +00:00
parent 9283d9ebc8
commit 2eaec36c50
10 changed files with 39 additions and 85 deletions

View File

@@ -46,25 +46,6 @@ static inline void ins##bwl(int port, void *addr, unsigned long count) { \
BUILDIO(b,b,char)
BUILDIO(w,w,short)
BUILDIO(l,,int)
#else
#ifdef FCOMPILER
#define inb(reg) ((u8)0xff)
#define inw(reg) ((u16)0xffff)
#define inl(reg) ((u32)0xffffffff)
// #define insw( u32 reg, void *addr, unsigned long count );
#define outb(reg, val) // nothing
#define outw(reg, val) // nothing
#define outl(reg, val) // nothing
// #define outsw( u32 reg, const void *addr, unsigned long count);
#else
extern u8 inb( u32 reg );
extern u16 inw( u32 reg );
extern u32 inl( u32 reg );
extern void insw( u32 reg, void *addr, unsigned long count );
extern void outb( u32 reg, u8 val );
extern void outw( u32 reg, u16 val );
extern void outl( u32 reg, u32 val );
extern void outsw( u32 reg, const void *addr, unsigned long count);
#endif
#endif
#endif