chris
56deade0b7
Make INSTALL smaller, so it fits in 4MB, removed:
...
USB (controller and devices)
INET6
tlp, swap it with de, as tlp still has issues on cats.
2002-05-14 19:44:57 +00:00
chris
a9e806ee0c
Implement scheduler lock protocol, this fixes PR arm/10863.
...
Also add correct locking when freeing pages in pmap_destroy (fix from potr)
This now means that arm32 kernels can be built with LOCKDEBUG enabled. (only tested on cats though)
2002-05-14 19:22:34 +00:00
soren
fa3bdb57ba
Add some codenames.
2002-05-14 16:21:47 +00:00
pooka
95af0aba23
include GENERIC, set TEXTADDR right
2002-05-14 15:42:25 +00:00
pooka
fe422abe40
a real version of GENERIC
2002-05-14 15:38:43 +00:00
lukem
5e90f2ad0b
deprecate MD installboot in favour of MI installboot in /usr/sbin
2002-05-14 14:57:14 +00:00
lukem
aaa7dba035
- Enable NFS_BOOT_DHCP (as well as the existing NFS_BOOT_BOOTPARAM).
...
DHCP/Bootp is tried before bootparams in the MI nfs mountroot code.
- Change the order in boot.net from "bootparams then bootp" to
"bootp then bootparams", to be consistent with the MI nfs mountroot code.
(Consistency with other NetBSD ports is good, and things still work
for sites that run bootparams but not dhcp/bootp, although I'd argue that
dhcp/bootp is much easier to setup and manage and is easier to debug
than our rpc.bootparamd...)
Per discussion with Paul Kranenburg and Matt Green.
2002-05-14 14:27:33 +00:00
yamt
b70f1bdb62
- don't use ENTRY() macro for data.
...
- fix calculation of bit offset of DR7.
2002-05-14 14:22:33 +00:00
lukem
4369818766
Migrate alpha/pmax/vax bootblock stuff from <dev/dec/dec_boot.h> to
...
<sys/bootblock.h> (leaving ultrix compat goo in the former)
2002-05-14 06:34:20 +00:00
matt
0dc8ee943d
Eliminate more commons or redundant declarations.
2002-05-14 02:58:32 +00:00
eeh
e8ff5b27c8
Trapframes only have locals or ins if the kernel is compiled DEBUG.
2002-05-14 02:34:14 +00:00
eeh
1d52c1bd50
Only save locals and ins in trapframes for DEBUG kernels.
2002-05-14 02:23:07 +00:00
matt
84eb329d14
Eliminate commons (including many used ones). Clean up variable references.
2002-05-14 02:03:00 +00:00
matt
855ee2e758
#include <db/db_extern.h>
2002-05-14 00:14:53 +00:00
matt
109792dc5c
Eliminate commons. (including a few unused or mismatched ones).
2002-05-14 00:08:21 +00:00
eeh
fc5fdc8819
Add rtc@ebus.
2002-05-13 22:38:01 +00:00
thorpej
adbd145bda
Make alpha_pal_halt, alpha_pal_wrent, and alpha_pal_wrvptptr no-profile.
2002-05-13 21:38:30 +00:00
thorpej
456615e083
Make sigcode and proc_trampoline no-profile.
2002-05-13 21:38:09 +00:00
thorpej
ee76016e40
Make the sigcode no-profile.
2002-05-13 21:37:11 +00:00
matt
5916ff65fd
Eliminate commons.
2002-05-13 21:11:23 +00:00
eeh
7b70e3b8fb
Fix off-by-one error in iommu_dvmamap_load_raw() where if a DMA segment
...
has just one byte on a page the page is never mapped into the IOMMU.
2002-05-13 21:01:15 +00:00
matt
0a6d35b7ed
Nuke local extern label_t *db_recover; it's now in <ddb/db_extern.h>
2002-05-13 20:30:07 +00:00
matt
c27fdbcdbe
Don't panic is no class-code, just return. Needed for NetraX1.
2002-05-13 13:59:21 +00:00
matt
bab0fa8919
Remove redundant declarations.
2002-05-13 07:12:21 +00:00
matt
f62dc5c664
Remove redundant declarations.
2002-05-13 07:04:24 +00:00
matt
a0b018ab58
Remove redundant declarations.
2002-05-13 06:41:30 +00:00
matt
c8f0da6300
Eliminate redundant declarations.
2002-05-13 06:26:45 +00:00
matt
d7ee0a910a
Remove declarations for variables that defined elsewhere in MPC6XX code.
2002-05-13 06:17:36 +00:00
simonb
ada33c9eac
Oops, remove an #endif leftover from the previous change.
2002-05-13 06:11:52 +00:00
matt
d210f0530b
Eliminate commons.
2002-05-13 06:05:32 +00:00
simonb
c790dd34b6
Add a comment after an #endif to match up with an #ifdef.
2002-05-13 04:15:40 +00:00
simonb
ee2264c945
All MIPS ports have been ELF for a long time (most since they were
...
created); remove non-ELF assembly support.
2002-05-13 01:39:17 +00:00
matt
3064b5ac0a
Eliminate common.
2002-05-13 01:33:12 +00:00
soren
f514efc600
Make the build machinery happy for now.
2002-05-13 01:26:27 +00:00
matt
075e474458
Eliminate commons.
2002-05-12 23:16:52 +00:00
jdolecek
4d23ad14c5
don't strip the resulting bootprog on install; it's raw binary
...
XXX I hope this is correct way to do this
2002-05-12 15:18:27 +00:00
ichiro
be557a5f28
change ICP12x0 steppings.
...
define CPU_IXP12X0
2002-05-12 15:05:41 +00:00
takemura
9373835df6
BUGFIX: SigmarionII can't resume.
...
Added config_hook_call_reverse() to call the hardpower hook of CMU
(Vr clock mask unit) before the hardpower hook of MQ200 video controller.
2002-05-12 07:41:22 +00:00
bjh21
0dd9cb79f4
Add puc at pci and com at puc, since those seem to work under 1.5.2 (and hence
...
have no excuse for not working in -current).
2002-05-11 18:05:12 +00:00
takemura
0428a3de8e
Just deleted junk lines.
2002-05-11 14:23:51 +00:00
takemura
108ae8567c
BUGFIX: Xhpc dumps core on SigmarionII.
...
Attached MQ200 video controller at PCI bus.
2002-05-11 14:10:04 +00:00
jdolecek
77a65b5e56
use _KERNEL_OPT rather than _KERNEL && !_LKM
2002-05-11 09:39:25 +00:00
jdolecek
82b1bed645
protect opt_compat_svr4.h with 'if defined(_KERNEL_OPT)', so that
...
this is usable from e.g. LKM context
2002-05-11 09:34:00 +00:00
takemura
fda2f03cb3
Enabeled OHCI USB controller on MobilePro 800.
2002-05-11 08:56:39 +00:00
itohy
d2a97e2196
_C_LABEL() police
2002-05-10 23:21:17 +00:00
uch
b1f3b48aa2
Don't reset to old interrupt level at the exit of interrupt handler.
...
It didn't ensure the maximum interrupt nest depth.
2002-05-10 20:14:39 +00:00
thorpej
22cea0e73c
Add IXP1200 steppings.
2002-05-10 17:50:25 +00:00
uch
3fb2a4d436
cosmetic changes.
2002-05-10 15:28:45 +00:00
uch
4e8a77d890
clean up disassembler code.
2002-05-10 15:27:05 +00:00
uch
55326aaa7e
remove COMPAT_13 staff. No 1.3 release of sh3 port. these are trace of
...
i386 port.
2002-05-10 15:25:12 +00:00
thorpej
51ea83a9f5
Remove last vestiges of procfs references. Problem pointed out
...
by Geoff Wing <mason@primenet.com.au>.
2002-05-10 05:45:50 +00:00
jdolecek
63c597b71a
This is now in distrib/acorn32/stand/BtNetBSD.
2002-05-09 20:23:08 +00:00
thorpej
b6950c9729
Mirror cleanup wrt. procfs-centric naming made to the MI ptrace code.
2002-05-09 16:28:11 +00:00
thorpej
f1f51aa2b8
Move code shared by procfs and the kernel proper out of procfs and
...
into the kernel proper (renaming functions from procfs_* to process_*).
2002-05-09 15:44:44 +00:00
uch
8db367d98c
remove trap.h
2002-05-09 12:42:08 +00:00
uch
aade7a10ce
cosmetic changes
2002-05-09 12:41:09 +00:00
uch
3d97be3a02
add #ifdef SH3, SH4
2002-05-09 12:40:03 +00:00
uch
e51ba214c5
mdsetimage ram-disk kernel setting
2002-05-09 12:39:24 +00:00
uch
1cbf8597ef
adapt to new pmap code.
2002-05-09 12:37:58 +00:00
uch
242aff8afc
adapt to new pmap.
2002-05-09 12:36:17 +00:00
uch
0aaff2a14f
IOM_RAM_BEGIN is changed to specify physical address.
2002-05-09 12:35:44 +00:00
uch
20ac353f38
adapt to new pmap.
2002-05-09 12:34:53 +00:00
uch
9e6860e202
IOM_RAM_BEGIN is changed to specify physical address.
2002-05-09 12:34:20 +00:00
uch
7571effdda
adapt to new pmap.
2002-05-09 12:33:18 +00:00
uch
303d5b61d8
change bootstrap stack to below the 'start'
2002-05-09 12:32:55 +00:00
uch
3a1a0b37af
IOM_RAM_BEGIN is changed to specify physical address.
2002-05-09 12:32:09 +00:00
uch
cee1a2f41a
remove unused macro.
2002-05-09 12:31:38 +00:00
uch
2ca56b0d33
remove postsig. postsig is called by ast().
2002-05-09 12:31:19 +00:00
uch
d5020bf906
remove obsolete interface. add defines for inquire cache feature.
2002-05-09 12:30:45 +00:00
uch
44b57799f2
fix comment
2002-05-09 12:30:11 +00:00
uch
4c73523c72
suitable for SH3/SH4 memory architecture.
...
support non-contiguos memory banks.
2002-05-09 12:29:48 +00:00
uch
c34e1b1ad5
adapted to pmap and exception code changes.
2002-05-09 12:29:16 +00:00
uch
5cf2727a95
new pmap designed for SH3/SH4.
2002-05-09 12:28:08 +00:00
uch
bf93dc9b4c
remove obsoleted functions. add sh_tlb_update() for update TLB.
...
MMU mode is changed to multiple virtual storage mode for new pmap code.
2002-05-09 12:27:04 +00:00
uch
fa6d5570e7
fix ASID mask define
2002-05-09 12:26:16 +00:00
uch
944192661c
s/trapno/expevt/ for clarity.
2002-05-09 12:25:41 +00:00
uch
d610fecf0f
rework general exception, and TLB exception handling for new pmap.
...
all exception staffs are moved to exception.[ch]
2002-05-09 12:24:19 +00:00
jdolecek
77003c3fea
seems like a ``cd .'' is necessary in non-interactive shell
...
to get PWD set in /bin/sh
XXX this should really be converted to Makefile, and avoid non-intree
XXX tools like zip
2002-05-09 07:18:46 +00:00
thorpej
7d3e137a0c
Hard-wire CLKF_BASEPRI() to 0 on the ARM, since spllowersoftclock() might
...
not actually be able to unblock the interrupt, which would cause us
to run the softclock interrupts with hardclock blocked.
Per discussion w/ Charles Hannum.
2002-05-08 22:22:46 +00:00
mycroft
bfea3f39cb
Wire CLKF_BASEPRI() to 0 on this platform. (See tech-kern.)
2002-05-08 18:45:49 +00:00
uwe
afd360002d
Oops, mspcic_bus_mmap was, effectively, adding offset twice.
...
While here, add __KERNEL_RCSID.
2002-05-08 16:51:39 +00:00
pooka
6562508c4b
Make INDY the Indy config file
...
Add DRAKEN as a model of what to do with the O2 (effectively the same
file as the old INDY)
2002-05-08 13:52:17 +00:00
jdolecek
7ad1acf323
use ${.OBJDIR} rather than ${.CURDIR}/obj.${MACHINE} (eek)
...
g/c -I${.CURDIR} and -I${S}/lib/libkern from ${INCLUDES}
build libsa dev_net.c via .PATH and SRCS rather than special rules
2002-05-08 11:27:30 +00:00
lukem
4ec732199e
nuke MD installboot (ok-ed by thorpej)
2002-05-08 04:09:46 +00:00
pk
eb95178e15
Patch up to work with MI installboot(8).
2002-05-07 14:13:02 +00:00
jdolecek
87f82807b0
some whitespace cleanup
2002-05-07 13:03:47 +00:00
lukem
9e4faf5cb2
no more ../../sparc/stand/installboot
2002-05-07 12:45:18 +00:00
lukem
37d1d9cf41
decommission old installboot; it doesn't work on bootxx anymore anyway.
2002-05-07 12:32:52 +00:00
jdolecek
b57a8b3514
track rev. 1.7 of pmax/stand/boot/Makefile:
...
use ${INSTALL_FILE} instead of "cp -p"
2002-05-07 12:28:20 +00:00
lukem
cea307e47c
convert to <sys/bootblock.h>
2002-05-07 12:06:06 +00:00
pk
db2a20d3fc
Convert `bootxx' to raw binary format which is what the MI installboot(8)
...
program needs.
2002-05-07 11:32:44 +00:00
jdolecek
828400151c
add -ffreestanding to CFLAGS, so that this wouldn't attempt to link in libc(ugh)
...
g/c the -Wno-main and HAVE_GCC28 stuff
make the machine symlinks via common .BEGIN cookie, so that they would
be properly setup for 'depend' or 'dependall' targets too; g/c the limits.h
symlink, which doesn't seem to be needed
2002-05-07 09:03:52 +00:00
jdolecek
9edc8549c6
some esp register names are no longer provided by next68k espreg.h,
...
use MI <dev/ic/ncr53c9xreg.h> ones
2002-05-07 08:57:31 +00:00
uwe
440409e641
Delint a bit.
2002-05-07 06:45:22 +00:00
gmcgarry
d9248c05c1
FPSP required. Noted by Michael Wolfson.
2002-05-07 06:17:10 +00:00
gmcgarry
918cdbbb79
Make more featureful.
2002-05-07 06:07:30 +00:00
thorpej
a19e4685f7
Make CLKF_INTR() slightly less broken. The previous definition always
...
tested true if the CPU was running in the kernel at the time of the clock
interrupt, therefore all such time (kernel and idle) was counted as interrupt
time. The new definition simply punts on trying to count interrupt time,
which allows us to see kernel and idle time.
2002-05-07 04:01:59 +00:00
thorpej
3a3df0d1d2
Fix reading values mapped in P1 via /dev/kmem (problem uncovered by
...
uch's new pmap).
2002-05-07 03:28:25 +00:00
uwe
2baa6f8e86
Drop SUN4_PGSHIFT and SUN4CM_PGSHIFT. They are already known to .S
...
files from sys/param.h. The problem is that lint stubs are generated
with -C (keep comments) and gcc complains about macro redefinition,
since "assym.h" doesn't have the comments that "sys/param.h" has.
2002-05-07 02:38:44 +00:00
simonb
91a4b7da7f
Use "NOMAN=" instead of "MKMAN=no"; per lukem.
2002-05-07 02:13:51 +00:00