2009-09-25 Joel Sherrill <joel.sherrill@oarcorp.com>

* shared/bootloader/bootldr.h: Change extern inline to static inline.
This commit is contained in:
Joel Sherrill
2009-09-25 14:56:04 +00:00
parent ea5f512fe8
commit bc9808931c
2 changed files with 16 additions and 12 deletions

View File

@@ -1,3 +1,7 @@
2009-09-25 Joel Sherrill <joel.sherrill@oarcorp.com>
* shared/bootloader/bootldr.h: Change extern inline to static inline.
2009-09-11 Till Straumann <strauman@slac.stanford.edu>
* shared/openpic/openpic.c: include the more generic <rtems/pci.h>

View File

@@ -77,78 +77,78 @@ typedef struct _boot_data {
register boot_data *bd __asm__("r13");
extern inline int
static inline int
pcibios_read_config_byte(u_char bus, u_char dev_fn,
u_char where, uint8_t *val) {
return bd->pci_functions->read_config_byte(bus, dev_fn, where, val);
}
extern inline int
static inline int
pcibios_read_config_word(u_char bus, u_char dev_fn,
u_char where, uint16_t *val) {
return bd->pci_functions->read_config_word(bus, dev_fn, where, val);
}
extern inline int
static inline int
pcibios_read_config_dword(u_char bus, u_char dev_fn,
u_char where, uint32_t *val) {
return bd->pci_functions->read_config_dword(bus, dev_fn, where, val);
}
extern inline int
static inline int
pcibios_write_config_byte(u_char bus, u_char dev_fn,
u_char where, uint8_t val) {
return bd->pci_functions->write_config_byte(bus, dev_fn, where, val);
}
extern inline int
static inline int
pcibios_write_config_word(u_char bus, u_char dev_fn,
u_char where, uint16_t val) {
return bd->pci_functions->write_config_word(bus, dev_fn, where, val);
}
extern inline int
static inline int
pcibios_write_config_dword(u_char bus, u_char dev_fn,
u_char where, uint32_t val) {
return bd->pci_functions->write_config_dword(bus, dev_fn, where, val);
}
extern inline int
static inline int
pci_bootloader_read_config_byte(struct pci_dev *dev, u_char where, uint8_t *val) {
return bd->pci_functions->read_config_byte(dev->bus->number,
dev->devfn,
where, val);
}
extern inline int
static inline int
pci_bootloader_read_config_word(struct pci_dev *dev, u_char where, uint16_t *val) {
return bd->pci_functions->read_config_word(dev->bus->number,
dev->devfn,
where, val);
}
extern inline int
static inline int
pci_bootloader_read_config_dword(struct pci_dev *dev, u_char where, uint32_t *val) {
return bd->pci_functions->read_config_dword(dev->bus->number,
dev->devfn,
where, val);
}
extern inline int
static inline int
pci_bootloader_write_config_byte(struct pci_dev *dev, u_char where, uint8_t val) {
return bd->pci_functions->write_config_byte(dev->bus->number,
dev->devfn,
where, val);
}
extern inline int
static inline int
pci_bootloader_write_config_word(struct pci_dev *dev, u_char where, uint16_t val) {
return bd->pci_functions->write_config_word(dev->bus->number,
dev->devfn,
where, val);
}
extern inline int
static inline int
pci_bootloader_write_config_dword(struct pci_dev *dev, u_char where, uint32_t val) {
return bd->pci_functions->write_config_dword(dev->bus->number,
dev->devfn,