diff options
| author | Missy Connell <missyc@us.ibm.com> | 2012-10-29 13:55:23 -0500 |
|---|---|---|
| committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2012-11-09 08:51:25 -0600 |
| commit | 0db3db91302876adc4490b9c3c1ff10945b38044 (patch) | |
| tree | 3ec7d6bd4730420e7103bb0b6b326c01f295092d /src/kernel/syscall.C | |
| parent | ed66b035444144109e66283e4b97087b918c6b93 (diff) | |
| download | blackbird-hostboot-0db3db91302876adc4490b9c3c1ff10945b38044.tar.gz blackbird-hostboot-0db3db91302876adc4490b9c3c1ff10945b38044.zip | |
Terminate Immediate on a shutdown and assert
Change-Id: I37c8956afb11c69201f4936821cff5e153327780
RTC:43793
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2194
Tested-by: Jenkins Server
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/kernel/syscall.C')
| -rw-r--r-- | src/kernel/syscall.C | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/kernel/syscall.C b/src/kernel/syscall.C index 23239a8a3..6535e7c19 100644 --- a/src/kernel/syscall.C +++ b/src/kernel/syscall.C @@ -95,6 +95,7 @@ namespace Systemcalls void MmVirtToPhys(task_t *t); void MmExtend(task_t *t); void MmLinearMap(task_t *t); + void CritAssert(task_t *t); syscall syscalls[] = @@ -136,6 +137,8 @@ namespace Systemcalls &MmVirtToPhys, // MM_VIRT_TO_PHYS &MmExtend, // MM_EXTEND &MmLinearMap, // MM_LINEAR_MAP + &CritAssert, // MISC_CRITASSERT + }; }; @@ -822,5 +825,17 @@ namespace Systemcalls TASK_SETRTN(t, VmmManager::mmLinearMap(paddr,size)); } + /** + * Call Crit assert to perform the terminate Immediate + * @param[in] t: the task calling the critical assert + */ + void CritAssert(task_t* t) + { + uint64_t i_failAddr = (uint64_t)(TASK_GETARG0(t)); + + CpuManager::critAssert(i_failAddr); + } + + }; |

