summaryrefslogtreecommitdiffstats
path: root/src/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel')
-rw-r--r--src/kernel/intmsghandler.C5
-rw-r--r--src/kernel/ptmgr.C12
2 files changed, 9 insertions, 8 deletions
diff --git a/src/kernel/intmsghandler.C b/src/kernel/intmsghandler.C
index 538d322ae..0a6e87b0d 100644
--- a/src/kernel/intmsghandler.C
+++ b/src/kernel/intmsghandler.C
@@ -100,8 +100,9 @@ void InterruptMsgHdlr::handleInterrupt()
if(cv_instance)
{
cv_instance->sendMessage(MSG_INTR_EXTERN,
- (void *)pir,
- (void *)xirr,
+ reinterpret_cast<void*>(pir),
+ reinterpret_cast<void*>(
+ static_cast<uint64_t>(xirr)),
NULL);
}
}
diff --git a/src/kernel/ptmgr.C b/src/kernel/ptmgr.C
index 35f55873a..bb1380b4d 100644
--- a/src/kernel/ptmgr.C
+++ b/src/kernel/ptmgr.C
@@ -5,7 +5,7 @@
/* */
/* IBM CONFIDENTIAL */
/* */
-/* COPYRIGHT International Business Machines Corp. 2011,2012 */
+/* COPYRIGHT International Business Machines Corp. 2011,2013 */
/* */
/* p1 */
/* */
@@ -44,7 +44,7 @@
* @param[in] i_lastbit Bit to stop extraction on, inclusive
* @return uint64_t Right-justified data
*/
-ALWAYS_INLINE static
+ALWAYS_INLINE static inline
uint64_t EXTRACT_RJ( uint64_t i_var64,
uint64_t i_startbit,
uint64_t i_lastbit )
@@ -63,7 +63,7 @@ uint64_t EXTRACT_RJ( uint64_t i_var64,
* @return uint64_t Left-justified data
*/
/*
-ALWAYS_INLINE static
+ALWAYS_INLINE static inline
uint64_t EXTRACT_LJ( uint64_t var64,
uint64_t i_startbit,
uint64_t i_lastbit )
@@ -91,7 +91,7 @@ uint64_t EXTRACT_LJ( uint64_t var64,
* original bit length
* @return uint64_t Left-justified data
*/
-ALWAYS_INLINE static
+ALWAYS_INLINE static inline
uint64_t EXTRACT_RJ_LEN( uint64_t i_lastword,
uint64_t i_bitlen,
uint64_t i_startbit,
@@ -159,7 +159,7 @@ uint64_t EXTRACT_RJ_LEN( uint64_t i_lastword,
* @return uint64_t Left-justified data
*/
/*
-ALWAYS_INLINE static
+ALWAYS_INLINE static inline
uint64_t EXTRACT_LJ_LEN( uint64_t i_lastword,
uint64_t i_bitlen,
uint64_t i_startbit,
@@ -973,7 +973,7 @@ uint64_t PageTableManager::getAccessType( const PageTableEntry* i_pte )
/**
* @brief Fill in default values for the PTE
*/
-ALWAYS_INLINE
+ALWAYS_INLINE inline
void PageTableManager::setupDefaultPTE( PageTableEntry* o_pte )
{
o_pte->B = 0b01; //Segment Size (01=1TB)
OpenPOWER on IntegriCloud