des
3aa72d2c55
Document the upgrade process.
2002-06-29 10:39:14 +00:00
des
4ff94afd20
Files we don't want to import.
2002-06-29 10:39:02 +00:00
benno
bb87c74c1b
Add an inline to call eieio.
...
("Enforce In-order Execution of I/O". I am not making this up.)
2002-06-29 10:00:07 +00:00
benno
a55c84e369
We don't need to clear RI in the MSR when entering a critical section.
2002-06-29 09:55:57 +00:00
benno
4055a8608a
Add in_cksum.c
2002-06-29 09:50:20 +00:00
benno
bed0f0d856
in_cksum et al.
...
Submitted by: Peter Grehan <peterg@ptree32.com.au>
2002-06-29 09:49:26 +00:00
benno
4eaae0ef21
Implement vtophys()
2002-06-29 09:47:06 +00:00
benno
d8edf207d8
Add pmap_mapdev and pmap_unmapdev.
2002-06-29 09:45:59 +00:00
benno
668238a99c
- Initialise battable to cover I/O spaces.
...
- Statically size the bpvo entries to avoid conflicts between bpvo allocation
and the vm allocator.
- Shift pmap_init2 code into pmap_init.
- Add UMA_ZONE_VM flag to uma_zcreate.
Submitted by: Peter Grehan <peterg@ptree32.com.au>
2002-06-29 09:43:59 +00:00
benno
202c3a8b7c
To quote Peter:
...
The case in cpu_switch() where there isn't a higher priority thread
(choosethread() == curthread) uses r4 as the PCB context pointer. However, the
use of r4 after the label L2 is incorrect, since it was probably trashed by
the call to choosethread, and in any case was set up to curthread at the start
of the routine.
This condition will occur when an interrupt thread schedules a netisr, which
is a lower priority thread.
Another (probably unnecessary) difference is that I was paranoid about
register trashing, so I decided to save r2 and r13 as well.
Submitted by: Peter Grehan <peterg@ptree32.com.au>
2002-06-29 09:39:44 +00:00
benno
588d2f5396
mempcy/bcopy handles overlapping copies so make ovbcopy call it.
2002-06-29 09:34:54 +00:00
benno
a3a56ebeb3
Add BOOTP_NFSROOT support code.
2002-06-29 09:33:18 +00:00
benno
b3dcfcf0d7
- Use tmpstk exclusively in the init path.
...
- Remove redundant code.
Submitted by: Peter Grehan <peterg@ptree32.com.au>
2002-06-29 09:31:27 +00:00
benno
6c2607ad88
Many fixes to low-level trap and interrupt handling:
...
- Tidy up clock code. Don't repeatedly call hardclock().
- Remove intrnames, decrnest and intrcnt from locore.s
- Coalesce all trap handling into a single stub that then calls a dispatch
function.
Submitted by: Peter Grehan <peterg@ptree32.com.au>
2002-06-29 09:28:21 +00:00
peter
ed94a8432d
To avoid anybody else getting caught out, these two files are really
...
in /sys/boot/common and are actually used there.
2002-06-29 09:21:14 +00:00
benno
d7065a7a3b
Convert this from mostly inline assembler to mostly C.
...
Submitted by: Peter Grehan <peterg@ptree32.com.au>
2002-06-29 09:16:30 +00:00
peter
151c32fd6d
Update from NetBSD 1.3 -> 1.6. Most notable, rev 1.6:
...
"Make in_cksum work on little endian machines"
This would explain a few things. :-)
2002-06-29 09:00:47 +00:00
julian
5322498852
Don't use the static thread.. it is going away.
2002-06-29 07:47:20 +00:00
julian
b2df37dd80
remove cruft
2002-06-29 07:16:24 +00:00
julian
a06b68b34f
Add files that are new for KSE.
2002-06-29 07:04:59 +00:00
jake
c5b25f086b
Fix a deletion during traversal tailq bug.
2002-06-29 06:37:24 +00:00
tjr
ad903dff1e
Avoid truncating filenames with snprintf().
2002-06-29 05:31:26 +00:00
tjr
2ca2fb4fa3
Avoid truncating the pathname to UNIX Domain Sockets with snprintf(),
...
giving a more sensible warning when the (relatively meagre) sun_path
limit is exceeded.
2002-06-29 04:52:33 +00:00
obrien
4db8ac83cb
Rename the db command lockedvnodes to lockedvnods so that it fits on the
...
help screen and one doens't think we have a lockedvnodesmap command.
2002-06-29 04:45:09 +00:00
obrien
581ba5cbdd
Do NOT enable ATA_STATIC_ID -- cmd646 controller will be !ata2!,
...
and you will not mount an ATA /:
mountroot> ufs:/ad0a
Mounting root from ufs:/ad0a
setrootbyname failed
ffs_mountroot: can't find rootvp
2002-06-29 04:42:03 +00:00
tjr
c2f443c824
Check that snprintf() does not truncate the destination pathname when
...
linking into a directory.
2002-06-29 04:10:40 +00:00
obrien
83975c1387
Use __FBSDID.
2002-06-29 03:23:51 +00:00
obrien
30c36077fc
Add frexp(3).
...
Obtained from: OpenBSD
2002-06-29 03:23:18 +00:00
obrien
c5dacda2d6
Turn back on GDB.
...
gdbserver does not build, but I've gone about as far with GDB as I'm going
to right now.
2002-06-29 03:19:35 +00:00
obrien
654fdc5b16
Best guess at configurations for our other arches. (totally untested)
2002-06-29 03:18:28 +00:00
obrien
d0166e6800
Allow to compile and at least startup on sparc64.
2002-06-29 03:16:40 +00:00
peter
b6009897cf
Remove a couple of __P() stragglers.
2002-06-29 02:32:34 +00:00
alfred
97873dcbf3
more caddr_t removal.
2002-06-29 02:00:02 +00:00
silby
d77580640e
Add another Intel chipset (i82562).
...
PR: 39974
Submitted by: Morten Aaboe Jensen <morten@codemonkey.dk>
MFC after: 1 day
2002-06-29 01:56:14 +00:00
alfred
d1cbf6a1d1
More caddr_t removal, make fo_ioctl take a void * instead of a caddr_t.
2002-06-29 01:50:25 +00:00
alfred
d92411ce7a
catch up with mextadd callback taking a void argument instead of a caddr_t.
2002-06-29 01:49:22 +00:00
obrien
9929e0fcf8
This commit was generated by cvs2svn to compensate for changes in r99005,
...
which included commits to RCS files with non-trunk default branches.
2002-06-29 01:43:09 +00:00
obrien
2cf1e97b17
Vendor import of GDB 5.2.
...
These bits are taken from the FSF gdb_5_2-branch anoncvs repo
on 27-June-2002 12:01:00 EDT.
2002-06-29 01:43:09 +00:00
alfred
69f74d0dfa
catch up with ext_free prototype change.
2002-06-29 01:36:59 +00:00
obrien
c2b054dc11
Bmake bits for GDB 5.2.
2002-06-29 01:16:01 +00:00
obrien
16a030e71f
- kernel core debugging for i386 (Mark Peek)
...
- thread debugging for i386 (Mark Peek) and alpha (Doug Rabson)
Submitted by: mp,dfr
2002-06-29 00:42:52 +00:00
obrien
83ffbdce19
Note that this is a modified version of GDB.
2002-06-29 00:41:02 +00:00
obrien
0f9cb1113e
Use the stock source.
2002-06-29 00:38:44 +00:00
obrien
48c467e54d
Best that I can tell, we've never used these files.
2002-06-29 00:36:19 +00:00
alfred
8cd894ca70
More caddr_t removal.
...
Change struct knote's kn_hook from caddr_t to void *.
2002-06-29 00:29:12 +00:00
alfred
d47feb4376
nuke more instances of caddr_t
2002-06-29 00:02:01 +00:00
alfred
65984a1f06
m_extadd takes a void (*freef)(void *, void *) now, not a
...
void (*freef)(caddr_t, void *).
2002-06-29 00:01:46 +00:00
alfred
b0475cc9d5
remove or replace caddr_t with void.
...
make the mbuf external free function take a void * rather than caddr_t.
2002-06-28 23:48:23 +00:00
alfred
708aac7550
nuke caddr_t.
2002-06-28 23:17:36 +00:00
alfred
c5ef3e2f45
change struct socket -> so_pcb from caddr_t to void *.
2002-06-28 23:17:08 +00:00