freebsd-dev/sys/i386
Bruce Evans 2e82980a4c Moved instantiation of `poff' to sys.c. It is no longer used in disk.c.
Saved a few bytes by copying `dosdev' and/or `name' to local variables.
This optimization (for dosdev) was done in one place before but this
was lost in the devread() cleanup.   This optimization (for dosdev)
can almost be done by bogusly declaring dosdev as const, but gcc still
often space-pessimizes code like the following:

	extern const int dosdev; ... foo(dosdev); bar(dosdev);

gcc often doesn't bother to copy dosdev to a temporary local because
the local would have to be preserved in memory across the call to
foo().  OTOH, for

	extern int dosdev; ... auto int dosdev_copy = dosdev; ...
		foo(dosdev_copy); bar(dosdev_copy);

the copy must be made because foo() might alter dosdev.
1996-09-14 07:41:00 +00:00
..
apm APM_DSVALUE_BUS is no longer with the addition of the correct fix to 1996-09-07 17:41:22 +00:00
bios APM_DSVALUE_BUS is no longer with the addition of the correct fix to 1996-09-07 17:41:22 +00:00
boot Moved instantiation of `poff' to sys.c. It is no longer used in disk.c. 1996-09-14 07:41:00 +00:00
conf Added undocumented option SPX_HACK. 1996-09-13 05:54:39 +00:00
eisa Removed more devconf leftovers. 1996-09-10 23:31:13 +00:00
i386 Changed cncheckc() interface so that it is 8-bit clean - return -1 1996-09-14 04:27:46 +00:00
ibcs2 Changed type of ni_dirp in struct namei' from caddr_t to const char *' 1996-09-03 23:17:15 +00:00
include Another round of merge/update. 1996-09-12 11:12:18 +00:00
isa Changed cncheckc() interface so that it is 8-bit clean - return -1 1996-09-14 04:30:32 +00:00
linux Changed type of ni_dirp in struct namei' from caddr_t to const char *' 1996-09-03 23:17:15 +00:00
pci Removed unused #includes of <i386/isa/icu.h> and <i386/isa/icu.h>. icu.h 1996-06-18 01:22:40 +00:00
scsi oops somehow this dissppeared along the way.. 1996-08-19 02:42:40 +00:00
Makefile Removed all patch kit headers, sccsid and rcsid strings, put $Id$ in, some 1993-10-16 19:17:18 +00:00