Skip to content

Commit

Permalink
Remove context switch in ppe program exception handler
Browse files Browse the repository at this point in the history
Change-Id: Iaed6207f1838e3a77fde9eeb945fc1fd1c5c0a91
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40485
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com>
Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
Reviewed-by: Soma Bhanutej <soma.bhanu@in.ibm.com>
Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40486
Reviewed-by: Hostboot Team <hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
  • Loading branch information
Shakeebbk authored and sgupta2m committed May 24, 2017
1 parent 507a229 commit eb7a976
Showing 1 changed file with 1 addition and 8 deletions.
Expand Up @@ -111,12 +111,8 @@ __alignment_exception:

.org __vectors + 0x00E0

### Program exceptions are utilized for emulating the system call
### instruction (0x44000002) which is used for doing context
### switches between threads. They can also be used by the code
### to signal an exception in an error scenario.
__program_exception:
_pk_ctx_push_as_needed program_exception_handler
_pk_panic PPE42_ILLEGAL_INSTRUCTION


############################################################
Expand Down Expand Up @@ -219,9 +215,6 @@ dec_handler:
bl __pk_timer_handler
b check_for_ext_interrupt

program_exception_handler:
_pk_panic PPE42_ILLEGAL_INSTRUCTION

.global __pk_next_thread_resume
__pk_next_thread_resume:

Expand Down

0 comments on commit eb7a976

Please sign in to comment.