Last change
on this file since 138 was
134,
checked in by rosiere, 15 years ago
|
1) valgrind fix
2) debug file on/off
|
-
Property svn:keywords set to
Id
|
File size:
490 bytes
|
Rev | Line | |
---|
[81] | 1 | #include "../include/Segment.h" |
---|
[134] | 2 | #include "../../Common/include/Debug.h" |
---|
[81] | 3 | |
---|
| 4 | namespace environment { |
---|
| 5 | namespace data { |
---|
| 6 | |
---|
| 7 | void Segment::read (uint32_t address, uint32_t size, char * & data_dest) |
---|
| 8 | { |
---|
[134] | 9 | // _cout(true," * kane\n"); |
---|
| 10 | // _cout(true," * address : %.8x\n",address); |
---|
[81] | 11 | for (uint32_t it = 0; it < size ; it ++) |
---|
[134] | 12 | { |
---|
| 13 | data_dest [it] = data[address-base+it]; |
---|
| 14 | // _cout(true," * [%d] : %.8x\n",address-base+it,static_cast<uint32_t>(data_dest [it])); |
---|
| 15 | } |
---|
[81] | 16 | } |
---|
| 17 | |
---|
| 18 | }; |
---|
| 19 | }; |
---|
Note: See
TracBrowser
for help on using the repository browser.