]> Git Repo - qemu.git/commit - target/i386/helper.h
i386: split smm helper (sysemu)
authorClaudio Fontana <[email protected]>
Mon, 22 Mar 2021 13:27:47 +0000 (14:27 +0100)
committerPaolo Bonzini <[email protected]>
Mon, 10 May 2021 19:41:51 +0000 (15:41 -0400)
commita93b55ec223f07c7ca74a748e607db48cab945f6
tree8734e51556e42e6ac5df493aa03f0f31f6243f85
parent222f3e6f190c01c764be51ec7e9beb695cd11e1c
i386: split smm helper (sysemu)

smm is only really useful for sysemu, split in two modules
around the CONFIG_USER_ONLY, in order to remove the ifdef
and use the build system instead.

add cpu_abort() when detecting attempts to enter SMM mode via
SMI interrupt in user-mode, and assert that the cpu is not
in SMM mode while translating RSM instructions.

Signed-off-by: Claudio Fontana <[email protected]>
Cc: Paolo Bonzini <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Message-Id: <20210322132800[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
target/i386/helper.h
target/i386/tcg/meson.build
target/i386/tcg/seg_helper.c
target/i386/tcg/smm_helper.c [deleted file]
target/i386/tcg/sysemu/meson.build
target/i386/tcg/sysemu/smm_helper.c [new file with mode: 0644]
target/i386/tcg/translate.c
This page took 0.027775 seconds and 4 git commands to generate.