diff options
Diffstat (limited to 'src/usr/mbox')
| -rw-r--r-- | src/usr/mbox/mailboxsp.C | 4 | ||||
| -rw-r--r-- | src/usr/mbox/mbox_dma_buffer.H | 8 | ||||
| -rw-r--r-- | src/usr/mbox/mboxdd.C | 10 |
3 files changed, 12 insertions, 10 deletions
diff --git a/src/usr/mbox/mailboxsp.C b/src/usr/mbox/mailboxsp.C index bb7b01513..1d1a3895d 100644 --- a/src/usr/mbox/mailboxsp.C +++ b/src/usr/mbox/mailboxsp.C @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2012,2014 */ +/* Contributors Listed Below - COPYRIGHT 2012,2015 */ /* [+] Google Inc. */ /* [+] International Business Machines Corp. */ /* */ @@ -844,7 +844,7 @@ void MailboxSp::recv_msg(mbox_msg_t & i_mbox_msg) else //sync message from FSP { // Need to save queue_id and msg_id and msg ptr - // for reponse + // for response msg_respond_t * response = new msg_respond_t(msg); response->msg_id = i_mbox_msg.msg_id; response->msg_queue_id = i_mbox_msg.msg_queue_id; diff --git a/src/usr/mbox/mbox_dma_buffer.H b/src/usr/mbox/mbox_dma_buffer.H index 90d38f60b..193ee34c8 100644 --- a/src/usr/mbox/mbox_dma_buffer.H +++ b/src/usr/mbox/mbox_dma_buffer.H @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 2012,2014 */ +/* Contributors Listed Below - COPYRIGHT 2012,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. */ @@ -48,7 +50,7 @@ namespace MBOX * @param[in/out] io_size, size in bytes of space needed, * 0 means get all available buffers * bit map is returned showing blocks - * aquired. + * acquired. * * @note: There are 64 total buffers in the shared DMA pool. The * bit map has one bit for each buffer. The bit map returned will @@ -180,7 +182,7 @@ namespace MBOX void * iv_head; //!< Start of DMA memory uint64_t iv_phys_head; //!< Physical translation of iv_head uint64_t iv_dir; //!< 1 bit per 1k buffer, 1 = available - bool iv_dma_req_sent; //!< Reqest sent to retrieve all buffers + bool iv_dma_req_sent; //!< Request sent to retrieve all buffers }; }; // namespace diff --git a/src/usr/mbox/mboxdd.C b/src/usr/mbox/mboxdd.C index 63bca0ffd..c5c19df99 100644 --- a/src/usr/mbox/mboxdd.C +++ b/src/usr/mbox/mboxdd.C @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2012,2014 */ +/* Contributors Listed Below - COPYRIGHT 2012,2015 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -278,7 +278,7 @@ errlHndl_t mboxRead(TARGETING::Target* i_target,void *o_buffer, // For the read we extract the data from the MBOX data registers. // MBOX_DATA_LBUS_START = 0x00050080 and the end address is // MBOX_DATA_LBUS_END = 0x0005008F - // each address inbetween increments by 1. + // each address between increments by 1. //Loop through the mbox registers until all the data to be read has // been extracted from the mbox registers. @@ -394,7 +394,7 @@ errlHndl_t mboxWrite(TARGETING::Target* i_target,void* i_buffer, l_err->collectTrace(MBOX_TRACE_NAME,1024); - // Set the i_buflen to 0 to indicate no write occured + // Set the i_buflen to 0 to indicate no write occurred i_buflen = 0; break; @@ -451,7 +451,7 @@ errlHndl_t mboxWrite(TARGETING::Target* i_target,void* i_buffer, // For the write we put the data into the MBOX data registers. // MBOX_DATA_PIB_START = 0x00050040 and the end address is // MBOX_DATA_PIB_END = 0x0005004F - // each address inbetween increments by 1. + // each address between increments by 1. //Write Data registers. Start at the first and increment through //the registers until all the data has been written. @@ -527,7 +527,7 @@ errlHndl_t mboxWrite(TARGETING::Target* i_target,void* i_buffer, reinterpret_cast<uint64_t>(l_64bitBuf), true /*Add HB Software Callout*/); - // Set the i_buflen to 0 to indicate no write occured + // Set the i_buflen to 0 to indicate no write occurred i_buflen = 0; l_err->collectTrace(MBOX_TRACE_NAME,1024); break; |

