1 /******************************************************************************
2 * Copyright (c) 2004, 2008 IBM Corporation
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
10 * IBM Corporation - initial implementation
11 *****************************************************************************/
13 #ifndef _BIOSEMU_MEM_H_
14 #define _BIOSEMU_MEM_H_
15 #include <x86emu/x86emu.h>
18 // read byte from memory
21 //read word from memory
24 //read long from memory
27 //write byte to memory
28 void my_wrb(u32 addr, u8 val);
30 //write word to memory
31 void my_wrw(u32 addr, u16 val);
33 //write long to memory
34 void my_wrl(u32 addr, u32 val);