This commit was generated by cvs2svn to track changes on a CVS vendor
[deliverable/binutils-gdb.git] / sim / ppc / hw_com.c
CommitLineData
d4d3c7ad
MM
1static unsigned
2hw_com_io_write_buffer_callback(device *me,
3 const void *source,
4 int space,
5 unsigned_word addr,
6 unsigned nr_bytes,
7 cpu *processor,
8 unsigned_word cia)
9{
10 hw_com_device *hw_com = (hw_com_device*)device_data(me);
11 unsigned_1 val = *(unsigned_1*)source;
12
13 switch ((int)addr & hw_com_offset_mask) {
14
15 default:
16 error("hw_com_write_callback() internal error\n");
17
18 }
19
20 return nr_bytes;
21}
22
23#endif /* _HW_COM_ */
This page took 0.100782 seconds and 4 git commands to generate.