Add qemu 2.4.0
[kvmfornfv.git] / qemu / roms / SLOF / clients / net-snk / app / biosemu / io.h
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 <stdint.h>
17
18 uint8_t my_inb(X86EMU_pioAddr addr);
19
20 uint16_t my_inw(X86EMU_pioAddr addr);
21
22 uint32_t my_inl(X86EMU_pioAddr addr);
23
24 void my_outb(X86EMU_pioAddr addr, uint8_t val);
25
26 void my_outw(X86EMU_pioAddr addr, uint16_t val);
27
28 void my_outl(X86EMU_pioAddr addr, uint32_t val);
29
30 #endif