Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Oct 1995 19:28:38 +0100
From:      se@zpr.uni-koeln.de (Stefan Esser)
To:        Poul-Henning Kamp <phk@critter.tfs.com>
Cc:        Warner Losh <imp@village.org>, hackers@freebsd.org
Subject:   Re: FreeBSD 2.1 will require a minimum of 8MB for installation.
Message-ID:  <199510031828.AA28742@Sysiphos>
In-Reply-To: Poul-Henning Kamp <phk@critter.tfs.com> "Re: FreeBSD 2.1 will require a minimum of 8MB for installation." (Oct  3, 17:49)

next in thread | previous in thread | raw e-mail | index | archive | help
On Oct 3, 17:49, Poul-Henning Kamp wrote:
} Subject: Re: FreeBSD 2.1 will require a minimum of 8MB for installation.
} > On Oct 2, 20:32, Warner Losh wrote:
} > The PCI code is rather small, actually ...
} > 
} > # size pci.o pcibus.o pcisupport.o 
} > text    data    bss     dec     hex
} > 8352    288     12      8652    21cc    pci.o
} 
} Before you start comparing these numbers, the "bss" is not correct as far
} as I remember, is it ?

What makes you think so ?

I've checked the code, and there are a total of 3 variables
that seem to get put into BSS:

static	int		pci_conf_count;
static	int		pci_info_done;
static	struct pcicb   *pcicb;

# nm pci.o|grep ' b '
000021c0 b _pci_conf_count
000021c4 b _pci_info_done
000021c8 b _pcicb

The 288 bytes in the data segment are a few initialised
variables and the PCI vendor and PCI class name tables 
for the probe messages ...

Regards, STefan

-- 
 Stefan Esser, Zentrum fuer Paralleles Rechnen		Tel:	+49 221 4706021
 Universitaet zu Koeln, Weyertal 80, 50931 Koeln	FAX:	+49 221 4705160
 ==============================================================================
 http://www.zpr.uni-koeln.de/staff/esser/esser.html	  <se@ZPR.Uni-Koeln.DE>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199510031828.AA28742>