diff options
author | Doug Gilbert <dgilbert@us.ibm.com> | 2012-03-30 16:47:53 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2012-05-16 11:56:48 -0500 |
commit | f4f33e68921d3fffdac8c848979659a6dce552ce (patch) | |
tree | d8c29878f65c5873a2eaaa1f6c7830a7686c5806 /src/include/kernel | |
parent | bb809cc17398ed47d5ab40c9ffb97f95c5d8779f (diff) | |
download | talos-hostboot-f4f33e68921d3fffdac8c848979659a6dce552ce.tar.gz talos-hostboot-f4f33e68921d3fffdac8c848979659a6dce552ce.zip |
Mailbox DMA buffer capabilities
RTC:34032
Change-Id: Ib1e29210ffc183f9c3bd475ab8d9779b5a448909
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/932
Tested-by: Jenkins Server
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/kernel')
-rw-r--r-- | src/include/kernel/pagemgr.H | 2 | ||||
-rw-r--r-- | src/include/kernel/vmmmgr.H | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/include/kernel/pagemgr.H b/src/include/kernel/pagemgr.H index aec4470d2..e0d2aa1fa 100644 --- a/src/include/kernel/pagemgr.H +++ b/src/include/kernel/pagemgr.H @@ -66,7 +66,7 @@ class PageManager enum { - MEMLEN = VmmManager::HTABORG, + MEMLEN = VmmManager::MBOX_DMA_ADDR, BUCKETS = 16, }; diff --git a/src/include/kernel/vmmmgr.H b/src/include/kernel/vmmmgr.H index 7a1fd6f7b..8a8fb6103 100644 --- a/src/include/kernel/vmmmgr.H +++ b/src/include/kernel/vmmmgr.H @@ -44,6 +44,11 @@ class VmmManager // put the Page Table at the end of our memory space PTSIZE = (1 << 18), HTABORG = (FULL_MEM_SIZE - PTSIZE), + + // Put the DMA Pages just under the Page Table + MBOX_DMA_PAGES = 64, // must be <= 64 + MBOX_DMA_PAGESIZE = (1 * KILOBYTE), + MBOX_DMA_ADDR = (HTABORG - (MBOX_DMA_PAGES * MBOX_DMA_PAGESIZE)) }; enum castout_t |