aboutsummaryrefslogtreecommitdiffstats
path: root/src/util.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2020-09-24 10:43:48 +0200
committerGerd Hoffmann <kraxel@redhat.com>2020-10-15 11:21:43 +0200
commit118b792662dfcbd630c2224e844963549d4ebe92 (patch)
tree713244949567fbf043192c8f55091ce91339e398 /src/util.h
parentbb37fc2983d2d2cb3196a56eeb34ff79775b2e85 (diff)
downloadseabios-118b792662dfcbd630c2224e844963549d4ebe92.tar.gz
pci: factor out pci bar allocation.
Factor out pci bar allocation into a separate pci_setup_alloc() function so it can also be used without running the platform setup code. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h
index f3695ac5..f31fd46f 100644
--- a/src/util.h
+++ b/src/util.h
@@ -139,6 +139,7 @@ extern u64 pcimem_start, pcimem_end;
extern u64 pcimem64_start, pcimem64_end;
extern const u8 pci_irqs[4];
void pci_setup(void);
+void pci_setup_alloc(void);
void pci_resume(void);
// fw/pirtable.c