diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2011-07-11 09:20:30 +0200 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2011-07-12 21:14:52 -0400 |
commit | 3bbd11f0053cc813ce11101147cf66d36b376f96 (patch) | |
tree | 185b26fcecd1fcc2f9553025c8270f689166e63c /src/util.h | |
parent | 01a5c8813b2e709809c07c5d7fab9d1c3ddb4989 (diff) | |
download | seabios-3bbd11f0053cc813ce11101147cf66d36b376f96.tar.gz |
pci: remove old pci initilaization code
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'src/util.h')
-rw-r--r-- | src/util.h | 29 |
1 files changed, 0 insertions, 29 deletions
@@ -353,35 +353,6 @@ void make_bios_writable(void); void make_bios_readonly(void); void qemu_prep_reset(void); -// pci_region.c -// region allocator. pci region allocates the requested region -// sequentially with overflow check. -struct pci_region { - // The region is [first, last]. - u32 first; - u32 last; - - // The next allocation starts from here. - // i.e. [start, cur_first) is allocated. - // Right after initialization cur_first == first. - u32 cur_first; -}; -// initialize the pci_region of [first, last] -// last must not be 0xffffffff -void pci_region_init(struct pci_region *r, u32 first, u32 last); -// allocate the region of size -u32 pci_region_alloc(struct pci_region *r, u32 size); -// make the next allocation aligned to align -u32 pci_region_align(struct pci_region *r, u32 align); -// revert the allocation to addr. -void pci_region_revert(struct pci_region *r, u32 addr); -// make the allocation fail. -u32 pci_region_disable(struct pci_region *r); -// returns the current allocation point. -u32 pci_region_addr(const struct pci_region *r); -// returns the region size. -u32 pci_region_size(const struct pci_region *r); - // pciinit.c extern const u8 pci_irqs[4]; void pci_setup(void); |