diff options
-rw-r--r-- | src/boot.c | 4 | ||||
-rw-r--r-- | src/pci.c | 2 | ||||
-rw-r--r-- | src/pmm.c | 6 | ||||
-rw-r--r-- | src/romfile.c | 2 |
4 files changed, 8 insertions, 6 deletions
@@ -21,7 +21,7 @@ * Boot priority ordering ****************************************************************/ -static char **Bootorder; +static char **Bootorder VARVERIFY32INIT; static int BootorderCount; static void @@ -293,7 +293,7 @@ struct bootentry_s { const char *description; struct bootentry_s *next; }; -static struct bootentry_s *BootList; +static struct bootentry_s *BootList VARVERIFY32INIT; #define IPL_TYPE_FLOPPY 0x01 #define IPL_TYPE_HARDDISK 0x02 @@ -85,7 +85,7 @@ pci_next(int bdf, int bus) } } -struct pci_device *PCIDevices; +struct pci_device *PCIDevices VARVERIFY32INIT; int MaxPCIBus VARFSEG; // Check if PCI is available at all @@ -29,9 +29,11 @@ struct zone_s { struct allocinfo_s *info; }; -struct zone_s ZoneLow, ZoneHigh, ZoneFSeg, ZoneTmpLow, ZoneTmpHigh; +struct zone_s ZoneLow VARVERIFY32INIT, ZoneHigh VARVERIFY32INIT; +struct zone_s ZoneFSeg VARVERIFY32INIT; +struct zone_s ZoneTmpLow VARVERIFY32INIT, ZoneTmpHigh VARVERIFY32INIT; -static struct zone_s *Zones[] = { +static struct zone_s *Zones[] VARVERIFY32INIT = { &ZoneTmpLow, &ZoneLow, &ZoneFSeg, &ZoneTmpHigh, &ZoneHigh }; diff --git a/src/romfile.c b/src/romfile.c index 93ee3d6..ea71d1f 100644 --- a/src/romfile.c +++ b/src/romfile.c @@ -7,7 +7,7 @@ #include "config.h" // CONFIG_* #include "util.h" // dprintf -static struct romfile_s *RomfileRoot; +static struct romfile_s *RomfileRoot VARVERIFY32INIT; void romfile_add(struct romfile_s *file) |