VirtualBox

Changeset 70713 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
Jan 23, 2018 4:56:59 PM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
120456
Message:

vbox.dsl: Make sure that a parallel port with base address 0x3BC has alignment and length of 4 ports, because more isn't possible (VGA registers at 0x3C0).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/PC/vbox.dsl

    r69301 r70713  
    911911                        CreateWordField (CRS, \_SB.PCI0.LPT0._Y18._MIN, PMI0)
    912912                        CreateWordField (CRS, \_SB.PCI0.LPT0._Y18._MAX, PMA0)
     913                        CreateWordField (CRS, \_SB.PCI0.LPT0._Y18._ALN, PAL0)
     914                        CreateWordField (CRS, \_SB.PCI0.LPT0._Y18._LEN, PLE0)
    913915                        CreateWordField (CRS, \_SB.PCI0.LPT0._Y19._INT, PIQ0)
    914916                        Store (PP0B, PMI0)
    915917                        Store (PP0B, PMA0)
     918                        If (LEqual (0x3BC, PP0B)) {
     919                            Store (0x04, PAL0)
     920                            Store (0x04, PLE0)
     921                        }
    916922                        ShiftLeft (0x01, PP0I, PIQ0)
    917923                        Return (CRS)
     
    944950                        CreateWordField (CRS, \_SB.PCI0.LPT1._Y20._MIN, PMI1)
    945951                        CreateWordField (CRS, \_SB.PCI0.LPT1._Y20._MAX, PMA1)
     952                        CreateWordField (CRS, \_SB.PCI0.LPT1._Y20._ALN, PAL1)
     953                        CreateWordField (CRS, \_SB.PCI0.LPT1._Y20._LEN, PLE1)
    946954                        CreateWordField (CRS, \_SB.PCI0.LPT1._Y21._INT, PIQ1)
    947955                        Store (PP1B, PMI1)
    948956                        Store (PP1B, PMA1)
     957                        If (LEqual (0x3BC, PP1B)) {
     958                            Store (0x04, PAL1)
     959                            Store (0x04, PLE1)
     960                        }
    949961                        ShiftLeft (0x01, PP1I, PIQ1)
    950962                        Return (CRS)
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette