vmm: acpi: Make GED interrupt edge triggered

This was causing issues when the kernel was trying to reset the
interrupt and making the reboot fail.

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
Rob Bradford 2019-12-05 10:24:22 +00:00
parent e1af17d93a
commit c063bb8d30

View File

@ -295,7 +295,7 @@ fn create_ged_device() -> Vec<u8> {
&aml::Name::new( &aml::Name::new(
"_CRS".into(), "_CRS".into(),
&aml::ResourceTemplate::new(vec![&aml::Interrupt::new( &aml::ResourceTemplate::new(vec![&aml::Interrupt::new(
true, false, false, false, 5, true, true, false, false, 5,
)]), )]),
), ),
&aml::OpRegion::new("GDST".into(), aml::OpRegionSpace::SystemIO, 0xb000, 0x1), &aml::OpRegion::new("GDST".into(), aml::OpRegionSpace::SystemIO, 0xb000, 0x1),