28 |
* SUCH DAMAGE. |
* SUCH DAMAGE. |
29 |
* |
* |
30 |
* |
* |
31 |
* $Id: memory.h,v 1.50 2006/06/24 21:47:24 debug Exp $ |
* $Id: memory.h,v 1.51 2006/07/08 12:30:03 debug Exp $ |
32 |
* |
* |
33 |
* Memory controller related functions. |
* Memory controller related functions. |
34 |
*/ |
*/ |
136 |
struct memory *mem, uint64_t relative_addr, unsigned char *data, \ |
struct memory *mem, uint64_t relative_addr, unsigned char *data, \ |
137 |
size_t len, int writeflag, void *extra) |
size_t len, int writeflag, void *extra) |
138 |
|
|
139 |
|
void memory_device_update_data(struct memory *mem, void *extra, |
140 |
|
unsigned char *data); |
141 |
|
|
142 |
void memory_device_register(struct memory *mem, const char *, |
void memory_device_register(struct memory *mem, const char *, |
143 |
uint64_t baseaddr, uint64_t len, int (*f)(struct cpu *, |
uint64_t baseaddr, uint64_t len, int (*f)(struct cpu *, |
144 |
struct memory *,uint64_t,unsigned char *,size_t,int,void *), |
struct memory *,uint64_t,unsigned char *,size_t,int,void *), |