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_MEM_H_ 14#define _BIOSEMU_MEM_H_ 15#include <x86emu/x86emu.h> 16#include <types.h> 17 18// read byte from memory 19u8 my_rdb(u32 addr); 20 21//read word from memory 22u16 my_rdw(u32 addr); 23 24//read long from memory 25u32 my_rdl(u32 addr); 26 27//write byte to memory 28void my_wrb(u32 addr, u8 val); 29 30//write word to memory 31void my_wrw(u32 addr, u16 val); 32 33//write long to memory 34void my_wrl(u32 addr, u32 val); 35 36#endif 37

