takemura
bd59ae1f5c
BUGFIX: sg2com isn't attached as a console device if it is a console.
2002-01-02 10:09:35 +00:00
mrg
e674bb7dc8
make this hostprog friendly.
2002-01-02 05:21:34 +00:00
mrg
dc34af64a7
- add a -i path-to-installboot option
...
- also recognise $INSTALLBOOT from the environment
- update Usage & share the option list with Help.
2002-01-02 04:13:42 +00:00
augustss
53d829ae4c
Use the right I/O addresses for the ISA radio cards.
2002-01-02 04:08:41 +00:00
augustss
323b1e432f
Add (commented out) udsbr.
2002-01-02 03:23:07 +00:00
chs
9451559ef4
pmap_page_protect(VM_PROT_NONE) must remove all mappings in the PV list,
...
even if they are wired. we need to be able to remove all mappings to
pages that are being freed due to (eg.) file truncation.
2002-01-02 00:51:33 +00:00
chs
a70dcbb2fd
merge in a bit from the MP branch to cut down on LOCKDEBUG spew:
...
Use optimistic locking in pmap_create() so that we don't lock against
ourself if allocating the page directory causes pmap_growkernel() to
be called.
2002-01-01 22:52:11 +00:00
augustss
18f7211eb9
Make mr pci attachment conform.
2002-01-01 22:15:43 +00:00
augustss
32d039b3bf
Add (commented out) radio card support. From OpenBSD.
2002-01-01 21:54:21 +00:00
hpeyerl
19d2ddde8d
Add entry for PC Weasel/PCI.
2002-01-01 16:52:23 +00:00
skrll
e25a471c87
Fix typo in comment.
2002-01-01 16:24:33 +00:00
perry
259130c9d4
boost up default times for when clocks are insane (as we do every few years.)
2002-01-01 09:14:14 +00:00
thorpej
d2453f69b1
Remove the call to abort(). We don't pull in a prototype for it,
...
and there's no sane way to do so.
2002-01-01 01:58:01 +00:00
dbj
0057f73f87
save and restore sprg[0-3] when calling openfirmware
...
this fixes calling OF_finddevice() with invalid devices,
and as a result fixes booting with -d.
Apparently openfirmware expects persistence of sprg2 and/or sprg3
I suspect this is used when handling exceptions
2001-12-31 18:35:26 +00:00
dbj
98cbceb382
handle have_address=TRUE
2001-12-31 18:29:07 +00:00
matt
873f33f78e
Make the same change to icache/dcache size calculation as was done to ecache.
...
Fixes PR 12844.
2001-12-31 16:26:10 +00:00
lukem
1f5f54d132
add <sys/systm.h> (for libkern.h) now that -ffree-standing is in effect
2001-12-31 15:01:51 +00:00
uwe
0207013726
Now that sbus_bus_mmap was converted to do the proper address
...
translation, get rid of sbus_bus_addr. Since sbus_bus_addr is used by
framebuffer drivers that are shared with sparc64 we cannot just change
the callers to use BUS_ADDR() w/out coordinating the change with
sparc64 that uses a different calling protocol, so stub our
sbus_bus_addr to just return BUS_ADDR.
2001-12-31 15:00:58 +00:00
mrg
e5fc1d934a
clarify usage. idea from david obrien.
2001-12-31 09:44:04 +00:00
matt
0bc218f05c
When determining ecache size, try using ecache-size. if it doesn't exist,
...
fallback to the old method (ecache-nlines * ecache-linesize).
2001-12-31 07:30:46 +00:00
dbj
f03e8813e0
allow ddb access to lr, ctr, cr and xer registers when not on PPC_IBM4XX
2001-12-30 20:53:04 +00:00
dbj
98d1a18067
remove unused variable in kgdb_acc
2001-12-30 20:50:53 +00:00
pk
5237c5fb99
In cpu_fork() set tf_npc as well in case a signal is taken in child_return()
...
which will cause the values of tf_pc and tf_npc set here in cpu_fork()
to be restored and used to return to user space from sigreturn() eventually
(before that the tf_pc and tf_npc set in sendsig() will be used in
proc_trampoline()).
Also, the fork system call never uses the SYSCALL_G2RFLAG shortcut, so drop
the code handling that.
2001-12-30 18:52:54 +00:00
pk
76634d2635
Change interface between cpu_fork() and proc_trampoline() so that `tf_pc'
...
(instead of `tf_npc') contains the user-space return address. This ensures
entering the signal trampoline code correctly in case we take handled
signal during child_return().
2001-12-30 16:41:29 +00:00
lukem
95c845e4fc
add -Os to COPTS after <bsd.prog.mk> is pulled in rather than adding
...
it in CFLAGS beforehand, as a user's mk.conf COPTS+=-O2 results in
boot files that are too large.
2001-12-30 16:32:29 +00:00
wiz
b5df8875da
Uncomment uhidev, since other entries depend on it.
2001-12-30 14:49:08 +00:00
augustss
dbd7c7b7bc
Make uhidev change.
2001-12-30 13:28:13 +00:00
takemura
936fd137e6
BUGFIX: It allocated only 44 bytes for hpcapm while the device needed
...
764 bytes.
it was really terrible.
2001-12-30 12:57:41 +00:00
takemura
4ff1a4256d
Commented out the line which install interrupt handler because sg2com
...
interrupt port is unknown and it doesn't work at all.
2001-12-29 09:26:23 +00:00
thorpej
4adc65cb8e
We also need the i386 header files; descend into ../i386/include to
...
install them.
2001-12-29 05:32:59 +00:00
takemura
37728140db
Added debugging output indicating details of interrupt register setting.
2001-12-29 05:15:32 +00:00
takemura
dce583bd28
Added sg2com(SigmarionII sertial).
2001-12-29 04:27:33 +00:00
thorpej
989d1769bc
Add a linker script for the NetBSD/x86_64 kernel; provides _etext
...
in the place that we want for the kernel (after all read-only sections).
2001-12-29 02:24:06 +00:00
augustss
b53ea42bf0
Update for new uhidev device attachment.
2001-12-28 17:37:01 +00:00
martin
b506d6e135
Add PPPoE to all generic kernels that should be able to use it.
...
XXX TODO: do this for INSTALL kernels too, add sysinst support and make the
XXX needed binaries available on the ramdisk root fs.
2001-12-28 12:21:52 +00:00
thorpej
2db4da1742
Fix some register constraints; specifically, the "port" operand,
...
if not an immediate, must be in a 16-bit register.
2001-12-28 06:42:40 +00:00
thorpej
670bf31890
Fix the definition of ELF32_MACHDEP_ENDIANNESS.
2001-12-28 06:35:19 +00:00
shin
b7e3f7d6e3
R4000/R4400 always detects virtual alias as if
...
primary cache size is 32KB. Actual primary cache size
is ignored wrt VCED/VCEI.
2001-12-28 04:06:06 +00:00
shin
f15b256063
check if curproc is invalid, and do panic.
...
otherwise, we can't useful backtrace.
Ex. address error in interrupt handler.
2001-12-28 02:13:14 +00:00
minoura
da0ba70058
Remove some error messages to reduce the size.
2001-12-28 02:12:55 +00:00
toshii
f8c1bea196
Allow jornada720 LCD and keyboard to be used as a boot console.
2001-12-28 01:41:53 +00:00
shin
ae12ee76a0
add #ifdef DEBUG around VCED_count etc.
2001-12-27 22:55:46 +00:00
christos
af7d3cdd3d
use the new ci_info hook to print extra cpu information during probe.
2001-12-27 15:28:34 +00:00
christos
e59d5895b1
add a new function to the cpu struct's that can be called to print extra
...
cpu information after initialization.
2001-12-27 15:24:34 +00:00
dbj
1b65d8fd30
fix single stepping and continuing from breakpoints in ddb
2001-12-27 10:32:23 +00:00
dbj
2bea447d60
sync the instruction cache even when only writing 2 or 4 bytes
2001-12-27 10:25:41 +00:00
shin
606f00a905
split VCED and VCEI.
2001-12-27 04:19:17 +00:00
shin
d00d2e4bcb
simplify VCED processing.
...
just write back and invalidate secondary cache line and fetch data again.
2001-12-27 04:03:37 +00:00
wiz
5514d0b117
bcopy/bcmp/bzero -> memcpy/memcmp/memset
2001-12-27 02:23:24 +00:00
thorpej
1ab1192459
Makefile for x86_64 includes and boot blocks.
2001-12-27 00:43:25 +00:00