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
fredette
d4f3b9c987
Catch-up to revision 1.135 of the sun3 pmap. This revision
...
corresponds tightly to that one.
2001-11-30 18:22:51 +00:00
fredette
a5c8b5d17f
Implement bus_space_mmap.
2001-11-30 18:11:56 +00:00
fredette
d925ceec5b
vm_offset_t -> vaddr_t or paddr_t, as appropriate.
...
Purge register qualifiers.
bcopy() -> memcpy(), bzero() -> memset()
No longer try to protect the kernel with uvm_map_protect,
pmap_bootstrap has already done this.
Now use pmap_kenter_pa/pmap_kremove when dumping, instead
of pmap_enter/pmap_remove.
2001-11-30 18:10:27 +00:00
fredette
bbb634ca9e
vm_offset_t -> vaddr_t or paddr_t or db_addr_t, as appropriate.
...
vm_size_t -> vsize_t
Purge register qualifiers.
bcopy() -> memcpy(), bzero() -> memset()
2001-11-30 18:06:55 +00:00
fredette
94ae8e87a9
Purge vm_offset_t.
2001-11-30 17:52:33 +00:00
fredette
a9847551d5
vm_offset_t -> paddr_t
...
Implement bus_space_mmap.
2001-11-30 17:49:10 +00:00
fredette
450c4305c1
vm_offset_t -> vaddr_t
...
Removed register qualifiers.
2001-11-30 17:47:04 +00:00
fredette
66e0981854
Make sure that an unlabeled device gets at least RAW_PART
...
in the default in-core disklabel, instead of only a single
partition, so that applying a new disklabel can work normally.
bcopy() -> memcpy(), bzero() -> memset()
2001-11-30 16:11:10 +00:00
fredette
da1e437744
Implement bus_space_mmap.
2001-11-30 16:04:25 +00:00
fredette
47884ee136
vm_offset_t -> vaddr_t
2001-11-30 16:00:27 +00:00
fredette
b9b98bff66
Convert to use genassym.cf and genassym.sh, as other ports do.
2001-11-30 15:58:24 +00:00
fredette
af0a38f1d6
In kernel config files, now mention the options SCSI_OLD_NOINQUIRY,
...
NFS_V2_ONLY, and VNODE_OP_NOINLINE, commented out as appropriate
for each configuration.
Convert to use genassym.cf and genassym.sh, as other ports do.
2001-11-30 15:54:31 +00:00
chs
bf5f058642
don't depend on other headers to include sys/proc.h for us.
2001-11-30 07:53:13 +00:00
enami
a0ae8adf89
Declare some asm statement with output as volatile. Without this,
...
gcc with -march=pentiumpro produce bad code.
2001-11-30 06:53:56 +00:00
gmcgarry
f6b3e39803
Don't abuse preprocessor flags.
2001-11-30 06:40:52 +00:00
gmcgarry
b35b20d732
Remove clock_machdep.h.
2001-11-30 06:30:52 +00:00
thorpej
0046f5dadd
- Comment-out EXT2FS, MSDOSFS.
...
- Uncomment FDESC, KERNFS, PROCFS,
- Add commented-out DEBUG.
- Hard-wire the location of some of the on-board PCI devices.
- Also build a "netbsd-fxp0" with the root FS hard-wired to
the on-board Ethernet.
2001-11-30 03:01:23 +00:00
itojun
e86f5a87e8
sync with latest GENERIC.
2001-11-30 02:40:57 +00:00
thorpej
2494c460a5
Use inline functions for the byte swap routines. Allows libc to build
...
again (-Wshadow).
2001-11-29 22:32:45 +00:00
bjh21
de5af1d829
Add "options FLASHYTHING", which causes IPL changes to trigger screen border
...
colour changes. This gives quite a good real-time visual impression of what
the system's doing at reasonable overhead.
2001-11-29 22:17:16 +00:00
atatat
d8382e86b5
Make sure this directory is kept.
2001-11-29 20:07:52 +00:00
atatat
5d4244e082
We need to include <uvm/uvm.h> instead of (not) including
...
<uvm/uvm_extern.h> so that assym.h can be built.
2001-11-29 20:04:19 +00:00
thorpej
a2c8fc94fe
Provide a way for platforms to move away from the old RiscPC-centric
...
interrupt code. Garbage-collect some unused stuff.
2001-11-29 17:14:02 +00:00
thorpej
a93f7ef419
Provide a hook for platform-specific interrupt code to specify
...
the "spl" cookie in the switch frame.
2001-11-29 17:12:22 +00:00
thorpej
b0f775a467
Remove some overly-paranoid debug code that grovels too much
...
platform-specific internals.
2001-11-29 17:10:31 +00:00
simonb
dfb9621f52
Nuke dk_establish() and use device_register() instead.
...
Tested by booting off sd0 and sd1.
2001-11-29 08:40:59 +00:00
thorpej
8ae5055ed9
Add routines for accessing the general purpose I/O facility of
...
the i80312 Companion I/O chip.
2001-11-29 08:27:11 +00:00
thorpej
574dba96b1
Update copyright.
2001-11-29 08:26:18 +00:00
lukem
e54643e8f7
minor knf
2001-11-29 02:58:18 +00:00
lukem
efc46c2fb9
minor knf
2001-11-29 02:46:55 +00:00
thorpej
c5ecb8d8c5
Use the new arm_dcache_align variable to set the PCI device BHLC
...
register.
2001-11-29 02:26:50 +00:00
thorpej
959181a8b2
Fetch cache info from the Cache Type register on ARM7TDMI and "greater"
...
processors. Report this when the processor is attached.
2001-11-29 02:24:58 +00:00
mjl
90acd67a3c
Need CACHELINESIZE for libkern memset.
2001-11-29 00:16:35 +00:00
thorpej
636e9cd08b
Add a "cacheline_size" argument to pci_configure_bus(). It is used
...
to set the cacheline size in the BHLC register. This should be the
size of the largest D-cache line on a system.
2001-11-28 23:48:34 +00:00
thorpej
85a1db0fda
Disable MRL, MRM, and MWI for now.
2001-11-28 22:39:09 +00:00
thorpej
bd3e75a9df
Oops, make sure to add in the physical base of the PCI memory
...
window when mapping PCI mem space. (Whee, I can take out my
local hack, now).
2001-11-28 21:08:47 +00:00
manu
55c08f5ede
Back out the copy of theses files to userland
2001-11-28 20:13:34 +00:00
thorpej
818da5433c
Make this compile again after the cs8900 driver changes.
2001-11-28 19:32:07 +00:00
kleink
e5341ee40f
No point in installing svr4_machdep.h.
2001-11-28 13:14:12 +00:00
manu
fa1e4588d9
We need to copy new SVR4 header files to /usr/include/sys...
2001-11-28 12:13:49 +00:00
manu
a268e72f56
Add support for COMPAT_IRIX
2001-11-28 11:56:43 +00:00
manu
f73e64b4be
Added support for COMPAT_IRIX
2001-11-28 11:54:15 +00:00
lukem
ecb81c3f6d
- convert usage of "defopt" to "defflag" where the relevant option does
...
not support a value (e.g., it's to be used as "options FOO" instead of
"options FOO=xxx"). options that take a value were converted to
defparam recently.
- minor whitespace & formatting cleanups
2001-11-28 10:21:10 +00:00
kleink
a83174b856
Update to reflect that unlike in m68k a.out environments, where the .align
...
directive is given a log2 argument, .align is given a linear argument in
m68k ELF environments.
2001-11-28 09:49:51 +00:00
nisimura
9f8ca586ad
Fix a small typo in comment.
2001-11-28 08:49:19 +00:00
lukem
71376e0797
use #ifdef MEMORY_DISK_DYNAMIC (for consistency with the rest of the kernel)
2001-11-28 05:55:34 +00:00
lukem
9cd50b3b95
use #if defined(x) instead of #if defined x
2001-11-28 05:47:37 +00:00
lukem
9f42ccc795
use #ifdef DDB (for consistency with the rest of the kernel)
2001-11-28 05:45:27 +00:00
lukem
e336250e74
use #ifdef INET instead of #if INET (for consistency with the rest of the kernel)
2001-11-28 05:22:48 +00:00
thorpej
a9b25a66fa
When processing ASTs:
...
- Loop until astpending is clear upon return from ast().
- Clear astpending *before* re-enabling interrupts.
2001-11-28 01:31:59 +00:00
thorpej
379948c31f
- Garbage-collect some unused cruft.
...
- When processing ASTs, restore interrupts *after* clearing astpending.
2001-11-28 01:06:19 +00:00
thorpej
b9caa4cbc7
Don't grovel interrupt-related info here; if a platform wants to
...
do that, let it do that in a way it can control.
2001-11-28 00:19:53 +00:00
thorpej
a2fa0b1029
Add prototypes for new XScale write-through cache routines.
2001-11-28 00:18:46 +00:00
thorpej
8e96318c12
Don't define interrupt handler-related offsets here.
2001-11-28 00:18:13 +00:00
thorpej
28466919a2
Use <machine/intr.h> rather than <machine/irqhandler.h>
2001-11-27 01:03:52 +00:00
thorpej
ce1401fe6e
Use <machine/intr.h>, not <machine/irqhandler.h>
2001-11-27 00:53:11 +00:00
thorpej
7184ed949e
Update copyright notice.
2001-11-27 00:35:34 +00:00
thorpej
34ce8c531b
Don't need to include <machine/irqhandler.h>
2001-11-27 00:34:48 +00:00
thorpej
0a6ce2ccf5
Use the generic 32-bit ARM genassym.cf
2001-11-27 00:25:32 +00:00
thorpej
8d636bc825
Blah, hpcarm also has its own intr.c
2001-11-27 00:24:44 +00:00
thorpej
8cd82ab7b7
Move interrupt-related stuff out of the generic 32-bit ARM genassym.cf
...
and into platform-specific genassym.cf files.
2001-11-27 00:15:58 +00:00
thorpej
37677ca786
Allow port-specific Makefile fragments to specify a list of additional
...
genassym.cf fragments, if desired.
2001-11-26 23:54:49 +00:00
thorpej
2c47b0a10f
Pasto in last.
2001-11-26 23:52:58 +00:00
thorpej
ed112809c9
Allow port-specific Makefile fragments to specify a list of additional
...
genassym.cf fragments, if desired.
2001-11-26 23:44:58 +00:00
thorpej
9d58f1fcb2
Rename NOCACHE -> PPC_4XX_NOCACHE to avoid conflict with the namei
...
flag of the same name.
From Frank van der Linden <fvdl@wasabisystems.com>.
2001-11-26 23:31:56 +00:00
fredette
f0002ba642
Added macros for the bits in the SYSBUS byte, and macros
...
for the i82596 PORT access interface, from the documentation
for that chip. These help clarify writes to the SYSBUS
part of the SCP, and PORT usage by i82596-aware drivers.
2001-11-26 23:30:59 +00:00
thorpej
9235283af1
Rename NOCACHE -> PPC_4XX_NOCACHE to avoid conflict with the namei
...
flag of the same name.
From Frank van der Linden <fvdl@wasabisystems.com>.
2001-11-26 23:26:33 +00:00
thorpej
77fdde7f2c
Reset the unused RPN bits in a TLBLO to 0, as specified by the PPC401B3
...
user's manual, page 8-40.
From Frank van der Linden <fvdl@wasabisystems.com>.
2001-11-26 23:24:20 +00:00
thorpej
2d89f9075b
Move interrupt-related stuff out of stubs.c into intr.c.
2001-11-26 23:19:04 +00:00
thorpej
bb706190b3
Add code to run the XScale cache in write-though mode, and do so
...
for now...
2001-11-26 22:26:44 +00:00
manu
12c949a188
Added COMPAT_IRIX (being developped, not functionnal at that time)
2001-11-26 21:38:41 +00:00
fredette
708a12fced
A new config file for VME-only machines
2001-11-26 21:20:35 +00:00
fredette
7bed926c6e
COMPAT_SUNOS requires the 1.3 sigreturn code, so include it
...
even if COMPAT_13 isn't defined.
2001-11-26 21:10:32 +00:00
thorpej
0ca43a5fde
Use <arm/arm32/psl.h>, not <machine/psl.h>.
2001-11-26 20:51:57 +00:00
thorpej
87f09650f1
Oops, don't use the generic spl.S; hpcarm provides its own.
2001-11-26 20:49:52 +00:00
thorpej
c8c624e4aa
Don't include <machine/psl.h> directly.
2001-11-26 20:49:04 +00:00
thorpej
e0c4ce6999
Use <arm/arm32/psl.h> rather than <machine/psl.h>.
2001-11-26 20:43:46 +00:00
thorpej
87cab44e4e
Delete <machine/psl.h> from the ARM ports. It's not a header that
...
we need to provide to MI code or to userland, and it's also not a
header that generic ARM code should be including directly.
2001-11-26 20:41:42 +00:00
thorpej
534b950d29
Move the interrupt-related file declarations into port-specific
...
config descriptions so that each port choose whether or not to
use it.
2001-11-26 20:33:43 +00:00
thorpej
7b3d7b3072
Remove the NEWINTR stuff; it's not used, incomplete, and I'm trying
...
to detangle the ARM interrupt code.
2001-11-26 20:26:20 +00:00
thorpej
8ec81cf263
Sprinkle CPWAIT around to enforce some barriers. Also deal with some
...
pre-B-step errata: must clean-dcache-line to an address before
invalidate-dcache-line to that address, or the dirty bits will not
get cleanred in the dcache array for that line.
2001-11-26 18:09:08 +00:00
fredette
3de224080a
trap1 also needs to be handled under COMPAT_SUNOS.
2001-11-26 18:08:37 +00:00
fredette
877ea05895
Only declare the console keyboard on zs if it's a Sun-2
...
or later keyboard.
2001-11-26 18:06:36 +00:00
thorpej
d8415403ba
Fix brain'o in handling of schedhz and profhz. Also, make sure to
...
compute tickfix after computing tick (not that tickfix should ever
be non-zero, but there for completeness).
2001-11-26 18:01:05 +00:00
fredette
6aa55077e7
Disabled some more things that lighter kernels don't need,
...
and picked up some formatting fixes from GENERIC.
2001-11-26 17:51:08 +00:00
shin
3dfc0ff3ab
fix pasteo.
2001-11-26 13:16:17 +00:00
itojun
8391ace8b7
in_cksum.s is needed for inet6 too
2001-11-26 02:55:39 +00:00
thorpej
3b97bd4996
Remove dummy includes.
2001-11-26 01:03:58 +00:00
thorpej
da03707c2f
Moved to <sys/disklabel_acorn.h>
2001-11-26 01:03:23 +00:00
thorpej
e4b45721eb
Remove Shark-specific header file.
2001-11-26 01:03:00 +00:00
thorpej
dc19fe137e
Don't install includes which userland doesn't need.
2001-11-26 01:02:28 +00:00
thorpej
013b705fdc
G/c the unused (and #if 0'd) bits of cpu_disklabel. Fetch disklabel_acorn.h
...
from the correct place.
2001-11-25 19:02:03 +00:00
thorpej
1b71762f33
Move disklabel_acorn.h to <sys/disklabel_acorn.h>, much like we did
...
with disklabel_mbr.h. More cleanup yet to come.
2001-11-25 16:22:47 +00:00
minoura
090189cb5a
Surround a conditionally used varable with #if.
2001-11-25 16:11:56 +00:00
minoura
bbfb453233
Remove unused variables.
...
Correct printf format strings.
2001-11-25 16:00:05 +00:00
thorpej
2b74082b7b
End the "new ARM includes strategy" experiment. The new strategy
...
broke too many assumptions makde by other parts of the source tree,
and the strategy and how it was supposed to work was never discussed
on tech-userlevel, nor was it applied consistently (to all ARM ports
and to other ports which have common MACHINE_ARCH code, such as MIPS,
m68k, powerpc).
Verified to complete a full "make build" on cats, dnard, evbarm,
and netwinder.
2001-11-25 15:55:53 +00:00
minoura
fe68996902
Previous commit was incomplete.
2001-11-25 15:45:26 +00:00
minoura
e8ac9084a2
Make this file compile again.
2001-11-25 15:43:06 +00:00
minoura
bc2457e5a5
Delete unused variables.
2001-11-25 15:42:23 +00:00
soren
bf7d9c855e
Adjust for dsclock name change.
2001-11-25 15:26:03 +00:00
soren
07992b8797
Forgot pooka's license header.
2001-11-25 15:13:53 +00:00
soren
45192487a5
O2 RTC attachment, based on code from Antti Kantee.
2001-11-25 15:05:04 +00:00
takemura
21006d2057
Added SigmarionII entry.
2001-11-25 14:39:50 +00:00
takemura
365ab4ac40
Deleted unused include files.
2001-11-25 14:39:20 +00:00
isaki
9803619f9a
Sync with GENERIC 1.67
2001-11-25 05:21:12 +00:00
isaki
adf7d48092
Add an ethernet part of Nereid.
2001-11-25 05:10:03 +00:00
minoura
9011251c05
Sync. with GENERIC plus others.
2001-11-25 01:27:49 +00:00
minoura
67b7ba9580
se0 is dead.
2001-11-25 01:23:45 +00:00
minoura
fb3e999db8
One more floppy fix.
2001-11-25 00:42:11 +00:00
minoura
f7b4b90acd
Avoid using array chaining mode of DMAC.
2001-11-25 00:38:50 +00:00
lukem
73191c8c28
comment out CRYPTO_MD_DES_ENC & CRYPTO_MD_BF_ENC; they're not used
...
anywhere in the kernel, they're not defopt-ed, and config(8) -v
complains about them
2001-11-25 00:02:12 +00:00
thorpej
a3a8490ca2
Sanitize hpcarm includes somewhat, make them more like other ARM ports.
2001-11-24 17:39:31 +00:00
minoura
c5979593b7
Remove debug messages.
...
Fix bogus floppy check.
2001-11-24 16:38:16 +00:00
minoura
6018e68205
C version of installboot(8).
...
Shell script version required sed, od, etc. which were too big for install
media.
2001-11-24 16:26:56 +00:00
minoura
12c8367914
boot_ufs can now used as the disk primary boot.
2001-11-24 16:22:54 +00:00
minoura
a8f7d98ad9
Emit the binaries directly from the loader.
2001-11-24 16:18:44 +00:00
minoura
c957ecf172
Support BSD style disklabel on harddisks.
...
XXX need consistency check between the native label and the BSD label.
2001-11-24 16:08:25 +00:00
isaki
26b511b905
fix typo s/68551/68851/ in a comment.
2001-11-24 06:53:16 +00:00
thorpej
525c88a3c4
Cleanup, don't install headers that userland doesn't need.
2001-11-24 03:56:48 +00:00
thorpej
ccbcd042c1
Clean this up, don't install files that userland doens't need.
2001-11-24 03:54:52 +00:00
thorpej
ce8333e910
This is a Shark-specific file; don't need it here.
2001-11-24 03:52:34 +00:00
thorpej
c5269c1608
Make the ARM, Ltd. floating point emulator work w/ ELF.
2001-11-24 03:39:17 +00:00
thorpej
372f11b657
The ARM, Ltd. floating point emulator has moved to arch/arm.
2001-11-24 01:43:20 +00:00
thorpej
fc2c469259
The ARM, Ltd. floating point emulator has moved to arch/arm.
2001-11-24 01:27:11 +00:00
thorpej
87fe867c21
Move the ARM, Ltd. floating point emulator to arch/arm.
2001-11-24 01:26:23 +00:00
thorpej
598f003e0a
More G/C.
2001-11-24 01:16:54 +00:00
thorpej
1cfe216e3b
Garbage-collect more acorn32-specific stuff.
2001-11-24 01:15:36 +00:00
thorpej
99ae803762
Gerbage-collect a lot of stuff long since moved to arch/acorn32.
2001-11-24 01:11:51 +00:00
thorpej
1a60d78375
These files are no longer used; the Acorn RiscPC port is now
...
NetBSD/acorn32.
2001-11-24 01:02:21 +00:00
thorpej
ef9741def9
No need to install bootconfig.h
2001-11-24 00:57:43 +00:00
thorpej
2e546f76dd
Don't need "options PROG32" anymore.
2001-11-24 00:11:00 +00:00
soren
2e3553d407
Make sure to hook into DDB/KGDB if so requested.
2001-11-23 23:48:07 +00:00
thorpej
49592e9870
No need to install irqhandler.h
2001-11-23 23:34:48 +00:00
jdolecek
90fac765da
add 'drive' locator to mca edc
2001-11-23 22:35:46 +00:00
chs
9b6f5a226b
macos partition tables appear to use 512 bytes per record rather than
...
1 sector per record. change the label code to use the same layout
so that CDs with macos partition tables work.
2001-11-23 22:31:22 +00:00
jdolecek
851fb345aa
add mca_dmamap_create() prototype for MI code
2001-11-23 22:29:16 +00:00
jdolecek
ed11067c01
Properly glue in the MCA DMA controller support, using bus_dma
...
interface, using the code from dev/mca/edc_mca.c:edc_setup_dma()
as a base. Use ISA routines for dmamap/dmamem functions, primarily
to get the buffer bouncing for >16MB RAM machines. The MCA DMA
channel is stored in unused upper 4 bits of ISA DMA cookie's
id_flags, hopefully that's not too disgusting :)
Export mca_dmamap_create(), which returns map suitable for further DMA
operations using MCA DMA controller.
mca_busprobe(): also report if machine has 32bit DMA (feature byte 2
bit 1)
Use symbolic names for DMA controller commands - I've finally got
info what they mean from Tymm Twillman's Linux include/asm/mca_dma.h.
No more magic constants! Also fix bug in the way DMA counter has been
setup - for 16bit DMA, it's necessary to tell the controller _half_
the byte count. This was wrong in the former code.
2001-11-23 22:24:36 +00:00
thorpej
b8ed19b4ef
No longer need <machine/undefined.h>.
2001-11-23 21:23:30 +00:00
thorpej
fc019be5fd
Use <arm/undefined.h> instead of <machine/undefined.h>.
2001-11-23 21:18:29 +00:00
thorpej
597c20c6d6
Don't need a <machine/profileio.h> on these platforms.
2001-11-23 20:56:27 +00:00
thorpej
dbbad6df48
profileio.h is a Shark-specific header, so don't reference an
...
ARM-generic verion (it's going away).
2001-11-23 20:47:17 +00:00
thorpej
0a824f32cb
No longer need <machine/pte.h>.
2001-11-23 20:43:03 +00:00
thorpej
a41a73c44a
No longer need <machine/cpus.h>
2001-11-23 19:51:32 +00:00
thorpej
889b84bdfc
Use <arm/cpus.h>, not <machine/cpus.h>
2001-11-23 19:46:35 +00:00
thorpej
0ab1aedd0d
No longer need <machine/cpufunc.h>
2001-11-23 19:40:45 +00:00
thorpej
969599022a
Use <arm/cpufunc.h>, not <machine/cpufunc.h>.
2001-11-23 19:36:48 +00:00
thorpej
0c57d87232
Use <arm/cpufunc.h>, not <machine/cpufunc.h>.
2001-11-23 19:21:47 +00:00
thorpej
d60ef922be
Disable the BTB by default on the XScale again; there's some early
...
stepping errata to deal with before we can safely do this.
2001-11-23 19:17:04 +00:00
thorpej
5101f01dff
Move even more constants into the shared 32-bit vmparam.h header.
...
Cleanup elsewhere will have to be done before we can sanitize this
header any further.
2001-11-23 18:16:10 +00:00
thorpej
15c76e3c84
- Move more contents of various <machine/vmparam.h> files into
...
<arm/arm32/vmparam.h> (mostly the stuff that's tied to the pmap
implementation).
- Since the MMU definitions in pte.h are specific to ARM processors
that support 32-bit mode, move pte.h to <arm/arm32/pte.h>.
- Make the Netwinder startup file build again (use PT_B|PT_C, rather
than PT_CACHEABLE, since the latter expands to a variable these days).
2001-11-23 17:39:03 +00:00
thorpej
0ec8fbad4d
Extra whitespace removal.
2001-11-23 17:29:00 +00:00
thorpej
fec02f1259
No need to pull in <machine/pte.h> directly.
2001-11-23 17:23:40 +00:00
thorpej
299362f0ff
Pull in assym.h for __PROG32 (needed for IRQenable/IRQdisable macros,
...
which should probably be pulled out of cpu.h anyway...)
2001-11-23 16:53:07 +00:00
thorpej
926df47ec4
Provide __PROG32 to assembly code.
2001-11-23 16:50:48 +00:00
uch
0dff65d9f9
add missing simple_lock_init.
2001-11-23 16:21:31 +00:00
uch
4c8f0c8ea9
Update for the new cache code.
2001-11-23 16:09:11 +00:00
uch
9d6cd691b6
integrate BUILTIN_KERNEL_LOADER and KERNE_PATH into KLOADER_KERNEL_PATH.
2001-11-23 16:08:45 +00:00
uch
6bd02d8e33
add #ifndef _LOCORE.
2001-11-23 15:48:40 +00:00
atatat
f4c8a80b47
Oops. Add in missing entry point settings.
2001-11-23 15:44:15 +00:00
bjh21
c8dbbf25b2
all -> realall, so that "make dependall" works correctly.
2001-11-23 12:58:03 +00:00
tsutsui
d8879382cf
Add 32B/l L1 D/I-cache ops for newer ARC machines.
2001-11-23 06:21:49 +00:00
atatat
155e541aa2
Instead of checking for previous usage, just append to some make
...
variables. Tweak some variables to provide for more uniform defaults.
Minor adaption to makefiles for already converted ports.
2001-11-23 05:18:59 +00:00
atatat
2bf2c362fb
The bridge(4) pseudo-device no longer requires the port to
...
__HAVE_GENERIC_SOFT_INTERRUPTS, so add it back to all GENERIC configs.
2001-11-23 05:00:22 +00:00
simonb
1b1e4bd3d1
Remove hardcoded values for HZ (under different names!) from mcclock.c
...
and clock_machdep.h, so that now HZ can be any supported frequency of
the mc146818a/ds1287a RTCs.
Tested at 256Hz and 2048Hz.
2001-11-23 01:04:11 +00:00
thorpej
5278f1771c
Remove kerndebug.h from non-Shark code (it's a Shark-specific header
...
file, and probably should be done away with anyway).
2001-11-22 19:19:48 +00:00
thorpej
b9d3276c2e
No need for <machine/rtc.h> here.
2001-11-22 18:40:12 +00:00
thorpej
b393d0d3f7
Kill <machine/katelib.h>. Any place that still uses it should just
...
reference <arm/arm32/katelib.h> until such time as all use of this
file has been purged from the face of the earth.
2001-11-22 18:34:30 +00:00