*BSD News Article 9700


Return to BSD News archive

Received: by minnie.vk1xwt.ampr.org with NNTP
	id AA6315 ; Thu, 07 Jan 93 21:08:12 EST
Path: sserve!manuel.anu.edu.au!munnari.oz.au!sgiblab!zaphod.mps.ohio-state.edu!cs.utexas.edu!tamsun.tamu.edu!zaichunl
From: zaichunl@cs.tamu.edu (Zack Li)
Newsgroups: comp.unix.bsd
Subject: 4.3bsd Buffer management/buffer cache initialization
Date: 9 Jan 1993 09:44:09 GMT
Organization: Texas A&M University, College Station, TX
Lines: 22
Message-ID: <1im6p9INNa8b@tamsun.tamu.edu>
NNTP-Posting-Host: sparc89.cs.tamu.edu
Keywords: Buffer management, buffer cache, initialization, 4.3bsd

Hi there,

        I retrieved bsd src files from ftp.uu.net (directory is
pub/OS/bsd-sources). What I need is the part dealing with the buffer
management. According to the book by Leffler et al, ie, "The design and
implementation of the 4.3BSD UNIX OS", the buffer cache (between the
file system and block device drivers) is initialized by the startup()
routine, and startup() is called in the main(). But I just could not
locate the startup() routine. Is startup() == cpu_startup(), the latter
is called in main() (I couldn't find the definition of cpu_startup()
either). Or is it written in assembly? Any suggestion would be welcome.

Thanx in advance! PLEASE RESPOND BY EMAIL at zaichunl@cs.tamu.edu.

zack
zaichunl@cs.tamu.edu

PS: main() is located in file init_main.c in directory
    pub/OS/bsd-sources/sys/kern.