diff options
author | jhb <jhb@FreeBSD.org> | 2002-09-05 17:05:15 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2002-09-05 17:05:15 +0000 |
commit | bd265f5118e4fb79ee5176679e737794dc630d3d (patch) | |
tree | 95864ca2f54b8c6ffcc81f88a9fe5a913a9d30d3 /sys | |
parent | af62f5e527abcba6a5d9fa46ee4d5d8c94b3e56b (diff) | |
download | FreeBSD-src-bd265f5118e4fb79ee5176679e737794dc630d3d.zip FreeBSD-src-bd265f5118e4fb79ee5176679e737794dc630d3d.tar.gz |
Move some variables to the BSS instead of explicitly zero'ing them. This
also makes all of the PCIbios variable be zero'd, not just the entry field.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/amd64/amd64/bios.c | 6 | ||||
-rw-r--r-- | sys/i386/i386/bios.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/sys/amd64/amd64/bios.c b/sys/amd64/amd64/bios.c index 6e0837c..d45edc7 100644 --- a/sys/amd64/amd64/bios.c +++ b/sys/amd64/amd64/bios.c @@ -56,10 +56,10 @@ #define BIOS_SIZE 0x20000 /* exported lookup results */ -struct bios32_SDentry PCIbios = {entry : 0}; -struct PnPBIOS_table *PnPBIOStable = 0; +struct bios32_SDentry PCIbios; +struct PnPBIOS_table *PnPBIOStable; -static u_int bios32_SDCI = 0; +static u_int bios32_SDCI; /* start fairly early */ static void bios32_init(void *junk); diff --git a/sys/i386/i386/bios.c b/sys/i386/i386/bios.c index 6e0837c..d45edc7 100644 --- a/sys/i386/i386/bios.c +++ b/sys/i386/i386/bios.c @@ -56,10 +56,10 @@ #define BIOS_SIZE 0x20000 /* exported lookup results */ -struct bios32_SDentry PCIbios = {entry : 0}; -struct PnPBIOS_table *PnPBIOStable = 0; +struct bios32_SDentry PCIbios; +struct PnPBIOS_table *PnPBIOStable; -static u_int bios32_SDCI = 0; +static u_int bios32_SDCI; /* start fairly early */ static void bios32_init(void *junk); |