Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Aug 1997 19:41:53 -0700 (PDT)
From:      Annelise Anderson <andrsn@andrsn.stanford.edu>
To:        freebsd-questions@freebsd.org
Subject:   Question (fwd)
Message-ID:  <Pine.BSF.3.96.970810193928.1686A-100000@andrsn.stanford.edu>

next in thread | raw e-mail | index | archive | help
I am forwarding this--I think a previous message from the same person
was also forwarded--because it deserves, I think, more than I can
manage.  Please reply to him rather than me.

	Annelise

---------- Forwarded message ----------
Date: Mon, 11 Aug 1997 09:37:33 +0000
From: Wang Huaibo <bu-fl@cs.sjtu.edu.cn>
To: Annelise Anderson <andrsn@andrsn.stanford.edu>
Subject: Question

Annelise Anderson wrote:
> 
> On Thu, 24 Jul 1997, Wang Huaibo wrote:
> 
> All the sources are available....some of the files themselves are
> created when the system is installed.  Could you tell me which
> core or critical files you cannot find?  Perhaps then I could
> help more.
> 
>         Annelise
================================================================
Thanks for your reply, I collect some puzzles encountered
when I read FreeBSD 1.5, they provent me from undersdtanding
and re-building it:

1.in init_main.c,there is two lines:

static void dummyinit() {}
TEXT_SET(pseudo_set, dummyinit);

I think,pseudo_set contains all device detect-and-setup entries,
so, in files such as isa.c,there must be such lines like:

TEXT_SET( pseudo_set,???_init );

but I searched the string "pseudo_set" in all files only to
see it is only found in init_main.c 

2.in file fdc.c, two header file,say,
fd.h and fdc.h, are included, but I only can locate one of them.

3.I tried to analyse the way that system call are done,
I set off from source code of LibC, but function such as open()
can not be found.

...

I had supposed that the source code just let us know
how it works rather than how it is constructed.

I like unix, but I don't like its limited-scalability,
I mean, unlike in DOS, we can extend the system just
by hooking some INTs, even in Win 3.1/95, we can extend
the system by hooking APIs.


Best regards
Wang Huaibo
8.10




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.970810193928.1686A-100000>