Patch by Rafal Harabien, <rafalh1992 AT o2 DOT pl>:
- Fix Port numbers and ranges in HalpDefaultIoSpace (divide by 0x100)
By me:
- Fix DMA 1 port range and fix comment

See issue #5925 for more details.

svn path=/trunk/; revision=50848
This commit is contained in:
Timo Kreuzer 2011-02-20 22:30:50 +00:00
parent 6e2693dad2
commit 98eeb0943d

View file

@ -43,17 +43,17 @@ ADDRESS_USAGE HalpDefaultIoSpace =
{
NULL, CmResourceTypePort, IDT_INTERNAL,
{
{0x2000, 0xC000}, /* Everything */
{0xC000, 0x1000}, /* DMA 2 */
{0x8000, 0x1000}, /* DMA 1 */
{0x2000, 0x200}, /* PIC 1 */
{0xA000, 0x200}, /* PIC 2 */
{0x4000, 0x400}, /* PIT 1 */
{0x4800, 0x400}, /* PIT 2 */
{0x9200, 0x100}, /* System Control Port A */
{0x7000, 0x200}, /* CMOS */
{0xF000, 0x1000}, /* x87 Coprocessor */
{0xCF800, 0x800}, /* PCI 0 */
{0x00, 0x20}, /* DMA 1 */
{0xC0, 0x20}, /* DMA 2 */
{0x80, 0x10}, /* DMA EPAR */
{0x20, 0x2}, /* PIC 1 */
{0xA0, 0x2}, /* PIC 2 */
{0x40, 0x4}, /* PIT 1 */
{0x48, 0x4}, /* PIT 2 */
{0x92, 0x1}, /* System Control Port A */
{0x70, 0x2}, /* CMOS */
{0xF0, 0x10}, /* x87 Coprocessor */
{0xCF8, 0x8}, /* PCI 0 */
{0,0},
}
};