Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xing Lin
qemu
Commits
7f647cf6
Commit
7f647cf6
authored
Jun 09, 2004
by
bellard
Browse files
IDE1 init fix
git-svn-id:
svn://svn.savannah.nongnu.org/qemu/trunk@916
c046a42c-6fe2-441c-8c8c-71466251a162
parent
a130a41e
Changes
1
Hide whitespace changes
Inline
Side-by-side
hw/pci.c
View file @
7f647cf6
...
...
@@ -1021,6 +1021,7 @@ static void pci_bios_init_device(PCIDevice *d)
/* PIIX3 IDE */
pci_config_writew
(
d
,
PCI_COMMAND
,
PCI_COMMAND_IO
);
pci_config_writew
(
d
,
0x40
,
0x8000
);
// enable IDE0
pci_config_writew
(
d
,
0x42
,
0x8000
);
// enable IDE1
}
else
{
/* IDE: we map it as in ISA mode */
pci_set_io_region_addr
(
d
,
0
,
0x1f0
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment