Stefan Reinauer | 38cd29e | 2009-08-11 21:28:25 +0000 | [diff] [blame] | 1 | /****************************************************************************** |
| 2 | * Copyright (c) 2004, 2008 IBM Corporation |
| 3 | * All rights reserved. |
| 4 | * This program and the accompanying materials |
| 5 | * are made available under the terms of the BSD License |
| 6 | * which accompanies this distribution, and is available at |
| 7 | * http://www.opensource.org/licenses/bsd-license.php |
| 8 | * |
| 9 | * Contributors: |
| 10 | * IBM Corporation - initial implementation |
| 11 | *****************************************************************************/ |
| 12 | |
| 13 | #ifndef _BIOSEMU_IO_H_ |
| 14 | #define _BIOSEMU_IO_H_ |
| 15 | #include <x86emu/x86emu.h> |
| 16 | #include <types.h> |
| 17 | |
| 18 | u8 my_inb(X86EMU_pioAddr addr); |
| 19 | |
| 20 | u16 my_inw(X86EMU_pioAddr addr); |
| 21 | |
| 22 | u32 my_inl(X86EMU_pioAddr addr); |
| 23 | |
| 24 | void my_outb(X86EMU_pioAddr addr, u8 val); |
| 25 | |
| 26 | void my_outw(X86EMU_pioAddr addr, u16 val); |
| 27 | |
| 28 | void my_outl(X86EMU_pioAddr addr, u32 val); |
| 29 | |
| 30 | #endif |