Commit Graph

65049 Commits

Author SHA1 Message Date
dfr
bf258187c9 Make the Alternate {I,D} TLB vector code actually work for virtual
addresses greater than 256M (the page size for region 6 and 7).
2001-09-24 22:49:20 +00:00
bmah
cba6ae2d5c ghostscript6 has been replaced by ghostscript-gnu in the Ports
Collection, so we need to change the ports we need for a release.
2001-09-24 20:15:04 +00:00
dfr
2085d4eb3c Don't try to access external files from SKI unless we are actually running
in SKI.
2001-09-24 20:01:29 +00:00
dfr
a9a90c0600 Increase the number of bootstrap PVs. 2001-09-24 20:00:20 +00:00
dfr
21b38366fd Include <machine/pte.h> instead of <machine/pmap.h> 2001-09-24 19:58:15 +00:00
dfr
9bbe2e1552 We need different call stubs for static and stacked calling conventions. 2001-09-24 19:41:16 +00:00
dfr
13d5944594 Add commands to dump the itrs and dtrs. 2001-09-24 19:39:34 +00:00
dfr
876717e81e Return the mapkey which EFI gave us when we read the memory map - we need
it to call ExitBootServices.
2001-09-24 19:37:44 +00:00
dfr
e19e9a8972 Tidy up a little - don't try to print anything or enable interrupts after
we start changing translation registers. Also, call ExitBootServices
before we jump into the kernel.
2001-09-24 19:36:45 +00:00
dfr
73f1755f49 Pick up pal.s from the kernel sources. 2001-09-24 19:31:44 +00:00
dfr
d04bb727c3 Factor out PTE and related definitions from pmap.h - they are useful in
the loader.
2001-09-24 19:27:38 +00:00
iedowse
af5c7958aa The addition of i_dirhash to struct inode pushed RELENG_4's
sizeof(struct inode) into a new malloc bucket on the i386. This
didn't happen in -current due to the removal of i_lock, but it does
no harm to apply the workaround to -current first.

Reduce the size of the i_spare[] array in struct inode from 4 to
3 entries, and change ext2fs to use i_din.di_spare[1] so that it
does not need i_spare[3].

Reviewed by:	bde
MFC after:	3 days
2001-09-24 18:29:20 +00:00
obrien
9632452f39 Back out rev 1.274. The previous behavior was documented in rc.8 and
the original commit of local_startup depended on the scripts being
executable; so there is too much precedence to change it now.  About all
anyone could agree on is that rev 1.274 broke POLA and before rev 1.274
also broke POLA.
2001-09-24 18:17:11 +00:00
obrien
46f886d612 Clarify that -h implies -c. 2001-09-24 17:42:37 +00:00
dfr
fc598410d3 Fix a few comment typos from the last commit. 2001-09-24 17:38:58 +00:00
dfr
f08f7cc358 Add some code which can be used to change to/from physical mode when
calling various firmware functions.
2001-09-24 17:07:23 +00:00
ru
a6b2db14f6 Only compile with strtofflags.c from libc if bootstrapping. 2001-09-24 15:38:38 +00:00
rwatson
41efc0e62e o Reduce userland inclusion of kernel headers -- remove unneeded include
of <sys/mbuf.h>.

Reviewed by:	jlemon
2001-09-24 15:00:16 +00:00
rwatson
7ce2a9a97d o Reduce userland inclusion of kernel headers -- remove unneeded include
of <sys/mbuf.h>.

Reviewed by:	jlemon
2001-09-24 14:43:35 +00:00
hrs
3276d67611 Fix typo. 2001-09-24 12:56:52 +00:00
hrs
4b2d79f595 Merge the following from the English version:
1.139 -> 1.145	relnotes/common/new.sgml
2001-09-24 12:38:06 +00:00
murray
5db7811e70 Add a couple of functions to create persistent variables that will
survive a sysinstall Ctrl-C -> 'Restart'.  This fixes another annoying
bug where restarting sysinstall will try to reload kernel modules and
do other external things that have already been done.  For now, use
these persistent variables to keep track of module, usbd, and pccardd
initialization.

Bug found by: rwatson
MFC after:    1 week
2001-09-24 10:16:23 +00:00
ru
e97a4764bb Fixed the buildworld breakage in cross-tools caused by
misuse of /usr/src/include headers.  This REALLY fixes
the 20010919 src/UPDATING entry.

With this patch the 4.2-RELEASE box was able to survive
the 5.0-CURRENT "make world".

Beat over the head with this patch:	obrien
2001-09-24 09:25:05 +00:00
murray
bb01b0fc88 Note that it might not be a good idea to mount /var 'noatime'.
PR:		docs/30675
Submitted by:	Eugene M. Kim <gene@nttmcl.com>, and
                Giorgos Keramidas <charon@labs.gr>
2001-09-24 07:35:37 +00:00
nyan
6f24794a06 - Added #include <sys/systm.h>
- Cosmetic change
2001-09-24 06:41:06 +00:00
murray
444b1f5574 Correctly document the return value of mb_fixhdr.
PR:		docs/30697
Submitted by:	Jonathan Hanna <jhanna@home.com>
Reviewed by:	bp
2001-09-24 06:30:52 +00:00
luigi
fc8e0b7bdd Fix a null pointer dereference introduced in the last commit, plus
remove a useless assignment and move a comment.

Submitted by: Thomas Moestl
2001-09-24 05:24:19 +00:00
obrien
94003d0787 + Fix misplacement of `txp'
+ Document our -CURRENT debugging bits
2001-09-24 03:23:48 +00:00
obrien
3f2b036979 + explicitly use the shell to run ${local_startup} so one does not have to
ensure the executable bit is set on the scripts.
+ Fix VCS ID's
2001-09-24 03:03:51 +00:00
mp
a740a15ed8 Catch up to recent removal of curpcb from globals.h. 2001-09-24 02:58:49 +00:00
murray
876f3cf6ac - Correct capitalization of a function name.
- Add a missing word to form a complete sentence.

PR:		docs/30626
Submitted by:	Dan Lukes <dan@obluda.cz>, and
		swear@blarg.net (Gary W. Swearingen)
2001-09-24 02:51:43 +00:00
ken
51f12c2733 Turn on WARNS?= 2 for libdevstat.
Submitted by:	"Sergey A. Osokin" <osa@freebsd.org.ru>
2001-09-23 23:03:23 +00:00
bmah
35e45efa1a The README file in the floppies/ directory of a distribution should
come from the installation document (of the release documentation)
not the readme.  The installation document is the one that has the
content of the old FLOPPIES.TXT.

Pointy hat to:	bmah
2001-09-23 22:32:09 +00:00
des
3274d63b58 Don't print running stats unless we're the foreground process.
PR:		30764
2001-09-23 22:03:39 +00:00
brian
74ff6b8f7e Send a .4 second BREAK rather than a .25 second break so that
we're at least consistent with what tcsendbreak(3) is documented
to do.

MFC after: 2 weeks

Note, the MFC will be to sys/dev/dgb/dgm.c on the RELENG_4 branch
2001-09-23 20:03:40 +00:00
dfr
29ad18d594 Add commands to dump the configuration tables and the SAL System Table. 2001-09-23 10:28:01 +00:00
dfr
a6f6159dea Add definitions of SAL System Table. 2001-09-23 10:26:20 +00:00
yokota
28287d86fc Reinitialize the keyboard after the ACPI resume event.
I am not sure if this is absolutely necessary on all systems.  Yet,
there certainly are motherboards and notebook systems which require
this, although there are other systems which just don't.  I hope we
shall know when to do this on which systems, as the development of our
ACPI subsystem progresses...  (I know we didn't need this for the APM
resume.)
2001-09-23 08:42:06 +00:00
yokota
fb7e435d4d - Update pnp(4) to match the reality in -CURRENT.
- Add pnpbios(4).
2001-09-23 08:41:12 +00:00
yokota
a78e6d3db4 Fix a comment line which wrongly states this man page is for
the `asc' scanner device :-)

MFC after: 3 days
2001-09-23 06:56:09 +00:00
imp
dcb6da5c6d While I am THE Warner Losh (I know of no others that share my name and
I've looked), there's no need to refer to myself here as the Warner Losh.

Noticed by: mike
2001-09-23 06:44:07 +00:00
imp
771abf177e Fix grammar of the newest UPDATING entry. Also, minor rewording of
grant to use this document to be less restrictive than before.  The
document now can be used without restriction.
2001-09-23 06:36:41 +00:00
peter
aac6765913 Overzealous search/replace: PROC_LOCK_ASSERT(p, not PROC_LOCK_ASSERT(td,
Pointy-hat to:  peter
2001-09-23 06:16:01 +00:00
alc
abcc2b1f15 Implement TCP/IP checksum off-loading on receive. Announce
rxcsum capabilities.

Reviewed by:	wpaul
2001-09-23 05:13:12 +00:00
mikeh
ff0ca8acbc Don't add space after comma unless there was already one (prevents a
rare overflow). Optimize loop slightly. Don't exit if realloc can't
shrink a buffer (just continue and use the larger buffer).

Obtained from:	OpenBSD
MFC after:	2 weeks
2001-09-23 04:07:26 +00:00
mike
393333febc Note that strdup(3) will set errno if memory allocation fails. This
is also required by the forthcoming POSIX.1-200x standard.

Obtained from:	malloc.3
2001-09-23 00:37:42 +00:00
obrien
b543286930 blah, remove debugging code that crept in with last commit. 2001-09-23 00:11:48 +00:00
murray
a3fa7d9b17 Silence more warnings. 2001-09-22 23:17:37 +00:00
murray
8cda2ec97f Silence warnings on alpha :
Use '%p' when printing out the address of a function.
  sizeof(int) != sizeof(long)
2001-09-22 22:34:14 +00:00
murray
25145b8fcd Silence warnings. 2001-09-22 22:25:35 +00:00