diff options
author | Patrick Williams <iawillia@us.ibm.com> | 2011-08-11 00:17:29 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2011-08-16 08:11:55 -0500 |
commit | 82fa7a749fbd1d8f17891dbd97b17a3bdae36c53 (patch) | |
tree | 5e4857f1fc30e6b9506ac4973f597f17c8b16738 /src/kernel/vmmmgr.C | |
parent | ab9e15e2e44eb52d4d0aa3602498a62db0cc0c37 (diff) | |
download | talos-hostboot-82fa7a749fbd1d8f17891dbd97b17a3bdae36c53.tar.gz talos-hostboot-82fa7a749fbd1d8f17891dbd97b17a3bdae36c53.zip |
Implement Kernel->User-space message bridge.
Change-Id: Icf6fc9e10b1c39e981dddf180607b710c597112b
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/249
Tested-by: Jenkins Server
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/kernel/vmmmgr.C')
-rw-r--r-- | src/kernel/vmmmgr.C | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/kernel/vmmmgr.C b/src/kernel/vmmmgr.C index 46fca9fef..74c3178d0 100644 --- a/src/kernel/vmmmgr.C +++ b/src/kernel/vmmmgr.C @@ -111,3 +111,8 @@ int VmmManager::mmAllocBlock(MessageQueue* i_mq,void* i_va,uint64_t i_size) return BaseSegment::mmAllocBlock(i_mq,i_va,i_size); } +Spinlock* VmmManager::getLock() +{ + return &Singleton<VmmManager>::instance().lock; +} + |