Changeset 67679 in vbox for trunk/src/VBox/Devices/PC/BIOS/pciutil.c
- Timestamp:
- Jun 29, 2017 8:28:50 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/PC/BIOS/pciutil.c
r62509 r67679 152 152 } 153 153 154 void pci_write_config_word(uint8_t bus, uint8_t dev_fn, uint8_t reg, uint16_t val) 155 { 156 pci_write_cfgw((PCIBIOS_ID << 8) | PCIBIOS_WRITE_CONFIG_WORD, (bus << 8) | dev_fn, reg, val); 157 } 158 154 159 #if 0 /* Disabled to save space because they are not needed. Might become useful in the future. */ 155 160 /** … … 174 179 } 175 180 176 void pci_write_config_word(uint8_t bus, uint8_t dev_fn, uint8_t reg, uint16_t val)177 {178 pci_write_cfgw((PCIBIOS_ID << 8) | PCIBIOS_WRITE_CONFIG_WORD, (bus << 8) | dev_fn, reg, val);179 }180 181 181 void pci_write_config_dword(uint8_t bus, uint8_t dev_fn, uint8_t reg, uint32_t val) 182 182 {
Note:
See TracChangeset
for help on using the changeset viewer.