[LinuxBIOS] r486 - LinuxBIOSv3/arch/x86

svn at openbios.org svn at openbios.org
Thu Aug 30 12:25:43 CEST 2007


Author: uwe
Date: 2007-08-30 12:25:43 +0200 (Thu, 30 Aug 2007)
New Revision: 486

Modified:
   LinuxBIOSv3/arch/x86/pci_ops_mmconf.c
Log:
This switches the only remaining non-userspace code from uint*_t to u*.

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net>
Acked-by: Uwe Hermann <uwe at hermann-uwe.de>



Modified: LinuxBIOSv3/arch/x86/pci_ops_mmconf.c
===================================================================
--- LinuxBIOSv3/arch/x86/pci_ops_mmconf.c	2007-08-29 22:27:31 UTC (rev 485)
+++ LinuxBIOSv3/arch/x86/pci_ops_mmconf.c	2007-08-30 10:25:43 UTC (rev 486)
@@ -18,32 +18,32 @@
 
 #include <mmio_conf.h>
 
-static uint8_t pci_mmconf_read_config8(struct bus *pbus, int bus, int devfn, int where)
+static u8 pci_mmconf_read_config8(struct bus *pbus, int bus, int devfn, int where)
 {
 		return (read8x(PCI_MMIO_ADDR(bus, devfn, where)));
 }
 
-static uint16_t pci_mmconf_read_config16(struct bus *pbus, int bus, int devfn, int where)
+static u16 pci_mmconf_read_config16(struct bus *pbus, int bus, int devfn, int where)
 {
                 return (read16x(PCI_MMIO_ADDR(bus, devfn, where)));
 }
 
-static uint32_t pci_mmconf_read_config32(struct bus *pbus, int bus, int devfn, int where)
+static u32 pci_mmconf_read_config32(struct bus *pbus, int bus, int devfn, int where)
 {
                 return (read32x(PCI_MMIO_ADDR(bus, devfn, where)));
 }
 
-static void  pci_mmconf_write_config8(struct bus *pbus, int bus, int devfn, int where, uint8_t value)
+static void  pci_mmconf_write_config8(struct bus *pbus, int bus, int devfn, int where, u8 value)
 {
                 write8x(PCI_MMIO_ADDR(bus, devfn, where), value);
 }
 
-static void pci_mmconf_write_config16(struct bus *pbus, int bus, int devfn, int where, uint16_t value)
+static void pci_mmconf_write_config16(struct bus *pbus, int bus, int devfn, int where, u16 value)
 {
                 write8x(PCI_MMIO_ADDR(bus, devfn, where), value);
 }
 
-static void pci_mmconf_write_config32(struct bus *pbus, int bus, int devfn, int where, uint32_t value)
+static void pci_mmconf_write_config32(struct bus *pbus, int bus, int devfn, int where, u32 value)
 {
                 write8x(PCI_MMIO_ADDR(bus, devfn, where), value);
 }





More information about the coreboot mailing list