diff options
author | Sicheng Liu <lsc2001@outlook.com> | 2024-03-30 08:41:49 +0000 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2024-04-09 16:06:44 +0100 |
commit | da4cfc3e540341b84c4bbad705b5a15865bc1f80 (patch) | |
tree | 3f10fbcbc2fed7d99d13b9b1956ad67dcef0d769 /guest | |
parent | d38c8f76ebe20c94329cb75aeb21eb061e975798 (diff) | |
download | kvmtool-master.tar.gz |
In e820_setup(), the memory region of MB_BIOS is [MB_BIOS_BEGIN, MB_BIOS_END],
so its memory size should be MB_BIOS_SIZE (= MB_BIOS_END - MB_BIOS_BEGIN + 1).
The same thing goes for BDA, EBDA, MB_BIOS and VGA_ROM in setup_bios().
By the way, a little change is made in setup_irq_handler() to avoid using
hard coding.
Signed-off-by: Sicheng Liu <lsc2001@outlook.com>
Link: https://lore.kernel.org/r/SY6P282MB373318D6241D56E074B040DFA3392@SY6P282MB3733.AUSP282.PROD.OUTLOOK.COM
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'guest')
0 files changed, 0 insertions, 0 deletions