gmcgarry
aee7bee1a7
bcopy -> memcpy
...
bzero -> memset
bcmp -> memcmp
2001-12-08 03:34:38 +00:00
bjh21
979ce3fa95
Explicitly declare ofw_device_register(), since it's not in any header file.
...
Yes, this is nasty, but it's not as if this port has long to live, does it?
2001-12-08 01:22:45 +00:00
bjh21
4c64633edc
Remove more acorn32 leftovers.
2001-12-08 01:16:53 +00:00
minoura
3e9a826813
Add -p option to suppress creating the partition table.
2001-12-08 00:51:03 +00:00
thorpej
205c159f0e
Make the coredump routine exec-format/emulation specific. Split
...
out traditional NetBSD coredump routines into core_netbsd.c and
netbsd32_core.c (for COMPAT_NETBSD32).
2001-12-08 00:35:25 +00:00
chris
6bcb608ef3
Reintroduce these header files so that cats kernels can build. Fallout from Jason reverting the includes stuff.
2001-12-07 23:09:32 +00:00
bjh21
20d6672fda
Change L2CR_CONFIG from defflag to defparam, since it takes an argument.
2001-12-07 12:58:43 +00:00
hannken
de07b4b524
Protect `opt_sparc_arch.h'. Used from /sys/arch/sparc/stand/boot.
2001-12-07 11:00:39 +00:00
onoe
d5d707cf1d
Add 82801BAM as piix.
...
Do not initialize global variables 'pciintr_icu_tag' to NULL.
Its type is 'const struct pciintr_icu *' (typedef'ed) and gcc sometimes(!)
put it in Text region. So force arrrange it to BSS.
2001-12-07 08:07:57 +00:00
minoura
a5d9ca13b1
New target: release.
2001-12-07 06:52:14 +00:00
minoura
7bd6e6b999
Correct typo.
2001-12-07 06:51:47 +00:00
fredette
b596abc4ed
Picked up some old scheduler changes. Now the sun2 locore
...
corresponds tightly to revision 1.81 of the sun3 locore.
2001-12-07 05:24:56 +00:00
briggs
f9d1ec360b
16 partitions -- agree with files.sandpoint
2001-12-07 05:20:57 +00:00
briggs
757139f41d
Disable ws* until we can have a working vga* at pci.
2001-12-07 05:10:59 +00:00
briggs
43fd0c736b
Add INSTALL kernel (copy from RAMDISK).
2001-12-07 05:10:17 +00:00
bjh21
8a16a572d7
Remove references to things that have disappeared in the acorn32 split.
2001-12-06 23:51:04 +00:00
simonb
e7a7551978
Convert the byte_swap_* macros from GNUish ({ ... }) extensions to
...
static inline functions.
2001-12-06 23:25:43 +00:00
fredette
2fe9375188
Tweaked whitespace and, in comments only, added % to make this
...
file much easier to compare to its sun3 cousin.
2001-12-06 21:05:12 +00:00
soren
00755fc870
options space tab.
2001-12-06 16:51:31 +00:00
augustss
ebdd7a70ea
Uncomment IrDA devices since they seem to work now.
2001-12-06 16:35:09 +00:00
wiz
d10951fb07
File contents not interesting anymore, and even partially wrong.
...
Remove it. Ok'd by chuq.
2001-12-06 13:56:35 +00:00
bjh21
352d57f9e1
Remove IOMD support, since NetBSD/arm32 doesn't support IOMD systems any more.
2001-12-06 11:54:07 +00:00
minoura
da36b95207
Sync with mvme68k.
2001-12-06 04:13:39 +00:00
minoura
bf3ea26688
Add ELF support.
2001-12-06 04:13:12 +00:00
sommerfeld
39424268c6
Use #if defined(FOO_CPU) instead of #if FOO_CPU just to be picky.
...
Spotted by Thomas Klausner.
2001-12-06 01:56:19 +00:00
thorpej
8d9d5216ec
More complete conversion of the XMM-format tag word to i387-format
...
tag word.
2001-12-06 00:01:36 +00:00
atatat
52c50e165b
Use more parentheses to make the compiler happy.
2001-12-05 22:16:30 +00:00
atatat
d2c23d82a1
TRY_SCSI_LINKED_COMMANDS is a param, not a flag.
2001-12-05 22:15:05 +00:00
atatat
2f31dcd126
It's not called "opt_fpuemulate.h", it's called "opt_fpu_emulate.h". :)
2001-12-05 18:04:35 +00:00
augustss
fe61017def
Add (commented out) irframetty.
2001-12-05 16:48:03 +00:00
augustss
81f90d8cd3
Use the right name to decide if we should use irframe entry.
2001-12-05 16:10:09 +00:00
mrg
c3409421aa
add commented BLINK option.
2001-12-05 13:29:24 +00:00
chs
5e5ab17808
fix the sense of a MULTIPROCESSOR conditional, cpus after the first are
...
not configured if MULTIPROCESSOR is *not defined.
2001-12-05 05:13:50 +00:00
chs
f0d9c43220
fix macppc MULTIPROCESSOR compilation.
2001-12-05 05:02:10 +00:00
lukem
c0d0f0b31c
convert from macros to static inlines. allen briggs confirms resultant code
...
is the same with -Ox, for x>0 (as expected).
2001-12-05 04:37:28 +00:00
minoura
88031f5a81
Correct LINKS to install sdboot_ufs properly.
2001-12-05 02:07:09 +00:00
thorpej
03efee5585
* Allow machine-dependent code to specify hooks for ptrace(2)
...
(__HAVE_PTRACE_MACHDEP) and procfs (__HAVE_PROCFS_MACHDEP).
These changes will allow platforms like x86 (XMM) and PowerPC
(AltiVec) to export extended register sets in a sane manner.
* Use __HAVE_PTRACE_MACHDEP to export x86 XMM registers (standard
FP + SSE/SSE2) using PT_{GET,SET}XMMREGS (in the machdep
ptrace request space).
* Use __HAVE_PROCFS_MACHDEP to export x86 XMM registers via
/proc/N/xmmregs in procfs.
2001-12-05 00:58:05 +00:00
lukem
612e777b6e
s/defopt/defflag/
2001-12-04 23:14:48 +00:00
jdolecek
f1243fa104
add 'esp at mca? slot ?' and 'scsibus* at esp?'
2001-12-04 20:49:40 +00:00
sommerfeld
ceb358f80c
Fix so these files build with options DEBUG enabled.
...
The change to edc_mca.c may not work as I don't have any mca hardware.
2001-12-04 20:00:15 +00:00
thorpej
f7141449f2
When doing process_s87_to_xmm(), don't restore the "saved SW from
...
last exception"; the userland-visible fpreg structure doesn't
include it.
Pointed out by enami tsugutomo <enami@sm.sony.co.jp>.
2001-12-04 19:41:47 +00:00
thorpej
2684ea2b22
Don't declare which exec formats to support in loadfile_machdep.h.
...
Instead, give each user of loadfile() control over which exec formats
it wants to support.
2001-12-04 18:54:34 +00:00
is
0614c8a6ad
Really merge in Adam Ciarcinskis spl$foo() code, which should have been
...
in long ago.
2001-12-04 18:54:11 +00:00
wiz
b4371d47f5
Replace some misuses of "then" with "than".
2001-12-04 17:56:30 +00:00
atatat
239aeafb2e
Fixes to eliminate some compiler complaints, such as:
...
suggest explicit braces to avoid ambiguous `else'
suggest parentheses around assignment used as truth value
2001-12-04 15:27:35 +00:00
minoura
830cfb5ec1
Use sys/conf/Makefile.kern.inc.
2001-12-04 15:22:29 +00:00
minoura
4ee42d6a56
Ooops, previous commit removed an important line unintentionally.
2001-12-04 15:21:28 +00:00
is
647b3a2fe9
defflag lev6_defer.
2001-12-04 11:51:39 +00:00
jmc
30dcee15c0
Grab the appropriate loadfile_elf depending on machine arch
2001-12-04 11:31:10 +00:00
darrenr
8f8a0fb2c2
defopt "options SUN4*", put #define for each of SUN4, SUN4C, SUN4M and SUN4U
...
into opt_arch_sparc.h and include this wherever they are used.
2001-12-04 00:53:18 +00:00
darrenr
860b0688ac
defopt "options SUN4*", put #define for each of SUN4, SUN4C, SUN4M and SUN4U
...
into opt_arch_sparc.h and include this wherever they are used.
2001-12-04 00:05:04 +00:00
bjh21
792f0d66cc
Kill BBBB. boot26 has been working fine for months now.
2001-12-03 23:07:25 +00:00
jdolecek
586f0a8848
fix two bugs in mca_dma_set_ioport():
...
* need to specify DMA channel for DMACMD_SET_IO
* the upper byte of port was masked incorrectly
also update comment in _mca_bus_dmamap_sync() to current reality
2001-12-03 22:50:44 +00:00
bjh21
5dd767837c
Make the slightly absurd case of not having keyboard _or_ mouse configured
...
work too.
2001-12-03 22:46:23 +00:00
bjh21
8039409128
Make it possible to build a kernel with either mouse or keyboard support
...
missing. Note that it's necessary to drop both wsmouse and arcwsmouse to
lose mouse support, and analogously for the keyboard.
2001-12-03 22:37:57 +00:00
aymeric
9c7678f6f7
use _AMIGAPPC_MPTR_H_ instead of _MACHINE_MPTR_H_ so this file is included
...
when it has to be.
2001-12-03 21:17:05 +00:00
aymeric
5ffc3508fd
remove things that were copied verbatim from powerpc_cpu.h
...
and #include <powepc/powerpc_cpu.h>
2001-12-03 21:15:15 +00:00
aymeric
08cdb2cfa6
add options PPC_MPC6XX to pull in generic powerpc support
2001-12-03 21:12:57 +00:00
aymeric
8729920a7b
include machine/mtpr.h for SIR_* definitions
2001-12-03 21:11:27 +00:00
aymeric
fe204eade0
pte_spill was renamed to pmap_pte_spill some day
2001-12-03 21:10:48 +00:00
bjh21
7f81573aa0
Disable interrupts for podule loaders from C rather than assembler, since the
...
former is more portable and less error-prone. This fixes port-arm26/14811.
2001-12-03 20:54:07 +00:00
gmcgarry
56504d76c4
Fix path to clockvar.h.
2001-12-03 05:52:13 +00:00
gmcgarry
fa9aa504f9
Use BOOTP by default.
2001-12-03 05:44:36 +00:00
lukem
fa15b3d7b9
defparam (not defflag) PCIBIOS_IRQS_HINT. pointed out by Kevin Lahey
2001-12-03 00:10:14 +00:00
bouyer
e01670eb4e
Convert to new ata/atapi attach structs.
2001-12-02 22:54:26 +00:00
thorpej
fbd78c8e3c
Add PVR processor type fields for IBM 405GP and IBM 405L.
2001-12-02 20:11:49 +00:00
jdolecek
492b500611
Add couple hooks, needed primarily for NCR 53C90 MCA card driver:
...
* add flag to explicitly specify if the DMA should be done as 16bit or 8bit
* add flag to specify the DMA should happen via I/O port
* add new function mca_dma_set_ioport(), to set I/O port to be used for the
DMA operation
Also clarify copyright (welcome to 2001 :), and couple other minor nits
2001-12-02 17:02:33 +00:00
augustss
813e73533f
Add (commented out) oboe IrDA driver.
2001-12-02 16:37:24 +00:00
minoura
5684610fac
.include <bsd.own.mk> for OBJECT_FMT.
2001-12-02 14:41:21 +00:00
minoura
9a342a1f55
Small message fixes.
2001-12-02 14:25:44 +00:00
minoura
90e97e1eb1
Do not install libsa.a
2001-12-02 13:25:34 +00:00
augustss
031a2873ed
Add irframe and cir devices.
2001-12-02 10:45:40 +00:00
uch
bd9aab9cb5
make this compile again.
2001-12-02 10:37:53 +00:00
uch
2c8098281b
TX39, R5900 cache configuration.
2001-12-02 10:37:25 +00:00
minoura
1cf5c38da0
Descend to new boot programs.
2001-12-02 09:59:39 +00:00
minoura
99978cf934
Install as installboot.new.
2001-12-02 09:58:56 +00:00
manu
fd6a281221
Added twomissing SYSCALL_SHIFT for indirect syscall through SYS_syscall
2001-12-02 08:28:18 +00:00
gmcgarry
6baa42f8ce
Don't use dev/cninit.c, since we have our own custom implementation.
2001-12-02 01:28:54 +00:00
gmcgarry
72dc6ccf2b
Type cast for bus_space_vaddr()
2001-12-02 01:20:33 +00:00
tsutsui
0ba0d05efe
Use pmap_kenter_pa() rather than pmap_enter() for msgbufaddr.
2001-12-02 01:17:52 +00:00
tsutsui
babc971829
#ifdef'ed out debug printf.
2001-12-01 23:39:11 +00:00
tsutsui
163114ab3c
Implement pmap_kenter_pa() and pmap_kremove() properly.
...
This should fix `kernel diagnostic assertion "rv" failed' panic
and the problem was tracked down by tsubai.
Also add small optimization in pmap_enter() and pmap_remove(), from tsubai.
2001-12-01 23:34:52 +00:00
thorpej
72dee19a8c
Reset the i80200 ICU and PMU to a pristine state very early.
2001-12-01 23:06:45 +00:00
thorpej
a5a8439141
Make the snake slither in a slightly more interesting pattern that
...
also happens to have 8 positions (and thus has a slightly more efficient
implementation).
2001-12-01 21:23:17 +00:00
bjh21
a7297d1928
Slight tweak to AST handling logic -- on return from ast_handler(),
...
IRQs are enabled, so we have to disable them again before checking
astpending.
2001-12-01 17:30:07 +00:00
fredette
f1673ae4dd
Abstract out a large chunk of the kernel build machinery so that new
...
build features (such as ross's DEBUGLIST) can easily be applied to all
ports. This should reduce the complexity of each port's kernel
Makefile considerably.
2001-12-01 15:23:18 +00:00
bjh21
e4dac015cd
Don't define get_cachetype() unless it's going to be used.
2001-12-01 14:21:18 +00:00
aymeric
6c197325c8
catch up with amiga's conf.h by adding definition of cdev_par_init
2001-12-01 14:14:58 +00:00
aymeric
4680be2d7c
add wscons support so that amiga/conf.c compiles
2001-12-01 14:13:49 +00:00
aymeric
dd4455abf7
catch up with "recent" new egcs check
2001-12-01 14:12:58 +00:00
aymeric
e3ed0e40da
do not include opt_lev6_defer.h when compiling for powerpc
2001-12-01 13:44:22 +00:00
thorpej
3fd0a58e9d
On the i80200, disable ECC in the Bus Controller Unit early on; we
...
don't really have code to deal with ECC errors yet.
2001-12-01 06:33:40 +00:00
thorpej
216b9b2ea6
- Don't enable FIQs; nothing uses them (yet).
...
- Steer i80200 PMU and BCU interrupts to IRQ# (for lack of a better
place, at the moment).
- Disable all interrupts other than external-IRQ# in the i80200 ICU;
we don't deal with any of the others, yet.
2001-12-01 06:15:36 +00:00
thorpej
5936a89bf5
Add register definitions for the i80200 Interrupt Controller Unit,
...
Bus Controller Unit, and Performance Monitoring Unit.
2001-12-01 05:46:19 +00:00
thorpej
a7cfcd87fd
Implement a "snake" for the 7-segment display.
2001-12-01 02:04:27 +00:00
thorpej
5f8b540ed9
Remove U from the display seg constants.
2001-12-01 02:02:46 +00:00
bouyer
49aef70ae6
Add st at atapibus, now that it works.
2001-12-01 00:09:07 +00:00
thorpej
e41179bfd0
Need <arm/cpufunc.h> for cache-related variables.
2001-11-30 19:43:20 +00:00
thorpej
2b08dcc43b
Clarify a comment to state that it is intentional that we attach
...
only the Secondary PCI bus (it's the only bus which can have a
device space hidden from any PCI host on the Primary bus).
Also, use the bus number from the PPB businfo register seecondary bus
field rather than hard-coding "1".
2001-11-30 19:29:44 +00:00
thorpej
e90eccc52c
Clarify a comment.
2001-11-30 19:26:03 +00:00