Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 May 2002 09:53:28 +0700 (ALMST)
From:      Boris Popov <bp@butya.kz>
To:        Poul-Henning Kamp <phk@critter.freebsd.dk>
Cc:        John Baldwin <jhb@FreeBSD.org>, Matthew Dillon <dillon@apollo.backplane.com>, arch@FreeBSD.org
Subject:   Re: syscall changes to deal with 32->64 changes. 
Message-ID:  <Pine.BSF.4.21.0205080942410.16895-100000@lion.butya.kz>
In-Reply-To: <89017.1020785836@critter.freebsd.dk>

index | next in thread | previous in thread | raw e-mail

On Tue, 7 May 2002, Poul-Henning Kamp wrote:

> We cannot easily compile for two native APIs if we cannot have two
> different set of 'sys/*' and 'machine/*' files since a lot of the
> types we want to change size on are defined in these files.

	Not exactly, because #ifdefs can handle this perfectly. Performing
diffs on different files is a more simple task though.

> I would therefore like to propose that we do something like
> the following:
> 
> 	Repocopy src/sys/sys/* to src/sys/include
> 	Repocopy src/sys/sys/* to src/sys/abi4
> 	Remove src/sys/sys/*

	Sounds good, except #includes in various headers may look fuzzy
after that, but this is acceptable. Although, this scheme doesn't account
data parameters passed to VFS_MOUNT() call. Definitions of these
structures lives in fs/*fs.h files. How do you plan to deal with it ?

> This should put a good bit of infrastructure in to make current and
> future API/ABI implementations simpler and more structured.
> 
> I guess a way to sum this up is that it will put all API/ABI's on
> equal footing.  With this change none of them will be any more
> "native" than any other API/ABI.

	Agreed.

-- 
Boris Popov
http://rbp.euro.ru


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message



help

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