blob: 6b2dcc4504a410a3681adacc735549ada93903fa [file] [log] [blame]
Stefan Reinauer38cd29e2009-08-11 21:28:25 +00001/******************************************************************************
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
18u8 my_inb(X86EMU_pioAddr addr);
19
20u16 my_inw(X86EMU_pioAddr addr);
21
22u32 my_inl(X86EMU_pioAddr addr);
23
24void my_outb(X86EMU_pioAddr addr, u8 val);
25
26void my_outw(X86EMU_pioAddr addr, u16 val);
27
28void my_outl(X86EMU_pioAddr addr, u32 val);
29
30#endif