OSDN Git Service
(root)
/
csp-qt
/
common_source_project-fm7.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[VM][WIP] Use namespace to devices per VMs.
[csp-qt/common_source_project-fm7.git]
/
source
/
src
/
vm
/
j3100
/
memory.cpp
diff --git
a/source/src/vm/j3100/memory.cpp
b/source/src/vm/j3100/memory.cpp
index
b932f02
..
0272f73
100644
(file)
--- a/
source/src/vm/j3100/memory.cpp
+++ b/
source/src/vm/j3100/memory.cpp
@@
-9,6
+9,8
@@
#include "memory.h"
+namespace J3100 {
+
#define SET_BANK(s, e, w, r) { \
int sb = (s) >> 11, eb = (e) >> 11; \
for(int i = sb; i <= eb; i++) { \
@@
-143,3
+145,4
@@
void MEMORY::update_ems(int page)
SET_BANK(start_addr, end_addr, wdmy, rdmy);
}
+}