diff options
Diffstat (limited to 'src/kernel')
-rw-r--r-- | src/kernel/blockmsghdlr.C | 6 | ||||
-rw-r--r-- | src/kernel/exception.C | 8 | ||||
-rw-r--r-- | src/kernel/heapmgr.C | 8 | ||||
-rw-r--r-- | src/kernel/pagemgr.C | 6 | ||||
-rw-r--r-- | src/kernel/ptmgr.C | 6 | ||||
-rw-r--r-- | src/kernel/syscall.C | 8 |
6 files changed, 27 insertions, 15 deletions
diff --git a/src/kernel/blockmsghdlr.C b/src/kernel/blockmsghdlr.C index 68a694fa9..c5ddfd02c 100644 --- a/src/kernel/blockmsghdlr.C +++ b/src/kernel/blockmsghdlr.C @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 2011,2014 */ +/* Contributors Listed Below - COPYRIGHT 2011,2015 */ +/* [+] International Business Machines Corp. */ +/* */ /* */ /* Licensed under the Apache License, Version 2.0 (the "License"); */ /* you may not use this file except in compliance with the License. */ @@ -65,7 +67,7 @@ MessageHandler::HandleResult BlockWriteMsgHdlr::handleResponse( iv_va2paList.erase(l_paNode); delete l_paNode; } - //Not handling a reponse from kernel + //Not handling a response from kernel if (i_task != NULL) { //Find the task's msg count to know how many messages were sent diff --git a/src/kernel/exception.C b/src/kernel/exception.C index aff600225..1ac76c09a 100644 --- a/src/kernel/exception.C +++ b/src/kernel/exception.C @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 2010,2014 */ +/* Contributors Listed Below - COPYRIGHT 2010,2015 */ +/* [+] International Business Machines Corp. */ +/* */ /* */ /* Licensed under the Apache License, Version 2.0 (the "License"); */ /* you may not use this file except in compliance with the License. */ @@ -181,7 +183,7 @@ namespace ExceptionHandles // Check for 'nap' and skip over. This avoids a task-crash // if for some reason we entered back into the task without - // priviledge raised. + // privilege raised. if (*instruction == 0x4c000364) { printk("Error: Nap executed with lowered permissions on %d\n", @@ -199,7 +201,7 @@ namespace ExceptionHandles { // check to make sure previous instruction was a branch - // if not, then we don't want to handle ths exception + // if not, then we don't want to handle this exception uint32_t* previous_instr = (reinterpret_cast<uint32_t*>(phys_addr)) - 1; if ( (*previous_instr & EXCEPTION_BRANCH_INSTR_MASK) diff --git a/src/kernel/heapmgr.C b/src/kernel/heapmgr.C index 677e5923a..e27eb2bb1 100644 --- a/src/kernel/heapmgr.C +++ b/src/kernel/heapmgr.C @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 2010,2014 */ +/* Contributors Listed Below - COPYRIGHT 2010,2015 */ +/* [+] International Business Machines Corp. */ +/* */ /* */ /* Licensed under the Apache License, Version 2.0 (the "License"); */ /* you may not use this file except in compliance with the License. */ @@ -145,7 +147,7 @@ void* HeapManager::_realloc(void* i_ptr, size_t i_sz) void* HeapManager::_reallocBig(void* i_ptr, size_t i_sz) { - // Currently all large allocations fall on a page boundry, + // Currently all large allocations fall on a page boundary, // but small allocatoins never do if(ALIGN_PAGE(reinterpret_cast<uint64_t>(i_ptr)) != reinterpret_cast<uint64_t>(i_ptr)) @@ -550,7 +552,7 @@ void* HeapManager::_allocateBig(size_t i_sz) bool HeapManager::_freeBig(void* i_ptr) { - // Currently all large allocations fall on a page boundry, + // Currently all large allocations fall on a page boundary, // but small allocations never do if(ALIGN_PAGE(reinterpret_cast<uint64_t>(i_ptr)) != reinterpret_cast<uint64_t>(i_ptr)) diff --git a/src/kernel/pagemgr.C b/src/kernel/pagemgr.C index 0875e022f..c6a65dd92 100644 --- a/src/kernel/pagemgr.C +++ b/src/kernel/pagemgr.C @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 2010,2014 */ +/* Contributors Listed Below - COPYRIGHT 2010,2015 */ +/* [+] International Business Machines Corp. */ +/* */ /* */ /* Licensed under the Apache License, Version 2.0 (the "License"); */ /* you may not use this file except in compliance with the License. */ @@ -302,7 +304,7 @@ void* PageManager::_allocatePage(size_t n, bool userspace) // no chunks available and claimed we were out of memory. // // Simple solution is to just put a lock around the page allocation. All - // calls to this function are guarenteed, by PageManager::allocatePage, to + // calls to this function are guaranteed, by PageManager::allocatePage, to // be from kernel space so we cannot run into any dead lock situations by // using a spinlock here. // diff --git a/src/kernel/ptmgr.C b/src/kernel/ptmgr.C index f1932d54d..98d32035e 100644 --- a/src/kernel/ptmgr.C +++ b/src/kernel/ptmgr.C @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 2011,2014 */ +/* Contributors Listed Below - COPYRIGHT 2011,2015 */ +/* [+] International Business Machines Corp. */ +/* */ /* */ /* Licensed under the Apache License, Version 2.0 (the "License"); */ /* you may not use this file except in compliance with the License. */ @@ -1092,7 +1094,7 @@ void PageTableManager::updateLRUEntry( PageTableEntry* i_PTE ) pte.LRU++; } - // Update the sofware bits of the PTE. + // Update the software bits of the PTE. // The ISA suggests we need to do a ldarx/stdcx combination // here, but this isn't required because we have a spinlock // around the page table as a whole. No other thread will diff --git a/src/kernel/syscall.C b/src/kernel/syscall.C index 461e533b7..7830f7757 100644 --- a/src/kernel/syscall.C +++ b/src/kernel/syscall.C @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 2010,2014 */ +/* Contributors Listed Below - COPYRIGHT 2010,2015 */ +/* [+] International Business Machines Corp. */ +/* */ /* */ /* Licensed under the Apache License, Version 2.0 (the "License"); */ /* you may not use this file except in compliance with the License. */ @@ -702,7 +704,7 @@ namespace Systemcalls }; /** - * Allow a task to request priviledge escalation to execute the 'nap' + * Allow a task to request privilege escalation to execute the 'nap' * instruction. * * Verifies the instruction to execute is, in fact, nap and then sets @@ -713,7 +715,7 @@ namespace Systemcalls * SRESET exception with flags in srr1 to indication that the * decrementer caused the wake-up. The kernel will then need to * advance the task to the instruction after the nap and remove - * priviledge escalation. + * privilege escalation. * */ void CpuNap(task_t *t) |