diff options
author | vboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f> | 2014-12-12 20:22:39 +0000 |
---|---|---|
committer | vboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f> | 2014-12-12 20:22:39 +0000 |
commit | f14003b74743045985e91a39636079663667da17 (patch) | |
tree | 8f56894d41698b1d1220ce9d2cc16a5b74ddb55e /src/VBox/Devices/PC/vbox.dsl | |
parent | 1e40327cbabdaa67efd7e895ef293c43f93a0c77 (diff) | |
download | VirtualBox-svn-f14003b74743045985e91a39636079663667da17.tar.gz |
Devices/Graphics, Devices/PC/DevACPI, Main: add support for sending video mode hints through the VGA device.
git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@53528 cfe28804-0f27-0410-a406-dd0f0b0b656f
Diffstat (limited to 'src/VBox/Devices/PC/vbox.dsl')
-rw-r--r-- | src/VBox/Devices/PC/vbox.dsl | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/src/VBox/Devices/PC/vbox.dsl b/src/VBox/Devices/PC/vbox.dsl index 3703b77a9a8..4689c204b1a 100644 --- a/src/VBox/Devices/PC/vbox.dsl +++ b/src/VBox/Devices/PC/vbox.dsl @@ -909,6 +909,39 @@ DefinitionBlock ("DSDT.aml", "DSDT", 1, "VBOX ", "VBOXBIOS", 2) } } + // Graphics device + Device (GFX0) + { + Name (_ADR, 0x00020000) + + Scope (\_GPE) + { + // GPE bit 2 handler + // GPE.2 must be set and SCI raised when + // display information changes. + Method (_L02, 0, NotSerialized) + { + Notify (\_SB.PCI0.GFX0, 0x81) + } + } + + Method (_DOD, 0, NotSerialized) + { + Return (Package() + { + 0x80000100 + }) + } + + Device (VGA) + { + Method (_ADR, 0, Serialized) + { + Return (0x0100) + } + } + } + // HDA Audio card Device (HDEF) { |