diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/import/chips/p9/utils/imageProcs/p9_tor.C | 4 | ||||
-rw-r--r-- | src/import/chips/p9/utils/imageProcs/p9_tor.H | 5 | ||||
-rw-r--r-- | src/import/tools/imageProcs/p9_ipl_build.C | 2 |
3 files changed, 10 insertions, 1 deletions
diff --git a/src/import/chips/p9/utils/imageProcs/p9_tor.C b/src/import/chips/p9/utils/imageProcs/p9_tor.C index fc2002a3..4e9353de 100644 --- a/src/import/chips/p9/utils/imageProcs/p9_tor.C +++ b/src/import/chips/p9/utils/imageProcs/p9_tor.C @@ -40,6 +40,9 @@ #include "p9_tor.H" #include "p9_xip_image.h" +namespace P9_TOR +{ + // // PPE type names: // These strings must adhere precisely to the enum of PpeType. @@ -1815,3 +1818,4 @@ int tor_get_block_of_rings ( void* i_ringSectionPt, return rc; } +}; diff --git a/src/import/chips/p9/utils/imageProcs/p9_tor.H b/src/import/chips/p9/utils/imageProcs/p9_tor.H index 83cbaa14..5c3bde16 100644 --- a/src/import/chips/p9/utils/imageProcs/p9_tor.H +++ b/src/import/chips/p9/utils/imageProcs/p9_tor.H @@ -29,6 +29,9 @@ #include "p9_ringId.H" #include "p9_infrastruct_help.H" +namespace P9_TOR +{ + #define NUM_RING_IDS P9_NUM_RINGS typedef struct @@ -258,6 +261,6 @@ int tor_get_block_of_rings ( void* void** io_ringBlockPtr, // Addr of ring buffer uint32_t& io_ringBlockSize // size of ring data ); - +}; #endif //_P9_TOR_H_ diff --git a/src/import/tools/imageProcs/p9_ipl_build.C b/src/import/tools/imageProcs/p9_ipl_build.C index e69ab6b6..3e372476 100644 --- a/src/import/tools/imageProcs/p9_ipl_build.C +++ b/src/import/tools/imageProcs/p9_ipl_build.C @@ -52,6 +52,8 @@ #include <p9_xip_image.h> #include <p9_tor.H> +using namespace P9_TOR; + // prefix of our debug file name const char* CHIP_TYPE = "p9_"; |