OSDN Git Service

[VM][WIP] Use namespace to devices per VMs.
[csp-qt/common_source_project-fm7.git] / source / src / vm / j3100 / memory.cpp
index b932f02..0272f73 100644 (file)
@@ -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);
 }
 
+}