commit | db3fa50916cec769f7956af6cadf9f7cfac44bcf | [log] [tgz] |
---|---|---|
author | Enjia Mai <enjiax.mai@intel.com> | Fri May 21 09:55:09 2021 +0800 |
committer | Anas Nashif <anas.nashif@intel.com> | Tue Jan 18 13:24:28 2022 -0500 |
tree | 96b81223794177d4f949dff17258de295af8e636 | |
parent | 993cb4cd6241deb9002d90049b96ecc97f05be09 [diff] |
testsuite: utils: use IPI instead of int instruction for testing on x86 For x86, make the testing purpose trigger_irq() function to send interrupt processor interrupt to CPU by APIC, instead of executing INT instruction. Doing this because: 1. It can be controlled by irq lock, more close to trigger irq. 2. We don't need to hardcode the interrupt vector. Signed-off-by: Enjia Mai <enjiax.mai@intel.com>