diff options
author | Hyungwoo Yang <hyungwoo.yang@intel.com> | 2019-04-17 22:19:38 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2019-04-19 14:45:17 -0700 |
commit | a013f9eed6465569b99e96fe521c11b8c5f05e05 (patch) | |
tree | f747a683fca8d907f67e0887f1272ba7ead4523c /core/minute-ia/switch.S | |
parent | e7b1f511fde30b4ebb207ab7285e0ca103c49a03 (diff) | |
download | chrome-ec-a013f9eed6465569b99e96fe521c11b8c5f05e05.tar.gz |
ish: remove scan ISR registers IRQ handling
Currently we can LAPIC's ISR registers to find vector number but
it's already know to the IRQ handler.
BRANCH=none
BUG=none
TEST=Tested on Arcada platform
Change-Id: If6626eee0b2548eb26d15cf97b220403b6afcfdb
Signed-off-by: Hyungwoo Yang <hyungwoo.yang@intel.com>
Reviewed-on: https://chromium-review.googlesource.com/1573203
Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com>
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Diffstat (limited to 'core/minute-ia/switch.S')
-rw-r--r-- | core/minute-ia/switch.S | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/core/minute-ia/switch.S b/core/minute-ia/switch.S index 79adfef7bd..1fdcc61bb8 100644 --- a/core/minute-ia/switch.S +++ b/core/minute-ia/switch.S @@ -9,12 +9,6 @@ #include "registers.h" #include "task_defs.h" -#ifdef CONFIG_TASK_PROFILING -#define task_start_irq_handler_call call task_start_irq_handler -#else -#define task_start_irq_handler_call -#endif - .text .extern current_task @@ -101,9 +95,11 @@ __switchto: push %ecx push %edx - # We don't push anything on the stack for start irq since the - # parameter is unused. - task_start_irq_handler_call +#ifdef CONFIG_TASK_PROFILING + push $ISH_TS_VECTOR + call task_start_irq_handler + addl $0x4, %esp +#endif # Stack is already set up from previous pushes call switch_handler |