Last change
on this file since 106 was
81,
checked in by rosiere, 16 years ago
|
- Finish Environment (and test)
- Continue predictor_unit
- Add external tools
- svn keyword "Id" set
|
-
Property svn:keywords set to
Id
|
File size:
430 bytes
|
Line | |
---|
1 | #include "../include/Data.h" |
---|
2 | |
---|
3 | namespace environment { |
---|
4 | namespace data { |
---|
5 | |
---|
6 | bool Data::write (uint32_t address, uint32_t size, char * & data_src) |
---|
7 | { |
---|
8 | uint32_t num_seg = 0; |
---|
9 | bool res = false; |
---|
10 | for (num_seg = 0; num_seg < nb_seg; num_seg ++) |
---|
11 | if (segment[num_seg]->test (address,size) == true) |
---|
12 | { |
---|
13 | segment[num_seg]->write (address,size,data_src); |
---|
14 | res = true; |
---|
15 | break; |
---|
16 | } |
---|
17 | |
---|
18 | return res; |
---|
19 | } |
---|
20 | |
---|
21 | }; |
---|
22 | }; |
---|
Note: See
TracBrowser
for help on using the repository browser.