author | Jan Kiszka <jan.kiszka@siemens.com> | |
Wed, 15 May 2019 08:55:56 +0000 (10:55 +0200) | ||
committer | Jan Kiszka <jan.kiszka@siemens.com> | |
Wed, 15 May 2019 09:35:48 +0000 (11:35 +0200) | ||
commit | bc75ae95de6346013d320dc85708aa737457de84 | |
tree | 88b405d3b962f157550b399c92db1ca3c30013fb | tree | snapshot (tar.xz tar.gz zip) |
parent | cc7c3b6c5b2473f4fc09d61f218a8bf00b43a887 | commit | diff |
inmates: x86: Refactor interrupt handler
This removes one call level by directly dispatching the target handler
from the assembly entry and also doing the EOI from there - micro
optimization.
Also limit the supported interrupt range to 32..63 so that exception
handling can be established for the first 32 vectors. This effectively
removes the possibility to set an NMI handler, but those are not
supported by Jailhouse so far anyway.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
This removes one call level by directly dispatching the target handler
from the assembly entry and also doing the EOI from there - micro
optimization.
Also limit the supported interrupt range to 32..63 so that exception
handling can be established for the first 32 vectors. This effectively
removes the possibility to set an NMI handler, but those are not
supported by Jailhouse so far anyway.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
inmates/lib/x86/int.c | diff | blob | history |