wiz
55fbb5ff57
Grammar improvements in comments.
2001-09-16 16:40:44 +00:00
wiz
456dff6cb8
Spell 'occurred' with two 'r's.
2001-09-16 16:34:23 +00:00
uch
6a9bbffc4d
rearrange struct platform@sysconf.h suitable for hpcmips.
...
overhaul hpcmips/hpcmips/. no actual changes.
2001-09-16 15:45:42 +00:00
bjh21
33d596bef8
Add support for incoming IP broadcast packets. The protocol for this is
...
worked out by observing RISC iX's behaviour, so it may be technically
wrong. The only implementations of IP-over-Econet for which I've got
sources don't support broadcasts.
Tested using broadcast ping from RISC iX to NetBSD, and using rwhod.
2001-09-16 15:08:39 +00:00
bjh21
7763bd3d61
Crude hack to ensure that if a soft-interrupt handler schedules a soft
...
interrupt, the second handler gets called when the first returns.
2001-09-16 12:58:53 +00:00
ragge
bed9e93ceb
#define __HAVE_GENERIC_SOFT_INTERRUPTS for netisr_dispatch.h. This is
...
already defined in machine/types.h, but that file cannot be included
in an assembly file.
2001-09-16 12:51:03 +00:00
jdolecek
901ba4babe
remove unused defines; they duplicate appropriate defines from
...
<dev/ic/ncr53c9xreg.h> anyway
2001-09-16 10:39:10 +00:00
chris
244c9d9d95
Add the first tweak from PR 12364. Don't switch the flush block on an SA, as it makes second and subsequent flushes less efficient. The other tweaks are already committed.
2001-09-16 08:51:17 +00:00
manu
24838b2b54
Enabled the clockctl device for macppc, major 61
2001-09-16 07:21:32 +00:00
chs
1661137341
it's perfectly legal for pmap_extract() on the kernel pmap to not find
...
anything mapped there, even though it never used to happen. with today's
other changes it happens a lot now, so remove the debug check for it.
2001-09-16 05:40:46 +00:00
uch
961880b501
ANSIfy, KNF.
2001-09-16 05:32:18 +00:00
thorpej
e9d1fccd30
BWX-addressable space is aways linear, so always allow BUS_SPACE_MAP_LINEAR
...
requests to succeed (and ignore BUS_SPACE_MAP_PREFETCHABLE, since it makes
no difference in BWX-addressable space).
2001-09-16 03:50:01 +00:00
tsutsui
831524d3c1
Wrap some declarations with #ifdef _KERNEL and #ifndef _LOCORE .
2001-09-16 03:20:01 +00:00
thorpej
79ae830243
Add AGP support (oops, forgot to commit this file with the last batch).
2001-09-16 02:09:47 +00:00
eeh
d123f46864
Enable GEM, USB and Firewire drivers.
2001-09-16 00:14:35 +00:00
chs
64c6d1d2dc
a whole bunch of changes to improve performance and robustness under load:
...
- remove special treatment of pager_map mappings in pmaps. this is
required now, since I've removed the globals that expose the address range.
pager_map now uses pmap_kenter_pa() instead of pmap_enter(), so there's
no longer any need to special-case it.
- eliminate struct uvm_vnode by moving its fields into struct vnode.
- rewrite the pageout path. the pager is now responsible for handling the
high-level requests instead of only getting control after a bunch of work
has already been done on its behalf. this will allow us to UBCify LFS,
which needs tighter control over its pages than other filesystems do.
writing a page to disk no longer requires making it read-only, which
allows us to write wired pages without causing all kinds of havoc.
- use a new PG_PAGEOUT flag to indicate that a page should be freed
on behalf of the pagedaemon when it's unlocked. this flag is very similar
to PG_RELEASED, but unlike PG_RELEASED, PG_PAGEOUT can be cleared if the
pageout fails due to eg. an indirect-block buffer being locked.
this allows us to remove the "version" field from struct vm_page,
and together with shrinking "loan_count" from 32 bits to 16,
struct vm_page is now 4 bytes smaller.
- no longer use PG_RELEASED for swap-backed pages. if the page is busy
because it's being paged out, we can't release the swap slot to be
reallocated until that write is complete, but unlike with vnodes we
don't keep a count of in-progress writes so there's no good way to
know when the write is done. instead, when we need to free a busy
swap-backed page, just sleep until we can get it busy ourselves.
- implement a fast-path for extending writes which allows us to avoid
zeroing new pages. this substantially reduces cpu usage.
- encapsulate the data used by the genfs code in a struct genfs_node,
which must be the first element of the filesystem-specific vnode data
for filesystems which use genfs_{get,put}pages().
- eliminate many of the UVM pagerops, since they aren't needed anymore
now that the pager "put" operation is a higher-level operation.
- enhance the genfs code to allow NFS to use the genfs_{get,put}pages
instead of a modified copy.
- clean up struct vnode by removing all the fields that used to be used by
the vfs_cluster.c code (which we don't use anymore with UBC).
- remove kmem_object and mb_object since they were useless.
instead of allocating pages to these objects, we now just allocate
pages with no object. such pages are mapped in the kernel until they
are freed, so we can use the mapping to find the page to free it.
this allows us to remove splvm() protection in several places.
The sum of all these changes improves write throughput on my
decstation 5000/200 to within 1% of the rate of NetBSD 1.5
and reduces the elapsed time for "make release" of a NetBSD 1.5
source tree on my 128MB pc to 10% less than a 1.5 kernel took.
2001-09-15 20:36:31 +00:00
uch
80d8d09cd7
switch from splvec to ipl_sr_bits.
2001-09-15 19:51:38 +00:00
mrg
002ddf2283
in pci_conf_read() and pci_conf_write(), convert all printf()'s to only
...
occur if SPDB_CONF (and hence DEBUG). also convert the panic in
pci_conf_write() to a SPDB_CONF warning and a return.
this cleans up pcictl(8) support.
2001-09-15 19:32:14 +00:00
mrg
9680ade50a
add coda (untested; same cdev number as sparc) and pci (tested).
2001-09-15 17:51:02 +00:00
bjh21
91dae8ca83
Add minimal IP-over-Econet support and a load of bug-fixes. I can ping,
...
unreliably, between my RISC iX and NetBSD boxes with this. There's a lot
of work to go before it's solid, though.
2001-09-15 17:27:24 +00:00
uch
ba1ef3e899
ANSIfy.
2001-09-15 15:04:45 +00:00
uch
c04a1143f0
remove unneeded #include
2001-09-15 14:08:15 +00:00
uch
58f851eeb5
ANSIfy, KNF, change my copyright.
2001-09-15 12:47:04 +00:00
uch
7148cab49a
ANSIfy, KNF.
2001-09-15 11:13:20 +00:00
eeh
1007095edd
Only drop into the debuger if SDB_DDB is set.
2001-09-15 07:13:40 +00:00
eeh
984030b0ca
Fix locking problem.
2001-09-15 07:12:22 +00:00
eeh
a7283de29c
Be a bit more elaborate with UE DMA errors.
2001-09-15 07:10:04 +00:00
eeh
388726b340
Added iommu_extract() for debug purposes.
...
Anyone caught using it for anything other than debug will be shot.
2001-09-15 06:55:50 +00:00
thorpej
17d975073d
Oops, don't need to fill in pcibus_attach_args twice.
2001-09-15 04:50:59 +00:00
thorpej
fe5ada1fcc
Add PCI and AGP devices.
2001-09-15 04:40:21 +00:00
thorpej
927debe92b
Attach "agp" to the AMD-751 PCI host controller (Alpha UP1000/UP1100).
2001-09-15 04:33:37 +00:00
thorpej
6658cbc629
Only filter out the PCI_ID_REG in irongate_conf_read().
2001-09-15 04:31:40 +00:00
thorpej
e3d4f375aa
Give each AGP controller its own attribute, and let the "agpbus"
...
device (rather, the device that carries that attribute) also
carry one or more attributes indicating which type of controller
it might be.
This will allow systems that might have AGP, but would never have
e.g. an Intel PCI-Host bridge, to trim out code that won't be used.
2001-09-15 01:32:10 +00:00
wdk
7e9d52fd89
Remove unused extern
2001-09-15 01:19:38 +00:00
wdk
d9c3de97f0
Add bus_dma hooks for ISA Bus.
...
ISA bus option doesn't support DMA on the Magnum 3000 series, but other
models such as the M/120 do support it.
2001-09-15 01:17:47 +00:00
wdk
4fbe1c7977
Add lpt device
2001-09-15 01:11:02 +00:00
thorpej
8f077d92cc
Move the AGP device declaration stuff into files.agp.
2001-09-15 01:10:09 +00:00
wdk
919892c3c4
bus_space_mmap support based on -arc implementation
2001-09-15 00:49:53 +00:00
wdk
5b22c13d90
spllpt() for ISA Bus printer support
2001-09-15 00:46:13 +00:00
thorpej
0019ea5ce6
Clean up the AGP match/attach code somewhat.
2001-09-15 00:24:59 +00:00
nathanw
718551d644
Change all instances of "[e]isa* at foo?" to "[e]isa0 at foo?".
...
This prevents attaching multiple [E]ISA buses, which we don't support
(Is there any such thing to support? I'm skeptical) and avoids the
"panic: isaattach: ISA bus already seen" that occurs on some laptops
with docking stations and EISA boxes. Since there is only one [E]ISA bus,
logically, the ISA device probe will still find devices on the
docking station.
This does not address the problem of inserting or removing the docking station
at runtime.
Relevant PRs: kern/6544, port-i386/10392, kern/11627, kern/13557,
install/13865.
2001-09-14 21:44:21 +00:00
nathanw
958ea7b111
Add the PCI device.
2001-09-14 21:14:08 +00:00
nathanw
32b0166603
Return ~0 for all config space reads on devices < 11 on the primary bus,
...
rather than returning ~0 for PCI_ID_REG and panicing otherwise.
2001-09-14 21:04:58 +00:00
thorpej
f23828cddd
Don't declare intrhand[] here -- that's taken care of in intr.c.
2001-09-14 19:18:13 +00:00
jdolecek
7f5706b514
fix indentation
2001-09-14 18:29:08 +00:00
uch
a902597034
debug printf change.
2001-09-14 17:12:43 +00:00
uch
a970042213
HITACHI PERSONA keyboard support. patch by KIYOHARA Takashi.
2001-09-14 17:11:51 +00:00
msaitoh
9cd1fceecc
remove obsolete file
2001-09-14 11:39:39 +00:00
thorpej
b9fffe1967
Allow bus front-end to provide both ioctl and mmap entry points,
...
and also the wsdisplay type.
Based on changes from Simon Burge <simonb@wasabisystems.com>.
2001-09-14 01:10:11 +00:00
briggs
c477d3ad28
Define __BUS_SPACE_HAS_STREAM_METHODS since the functions are there. Noted
...
on tech-kern & port-mac68k by "John Ruschmeyer" <jruschme@mac.com>.
2001-09-14 00:58:08 +00:00
chris
5cb5484ce3
Sprinkle some static and inline into a couple of functions. Remove dead entries from pmap.h.
2001-09-13 23:56:01 +00:00
eeh
266e77d773
Define SYSDIR if not already defined.
2001-09-13 23:19:59 +00:00
chris
5695ad388d
Update pmap_clearbit to flush the cache if the area is being made readonly. Also only do this and the tlb flush if the pmap is the current pmap.
2001-09-13 22:45:23 +00:00
thorpej
face3e948d
Add "pci" at cdev 83.
2001-09-13 22:08:44 +00:00
tshiozak
5341bac833
correct the set/get trigger code for ALi M1543 interrupt router.
2001-09-13 14:00:52 +00:00
pk
0a4ccdfd3c
Some sun4c machine (e.g. an IPC) can also have just 7 register windows,
...
so check for a possible context switch optimization #if SUN4C too.
2001-09-13 13:25:48 +00:00
pk
e85ab176f8
The SAVE macro used in the context switch code wound up being defined
...
only if MULTIPROCESSOR in rev 1.142, causing spurious register window
corruption on some machines.
2001-09-13 13:12:13 +00:00
manu
dea90b1ed2
Linux emulation is no longer experimental, removed comment
2001-09-12 21:05:37 +00:00
rjs
fcd39c5f2e
Add bs_notimpl_bs_mmap to bus space struct.
2001-09-12 12:32:16 +00:00
rearnsha
9358e3ecc3
Fix warning errors for printing size_t types when compiling with
...
DEBUG_DMA (uses casts due to a.out and ELF having different base
types for size_t).
2001-09-12 09:41:50 +00:00
fvdl
43bbb8500a
Apparently some ServerWorks Host-PCI bridges only get their memory space
...
enabled, even though IO space does work. A few drivers (like ahc)
will only work reliably with IO space, so check for this condition
and correct it.
2001-09-12 08:25:17 +00:00
jmc
9185cf1b34
Add mtrr.h to INCS list to get installed on a make includes
2001-09-12 04:44:21 +00:00
chs
0f63dc99dc
replace pmap_enter() with pmap_kenter_pa() where appropriate.
2001-09-11 20:37:12 +00:00
bjh21
5321796010
Add a minimal bus_space_mmap which always fails. The MEMC can only map DRAM
...
into the user's address space -- I/O devices can only ever be got at by the
kernel.
2001-09-11 11:38:59 +00:00
chs
e5c9089c28
fix typo.
2001-09-11 07:30:51 +00:00
eeh
93b54eb36a
Implement pmap_growkernel().
2001-09-11 04:35:43 +00:00
bjh21
e416135347
Driver for the standard Archimedes Econet interface, based around the
...
Motorola 6854 ADLC.
2001-09-10 23:41:48 +00:00
chris
bd81d66bb5
Update the pmap following some comments from Chuck Silvers:
...
Remove some overzealous locking of HEAD_TO_MAP
Remove a potential deadlock in pmap_copy_page
Change alloc and free l1pt to use kenter/kremove.
Update pmap_map to use kenter (only actually used by dumpsys, so no matching kremove)
2001-09-10 23:40:02 +00:00
bjh21
c30b958988
Add fiq_installhandler(), so the current FIQ owner can change what handler
...
they've got installed without relinquishing the FIQ.
2001-09-10 23:17:48 +00:00
chris
70907ad742
Add stubs for mmap to footbridge, must implement proper mmap real soon.
2001-09-10 23:05:19 +00:00
chris
0e7661f023
Update pmap_update to now take the updated pmap as an argument.
...
This will allow improvements to the pmaps so that they can more easily defer expensive operations, eg tlb/cache flush, til the last possible moment.
Currently this is a no-op on most platforms, so they should see no difference.
Reviewed by Jason.
2001-09-10 21:19:08 +00:00
eeh
574892a487
Get rid of spurious OF_getprop().
2001-09-10 16:27:53 +00:00
eeh
9d636228e1
Sun Blade 100 support (and some psycho fixes from Jason Wright).
2001-09-10 16:17:06 +00:00
pooka
58bcf84390
Add bs_notimpl_bs_mmap into the bus space struct to make this cope with
...
the recent ARM bus_space_mmap() change and hence make this compile.
2001-09-10 15:47:38 +00:00
rafal
39c82fe985
Use the newly committed imcreg.h to get rid of the magic numbers polluting
...
this file; while I'm here, rework the GIO arbitrator parameter setup to
match more closely what is done by lunix on the same hardware... Finally,
on a tip from Wilbern Cobb, preserve the graphics-related bits of the
GIO arbitrator parameter register from the PROM-initialized settings so
ARCS console on the graphics display works (tested on both my Indy with
Newport and my Indigo2 with XL gfx).
2001-09-10 15:36:19 +00:00
eeh
e29b0dab62
Change some debug printfs to make gcc happy.
2001-09-10 14:56:33 +00:00
rafal
efa747227e
Register defines for the SGI MC memory controller. Not 100% complete, but
...
has enough register/bit definitions to get rid of all the magic numbers that
currently pollute imc.c
2001-09-10 14:13:31 +00:00
fvdl
8e76d96c85
wrap decl in #if NAGP > 0
2001-09-10 10:54:46 +00:00
fvdl
5f5910616d
Oops, didn't mean to enable agp by default yet.
2001-09-10 10:19:12 +00:00
fvdl
927ade4753
Add agp* at pchb?
2001-09-10 10:18:37 +00:00
fvdl
5b6f2046cc
Add MTRR option.
2001-09-10 10:17:29 +00:00
fvdl
30bd1cf759
Clean up 'volatile' MTRRs owned by a process when it exits.
2001-09-10 10:14:57 +00:00
fvdl
5b0257ed49
Backend for MTRRs on PII and up or Athlon CPUs. The only other implementation
...
is on the AMD K6.
2001-09-10 10:14:21 +00:00
fvdl
86b144f468
Syscall frontend for mtrr functions.
2001-09-10 10:13:04 +00:00
fvdl
38db8748a4
Initialize MTRRs on startup if they're enabled.
2001-09-10 10:12:16 +00:00
fvdl
78742dd0e0
Add flag to indicate that a process set some mtrrs that need to be
...
cleaned up automatically on exit.
2001-09-10 10:11:21 +00:00
fvdl
c823d05ca0
Add definitions for mtrr syscalls.
2001-09-10 10:10:57 +00:00
fvdl
e0a68652a8
MTRR include file, based on the one by Bill Sommerfeld from the i386 mp
...
branch.
2001-09-10 10:10:33 +00:00
fvdl
a46fbfc5a8
Add agp device.
2001-09-10 10:08:40 +00:00
fvdl
d106bb1f19
Add agp files (enabled only on i386, but the main code itself should not
...
be MD, so could be enabled on other platforms).
2001-09-10 10:08:10 +00:00
fvdl
2c8172cbd3
Attach agp gart support @ pchb. Not very clean, but agp support may
...
be spread over several devices, and the phcb is usually the main one.
Add agp_machdep.c file which implements MD agp functions (currently
just agp_flush_cache).
2001-09-10 10:06:54 +00:00
msaitoh
78db8b9715
add missing check for framing error
2001-09-10 08:50:33 +00:00
perry
edea1a2c17
Make it possible to query each battery individually by making the
...
APM_IOC_GETPOWER ioctl read/write. Setting the batteryid in the passed
structure returns the data for just that battery. The old ioctl
remains for binary compatibility but has been renamed.
Itojun already did the hard work -- I just added a couple of lines.
reviewed by: thorpej
2001-09-10 05:23:30 +00:00
reinoud
a425cc29ac
Make it compile again if for some configuration there are no FIQ's ... It
...
complained about the unused label.
2001-09-10 02:21:42 +00:00
reinoud
7bace466ad
Initial commitment of the bus_space_mmap() functions as proposed by Jason R
...
Thorpe as an extension to the bus_space(9) API.
Only the mainbus has a working mmap... iomd, podulebus and isa dont have
one yet. Its trivial to add the iomd and isa's memory part but am a bit
hessistant to add it without knowing its implications by heart.
Podulebus might be implemented in 32 bits EASI but otherwise its not really
transparent since there is AFAIK no function to explicitly read one byte or
so .. or is this implemented in a higher level ?
ARM26 and arch/arm32/dnard (Shark) kernels compile and RiscPC and Shark
kernels are tested and function OK.
Implications of other ARM systems like hpcarm and ebarm are propably
minimal or solved trivially.
2001-09-10 02:20:19 +00:00
matt
97c7e7fe8d
Always include -Wno-main
2001-09-09 22:53:02 +00:00
chs
7d353e82b0
- in PMAP_IS_ACTIVE(), the kernel pmap is always active, and we don't
...
need to check for curproc being non-NULL since none of the pmap
interfaces which are legal to use in interrupt handlers use this macro.
- use the hit op when flushing the cache in pmap_kremove().
- avoid trusting the optimizer in pmap_clear_reference().
- fix pmap_clear_modify() to reset the mod-bit emulation so we can
detect further modifications to the page, also flushing the cache
for any mappings which might have dirty lines.
2001-09-09 19:48:12 +00:00
perry
fe9074d8dc
boost maximum MAXUSERS to 128
2001-09-09 18:36:36 +00:00
bouyer
a4638cc6d5
Properly initiatize sc->sc_wdcdev.set_modes for non-DMA controllers.
2001-09-09 16:08:49 +00:00
reinoud
180a40eb5b
A long int for kernel sizes is a bit overdone for an arm32 ... make it
...
compile again by changing the format string to use ints.
2001-09-09 15:15:14 +00:00
tls
3d4146e21f
Add asm versions of blowfish and des transforms for i386.
...
This also involved updating the in-kernel DES functions to correspond
to the versions in our in-tree OpenSSL, because the des_SPtrans table
has changed; the asm code will not work with the old permutation table!
C and i386 asm code for the DES, 3DES, and Blowfish CBC modes is also
included; it is not currently built as the ESP processing in esp_core.c
splits the CBC operation and the cipher transform apart. Hopefully that
will be fixed as there is a substantial performance improvement to be had
from doing so. It will remain necessary to use the C version of the
Blowfish CBC function on some i386 machines, however, as the asm version
uses bswapl, which ony 486 and later processors have. The DES CBC code
doesn't have this problem.
Finally, change esp_core.c to use the ecb3_encrypt function instead of
calling ecb_encrypt three times; this improves performance a bit, in
particular in the asm case.
2001-09-09 11:00:59 +00:00
toshii
7c9e82d6e3
Don't define pcb_* register macros.
...
pcb_sp macro conflicts with sys/netinet6/ipsec.c.
2001-09-09 10:33:42 +00:00
toshii
9665c1bcc3
Use arm/arm32/vm_machdep.c instead of hpcarm one.
2001-09-09 09:59:24 +00:00
toshii
b45ffd445a
Readd sacom to cdevsw.
2001-09-09 09:54:13 +00:00
toshii
17e80273eb
#include "sacom.h" for constab[].
2001-09-09 08:07:36 +00:00
matt
8402e4d93f
Fix a missing restore interrupt. disable interrupts around pvo_enter in
...
pmap_kenter. Shouldn't be needed but ...
2001-09-09 04:35:22 +00:00
simonb
a41b7a380e
Clean up and standardise across MIPS ports.
2001-09-09 04:20:25 +00:00
enami
d182b51372
Don't print extra space when printing information about cpu of unknown vendor.
...
# and minor stylistic change while i'm here.
2001-09-09 02:10:44 +00:00
enami
bab65a8da3
Mix random data directly into the pool and increase entropy instead of
...
estimating entropy with polling based timing.
2001-09-09 00:48:54 +00:00
thomas
35ad82f0df
Make the bootloader ELF aware.
...
It can load either a.out or ELF, depending on compile options.
2001-09-08 16:57:09 +00:00
thomas
b2990af499
ELF adaption.
2001-09-08 11:21:02 +00:00
thomas
f433d91346
Now the default ecexutable is ELF.
...
Add COMPAT_AOUT_M68K to GENERIC options.
2001-09-08 11:19:06 +00:00
thomas
d059704139
ELF adaption, clockframe must be packed.
2001-09-08 11:16:43 +00:00
thomas
e97e2309f0
ELF abaption.
2001-09-08 11:15:35 +00:00
thomas
eb5341b79a
Some ELF adaption.
2001-09-08 11:14:33 +00:00
thomas
f34c1c216e
Return a useful exit status.
2001-09-07 23:09:36 +00:00
sato
9545f31823
initial support of vr4131 bcu.
2001-09-07 16:06:03 +00:00
sato
a18f21f23e
VR4131 have same restriction as VR4122.
2001-09-07 16:04:03 +00:00
sato
5e44e9de0e
add VR4131 releated definisions and change.
2001-09-07 16:02:56 +00:00
tsutsui
66187ea9e9
Fix function names in panic messages.
2001-09-07 10:35:59 +00:00
lukem
cb33448ead
use options SPACE TAB
2001-09-07 00:18:27 +00:00
thorpej
b42556773f
Driver for the Dreamcast mouse, based on the programming info
...
on Marcus's web site.
Not yet thoroughly tested, but does appear to generate events
that look okay.
2001-09-06 22:07:39 +00:00
fredette
2468247eff
In _bus_dmamap_load, now check the return value of pmap_extract
...
under DIAGNOSTIC, and fixed a bug where we weren't putting the
right size into a newly valid map.
2001-09-06 21:38:40 +00:00
nathanw
78d8966e59
Remove the infamous "DANGER WILL ROBINSON: FEN SET in cpu_fork!"
...
diagnostic. It's not indicative of an error condition.
The code sequence in question calls fpusave_proc(), which ultimately
calls alpha_pal_wrfen(0), which clears the FEN bit in the current
PCB. However, the diagnostic message is based on reading that bit from
the PCB representation in memory, which is not guaranteed to be kept
up-to-date with respect to the real PCB contents. According to the
AARM, third edition, II-B 4.2:
"If the PCB is read while ownership resides with the processor, it is
UNPREDICTABLE whether the original or an updated value of a field is
read."
The Alpha architecture does not provide a way to read the true value
of the FEN bit of the current PCB, so the test is simply removed.
2001-09-06 21:20:43 +00:00
thorpej
2d2a66209d
Indent.
2001-09-06 20:04:49 +00:00
fredette
b1b29ae867
Added -D__SVR4_ABI__ to XDEFS. Without it, m68k libkern assembly
...
functions don't return pointer values in %a0.
2001-09-06 20:04:16 +00:00
augustss
283601a95c
Comment out tr at pcmcia.
2001-09-06 13:29:29 +00:00
leo
558c39f10c
Changes for Chuck Silvers:
...
implement pmap_k{enter_pa,remove}() correctly.
remove various checks for impossible conditions.
other misc cleanup.
2001-09-06 06:27:54 +00:00
leo
975c7a2466
Make this finally compile again. It hasn't worked since the C_LABEL() got in.
2001-09-06 06:24:17 +00:00
thorpej
b6783070d6
Don't require tp->t_dev to be filled in in cold_sccparam().
2001-09-06 06:18:40 +00:00
thorpej
6203b547a5
Garbage-collect all the (outdated and totally useless) pmax stuff
...
in this code.
2001-09-06 05:31:49 +00:00
nathanw
2b5671fb41
The return address register ($ra) is callee-saved, not caller-saved.
2001-09-05 20:12:53 +00:00
thomas
42f770df19
Make the bootblocks build with ELF assembler.
2001-09-05 19:48:12 +00:00
matt
ff5f5ea027
Don't compile SPL/INTR stuff if NEWINTR is defined.
2001-09-05 17:08:41 +00:00
matt
779b9b4649
Fix some register definitions.
2001-09-05 17:05:36 +00:00
matt
2df33a5b6b
Add a NEWINTR option to reflect the new interrupt/spl being implemented in
...
evbarm.
2001-09-05 17:00:20 +00:00
matt
0b5b9ca90e
Change <machine/irqhandler.h> to <machine/intr.h>. Change
...
{irq,fiq}handler_t to struct XXXhandler
2001-09-05 16:23:10 +00:00
matt
792b7ebd13
Change <machine/irqhandler.h> to <machine/intr.h> since the latter always
...
includes the former and is a standard include file.
2001-09-05 16:17:35 +00:00
matt
c9fd88afcf
Don't clean the minidata cache by default on XScale.
2001-09-05 16:14:49 +00:00
matt
4370f884b2
Flesh XSCALE support.
2001-09-05 16:13:18 +00:00
matt
78944c67e3
Add an obio bus.
2001-09-05 16:12:36 +00:00
sato
3198fedb64
add VR4131 infomation.
2001-09-05 16:08:46 +00:00
sato
4891a8aac2
add more battery event.
2001-09-05 15:46:52 +00:00
sato
e085d9eae5
add option VR4131
2001-09-05 15:46:10 +00:00
tsutsui
38c6005c47
obio_find_mapping() takes PA. (missed in the previous commit)
2001-09-05 14:26:08 +00:00
tsutsui
1abb4c9be6
bcopy() -> memcpy(), bzero() -> memset()
2001-09-05 14:18:10 +00:00
tsutsui
fa5d9f83c2
bcopy() -> memcpy(), bzero() -> memset()
2001-09-05 14:03:48 +00:00
tsutsui
714fc1c519
- bcopy() -> memcpy(), strcpy()
...
- bcmp() -> (static inline) ether_cmp()
- 6 -> ETHER_ADDR_LEN
2001-09-05 13:55:27 +00:00
tsutsui
0427bd63a4
Remove register prefixes.
2001-09-05 13:35:30 +00:00
tsutsui
fb91456ba6
vm_offset_t -> vaddr_t
2001-09-05 13:31:36 +00:00
tsutsui
a02361c8d9
vm_offset_t -> db_addr_t
2001-09-05 13:30:24 +00:00
tsutsui
eabd6921ca
Remove register prefixes.
2001-09-05 13:27:53 +00:00
tsutsui
7fabaaf7e8
- vm_offset_t -> vaddr_t, vsize_t, paddr_t
...
- vm_size_t -> vsize_t
- remove register prefixes
- misc cleanup
2001-09-05 13:21:09 +00:00
tsutsui
573961b5bb
- vm_offset_t -> [pv]addr_t
...
- vm_size_t -> vsize_t
- remove register prefixes
2001-09-05 12:37:25 +00:00
tsutsui
0637b20a58
vm_offset_t -> [pv]addr_t (sync with sun3x/pmap.c rev 1.69)
2001-09-05 12:15:21 +00:00
tsutsui
6d1cb2df8e
Add pcn(4), sip(4) and tlp(4).
...
XXX epic(4) seems to have problem, while it works on macppc...
2001-09-05 11:54:43 +00:00
matt
1bf6aa62be
more evbarm files (very incomplete).
2001-09-05 04:53:39 +00:00
wiz
b2365a9603
Typo fix (specifc instead of specific).
2001-09-04 21:46:11 +00:00
wiz
b940fa8a83
Fix typos (CONS instead of CONF, and specifc instead of specific).
2001-09-04 21:45:19 +00:00
thorpej
81bcece4d4
Implement bus_space_mmap().
2001-09-04 16:32:42 +00:00
thorpej
4ce0b90ae3
Typos, pointed out by Luke Mewburn (gee, I guess I built a kernel
...
other than GENERIC).
2001-09-04 16:14:49 +00:00
matt
c9706a6175
include "fcom.h" since this is the only cats-specific device.
2001-09-04 14:47:05 +00:00
chris
55ccaa806a
Fix typos in conf.h. This stops the kernel from panicing on boot.
2001-09-04 10:21:28 +00:00
simonb
c3c682fc46
Oops, <sys/sched.h> isn't asm safe, move inside an "#ifndef LOCORE" block.
2001-09-04 09:23:27 +00:00
sato
0d347adcef
regen.
2001-09-04 08:46:59 +00:00
sato
b6f32dcf67
add VR4131 and some cpu.
...
add sigmarion2, MPC-304 and so on.
2001-09-04 08:46:39 +00:00
simonb
099f117735
Standardise the format of MIPS' <machine/db_machdep.h>.
2001-09-04 07:43:29 +00:00
simonb
a04de48d4b
Remove comment duplicated in <mips/bsd-aout.h>.
2001-09-04 07:36:11 +00:00
simonb
9c54b886a2
Make this the same as the other MIPS ports; ok'd by Wayne Knowles.
2001-09-04 07:24:23 +00:00
simonb
7970ec8018
More RCS ID cleanup.
2001-09-04 07:22:03 +00:00
simonb
156b308a83
Remove some more useless RCS ids.
2001-09-04 07:12:28 +00:00
thorpej
a08af3853a
Implement bus_space_mmap().
2001-09-04 06:57:26 +00:00
simonb
c91e08563f
Clean up.
2001-09-04 06:26:18 +00:00
simonb
3839989a12
Remove unneeded RCS header.
2001-09-04 06:24:54 +00:00
simonb
62fb390c64
May as well include <mips/cpuregs.h> in <mips/cpu.h> once rather than
...
in every MIPS port's <machine/cpu.h>.
2001-09-04 06:23:15 +00:00
simonb
214f5366ea
Centralise struct cpu_info declaration and related info to <mips/cpu.h>.
2001-09-04 06:19:21 +00:00
thorpej
102190b8fe
Implement bus_space_mmap().
2001-09-04 05:31:27 +00:00
nisimura
1bd02088cf
+ include "dev/wsfont/files.wsfont" for VGA change.
2001-09-04 02:59:32 +00:00
thorpej
47920741b0
Implement bus_space_mmap().
2001-09-04 02:37:08 +00:00
matt
3c50edd8fb
Switch hpcarm to common arm32 conf.c ; (small changes to vm_machdep.c to
...
make it compile under ELF)
2001-09-03 19:38:13 +00:00
matt
7ce6450eac
Add a merged <pcb.h> for arm26/arm32.
2001-09-03 19:20:27 +00:00
thorpej
f5c35acc6c
Eliminate a needless test, pointed out by Bill Sommerfeld.
2001-09-03 17:49:31 +00:00
drochner
fd065bcd87
add wsfont pseudo device
2001-09-03 17:18:22 +00:00
tsutsui
cc46ca4327
Add more working PCI devices on arc:
...
pcscp* at pci?
epic* at pci?
pcn* at pci?
rtk* at pci?
sip* at pci?
and remove le at pci, which is superseded by pcn.
2001-09-03 14:39:08 +00:00
mrg
be4df68bb5
don't explicitly size the intrhand[] array; fixes PR#13859 from <martti.kuparinen@iki.fi>
2001-09-03 13:07:21 +00:00
matt
9b16bbab9f
Move constab from conf.c to autoconf.c (since conf.c is going away shortly).
2001-09-03 05:02:18 +00:00
matt
e940b67ae4
Use new shared arm/arm32/conf.c
2001-09-03 04:28:51 +00:00
matt
d7c7a3ea02
Add __ELF__ stuff for resized types under ELF.
2001-09-03 01:51:39 +00:00
matt
b0f89169ee
Switch netwinder to use a common conf.c for the arm ports.
2001-09-03 01:50:00 +00:00
matt
cc353c4912
Sync hpcarm & arm32 conf.c (this entails shifting the i4b major numbers
...
up by one on arm32 and and adding notdef entries on hpcarm).
2001-09-03 01:33:38 +00:00
uwe
73b5928070
_bus_dmamap_load_mbuf: panic with correct function name.
2001-09-03 01:14:14 +00:00
matt
64bde37d3a
com (16550) attachment for iq80310
2001-09-02 18:50:13 +00:00
tsutsui
1f2768852a
Enable siop at pci.
2001-09-02 08:27:07 +00:00
mrg
3ec1b99028
place the main chunk of POWEROFSEVEN's config into the .inc file, and have
...
the 32 and 64 files define MACHINE_ARCH, CC, LD and AS appropriately to build
a 32 or 64 bit kernel, respectively. this allows either to be built on a
system that can generate 32 or 64 bit code.
2001-09-02 05:53:38 +00:00
eeh
2102cef10c
Add an entry for level-15 interrupts.
2001-09-02 01:45:47 +00:00
eeh
87bb8014dc
Get rid of all simba references.
2001-09-02 01:18:56 +00:00
atatat
5f25c01eff
Comment out bridge pseudo devices from ports that don't
...
__HAVE_GENERIC_SOFT_INTERRUPTS. bridge(4) doesn't compile there.
2001-09-01 23:08:40 +00:00
atatat
97c67a9bae
Add bridge pseudo devices to GENERIC configs
2001-09-01 21:52:23 +00:00
chs
8677b0ddf4
rearrange pmap_kenter_pa() to map unmanaged pages uncached as well.
...
this is apparently needed on the arc port.
slight optimization in pmap_kremove().
2001-09-01 17:08:19 +00:00
msaitoh
d3e7333a60
s/cpu_startup/sh3_startup/g in panic messages
2001-09-01 03:02:31 +00:00
martin
c51e03edde
Move struct segmap declaration inside #ifndef _LOCORE to make locore.s
...
compilable again.
2001-08-31 18:06:13 +00:00
eeh
5783dd5873
instance-to-path works on instances not nodes.
2001-08-31 17:10:54 +00:00
eeh
ed373b780a
Change data segment size calculations so we don't need to resize if the
...
bootloader did it for us.
2001-08-31 16:47:41 +00:00
simonb
023bdd2bf2
Use comments around the token after a #endif.
2001-08-31 04:44:54 +00:00
simonb
e5b3cbb4cd
Use comments around the token after a #endif.
2001-08-31 04:18:52 +00:00
simonb
a6b8c86af0
Remove an unneeded comment; ``sync'' with other "just include <mips/foo.h>"
...
files.
2001-08-31 03:53:22 +00:00
simonb
4ac4da1c52
G/C the unused kernel-only CLK_TCK #define.
...
XXX: does include/time.h still need <machine/limits.h>?
2001-08-31 03:46:03 +00:00
eeh
84fb62aba0
Handle kernels with data+BSS segments larger than 4MB.
2001-08-30 23:00:19 +00:00
eeh
f2e3486b5b
Preliminary UltraSPARC III suport (not enabled yet).
2001-08-30 22:58:30 +00:00
matt
04bdd02c1a
Make pmap_pte_insert STATIC so it will show up in DEBUG kernel with DDB
...
traces.
2001-08-30 22:06:44 +00:00
matt
4a580ee45e
Make sure to restore SR 0 since returning from a syscall is actually
...
one way of doing a process context switch.
2001-08-30 22:00:48 +00:00
matt
a140263932
Add new 7450 SPRs
2001-08-30 21:55:27 +00:00
matt
50b056bc3a
Teach db_trace that some low addresses are ok to trace.
2001-08-30 21:44:58 +00:00
rearnsha
46f383bde2
Adjust printf format string for size_t change.
2001-08-30 17:16:02 +00:00
mrg
10516949e9
add some sun4/sun4c/sun4m compat code so we can build 32 bit kvm. (these files are not even vaguely syncable.)
2001-08-30 09:32:23 +00:00
briggs
89829e4825
defines for OPENPIC_ICR / serial mode.
2001-08-30 03:08:52 +00:00
briggs
0ea9d87eb1
Create an opt_openpic.h and add both OPENPIC and OPENPIC_SERIAL_MODE to it.
2001-08-30 03:08:22 +00:00
briggs
f05abdee3c
- Change default time frequency to 100MHz from 66MHz.
...
- Support the serial mode interrupts (with a kernel configuration option)
on the Sandpoint X3.
- Initialize cpu_timebase.
- Enable tulip driver.
2001-08-30 02:08:42 +00:00
matt
e4892d7157
When invaliding single icache line on XScale, the branch target buffer
...
also needs to be invalidated. Also, but in the right sequence to empty
the pipeline on XScale.
2001-08-30 01:15:39 +00:00
simonb
352f878e45
Gah, fix a number of channel status/select bitfields.
2001-08-29 23:32:21 +00:00
nathanw
4666070137
Correct a comment: The address of the signal handler is passed to the
...
sigcode trampoline in pv (t12), not a3, and has been since the
beginning of time.
2001-08-29 20:17:08 +00:00
briggs
c50646a1f3
Add adw
2001-08-29 17:37:47 +00:00
itohy
a0f0f74348
Print extra information on machine check (AS500, AS600).
2001-08-29 14:14:33 +00:00
tsutsui
ab8b3ce5d3
Remove descriotion about homegrown sonic driver from TODO list
...
since it has been replaced with the MI driver.
2001-08-28 15:17:47 +00:00
eeh
b14bf2ceef
Fix incorrect parentheses.
2001-08-28 14:51:28 +00:00
ad
d46bbf4926
In the absense of any objection, move the rbus I/O range to 0x600-0x700
...
in the ARMADA config. On the M700 at least, the SMBus host controller lies
it 0x4000 (the beginning of the range allocated by default to rbus), and
stomping all over it causes bad things to happen.
2001-08-28 09:25:52 +00:00
matt
df0327518e
Add evbarm, ibmnws, mvmw88k, m88k
2001-08-28 05:59:48 +00:00
matt
dfbb14ad68
__syncicache needs to be exports to userspace as well as the kernel.
2001-08-28 03:03:43 +00:00
eeh
2879b54794
Enable some additional useful options like NFS_SERVER and RAID.
2001-08-28 02:43:49 +00:00
simonb
2d4d9f7fdc
Stop pci_configure_bus() from mapping PCI expansion ROMs. Fixes problems
...
with at least some sip (and possibly siop) cards on the walnut.
2001-08-28 01:35:06 +00:00
augustss
494454a87d
Comment out the hme driver; it's not totally MI yet.
2001-08-27 22:25:42 +00:00
augustss
b5937bf1d0
Add some missing network drivers.
2001-08-27 22:23:47 +00:00
eeh
228006bcc3
Add the driver for the LMC WAN adapter.
2001-08-27 18:52:09 +00:00
fredette
1676190cef
adjust the hack to build the SRT*.o files.
2001-08-27 13:07:03 +00:00
kanaoka
3b4f143fd8
- Correct a value of subend.
...
Pointed out by enami tsugutomo <enami@but-b.or.jp>.
2001-08-27 13:02:12 +00:00
augustss
0432180062
Add 7 new PHYs.
2001-08-27 12:08:00 +00:00
chris
37fb92dcab
Remove unused entries from the pcb. This is with a long term view of merging the arm26 and arm32 pcb's.
2001-08-27 11:39:43 +00:00
haya
31d98218e8
Add support for ALi M1543 in pcibios.
2001-08-27 08:21:20 +00:00
simonb
bbe2823aee
ANSIfy, KNF.
2001-08-27 06:18:08 +00:00
briggs
0667ea6c1c
text address is 0x90000, not 0x9000.
2001-08-27 04:53:27 +00:00
nisimura
df657b5158
Count and record memory error interrupts with evcnt(9).
2001-08-27 02:00:16 +00:00
matt
edc83ba7f4
Add xscale cpufuncs (using the sa110 ones when they are identical).
2001-08-27 00:00:27 +00:00
matt
e8f317bba8
Add xscale cpu functions
2001-08-26 19:41:57 +00:00
matt
4e642cc5fd
Add i80312 register definitions (just registers for now).
2001-08-26 19:25:47 +00:00
matt
08f4bcddf3
files file for xscale (i80312 aka iopxs)
2001-08-26 19:19:09 +00:00
fredette
d77c828c64
Fixed a bug processing options - we were ORing
...
an uninitialized auto into boothowto.
2001-08-26 18:39:15 +00:00
fredette
6682ab1fbf
Under __ELF__, getvbr must return its pointer value
...
in %a0, not %d0. This fixes many problems with
getting the PROM to halt and reboot the machine.
2001-08-26 17:12:11 +00:00
simonb
9d7facdb6e
Yanking a pmax-specific header should not have broken Alpha
...
compiles! Remove all pmax include files, copying 'struct pdma'
from <pmax/dev/pdma.h> into sccvar.h.
XXX: diffs between current pmax and alpha scc.c are almost as large
as the files themselves. Should clean this up...
2001-08-26 16:39:56 +00:00
tsutsui
62c3bdeea4
sysctl(2) -> sysctl(3) (in comments)
2001-08-26 16:22:20 +00:00
tsutsui
e1921cd311
Add one more pmap_update() missed in rev 1.14.
2001-08-26 16:05:25 +00:00
bjh21
6825e7d5ea
Garbage-collect pcb_onfault_lj, since it's unused and doesn't exist on
...
arm32 ports.
2001-08-26 14:15:07 +00:00
bjh21
66da5fecf2
KASSERT the presence of a FIQ downgrade handler before we try to call it.
2001-08-26 12:25:38 +00:00
bjh21
9c45cae8df
Make cmos_read() and cmos_write() globally visible, and make the instance
...
they operate on implicit. Also, stop abusing cf_unit, and remove a vast
swathe of unused code.
2001-08-26 12:24:24 +00:00
bjh21
0ff76b5187
Add fiq_off() and fiq_on().
2001-08-26 12:20:59 +00:00
mrg
e309f80412
remove bogus comment. noted by Tetsuya Isaki <isaki@par.odn.ne.jp> in private email.
2001-08-26 12:14:22 +00:00
ad
5bfd050aa7
Fix typo.
2001-08-26 12:05:55 +00:00
simonb
cddf6cf55b
Switch to MI SCSI and drop old pmax MD SCSI support completely.
2001-08-26 11:47:18 +00:00
simonb
47bb32d470
Use the common Makefile.powerpc.
2001-08-26 11:00:07 +00:00
simonb
7ec91f6656
Include ${THISPPC}/conf/Makefile.${TARGET_MACHINE}.inc if it exists (ala
...
mips' Makefile.mips).
2001-08-26 10:59:26 +00:00
chs
a026d7bc78
handle unmanaged pages correctly in pmap_remove_pv(),
...
fixes crashes when exiting X.
2001-08-26 06:03:11 +00:00
eeh
90ce2985e4
Do a more accurate compare.
2001-08-26 05:46:31 +00:00
eeh
5b0492f05e
Fix debug printf.
2001-08-26 05:44:46 +00:00
mhitch
ba61a3cc19
Fix memsize_scan() - cut and pasted code can't use physmem because it hasn't
...
been set yet.
2001-08-26 05:16:52 +00:00
matt
550ffff41b
Make all powerpc ports use a common Makefile.powerpc (except walnut)
...
Enforce -Wmissing-prototypes -Wstrict-prototypes for all ppc ports.
Split out macppc cpu support and make common to mpc6xx ports. Make
other mpc6xx ports use it. Add evcnts for mpc6xx traps.
2001-08-26 02:47:33 +00:00
chs
d0e2aef09a
add register prefixes. no change in generated .o files.
2001-08-25 23:08:39 +00:00
is
e2ad09e624
synchronize (addition of repulse driver).
2001-08-25 21:19:20 +00:00
is
bd5a12de41
Driver for the ALiENDESiGN Repulse board.
...
- only 8/16 bit precision supported
- no support for the Repulse special S/P-DIF I/O yet
- I think ac97.c needs some work.
2001-08-25 21:15:44 +00:00
chs
753f885263
add register prefixes in asms.
2001-08-25 21:14:44 +00:00
chs
db7d3946ac
add register prefixes. no change in generated .o file.
2001-08-25 21:08:02 +00:00
chs
d38ac3477c
remove -mwarn-no-reg-prefixes, it doesn't work with new gas.
2001-08-25 18:57:37 +00:00
chs
6fbd291760
add COMPAT_AOUT_M68K stuff.
2001-08-25 18:37:20 +00:00
bjh21
3f9dc1b3e8
In ioc_attach(), use ioc_irq_setmask() and ioc_fiq_setmask() rather than
...
twiddling registers directly. Also, remove an outdated comment.
2001-08-25 17:59:38 +00:00
bjh21
7da5d70599
Add fiq_on() and fiq_off(), to enable and disable FIQs at the CPU.
...
Call fiq_off() from start() and fiq_on() from cpu_configure(), so we're certain
not to get any FIQs during autoconfiguration.
2001-08-25 17:55:24 +00:00
bjh21
bf5b029d44
Make sure that soft interrupts are initialised in a "not pending" state.
2001-08-25 17:45:32 +00:00
mrg
71552c86a0
s/sparc/sparc64/ in a printf()
2001-08-25 15:05:22 +00:00
mrg
05403a4b92
turn off compat & some exec options
2001-08-25 15:04:26 +00:00
mrg
48fcc1a2c3
update a comment about R_UA_32 relocs.
2001-08-25 15:03:19 +00:00
bjh21
ed5e27cc44
Increase the size of a jmp_buf when using ELF, since this will be our last
...
chance to do so for a while. We don't use the extra space yet, but VFP
support is likely to need it.
2001-08-25 14:45:59 +00:00
mhitch
20039b1dd8
Use the PROM bitmap, if available, to determine available memory. Also
...
add support of multiple memory segments so machines that allow mixed
memory sizes can utilize all available memory.
2001-08-24 15:33:16 +00:00
chs
ba2c8088f4
use pmap_k* for buffer cache pages.
2001-08-24 04:34:25 +00:00
simonb
bcdac55add
Fix the display of the CPU clock speed.
2001-08-24 02:11:01 +00:00
simonb
8375df5b6a
Whitespace nits.
2001-08-24 02:07:34 +00:00
simonb
c8d4938fb4
Fix compile problems for kernels configured for MIPS1 support only.
...
Patch from Thilo Manske in PR #13703 .
2001-08-24 00:22:53 +00:00
eeh
1007ef1595
Fix backwards compare. (From Jason Wright)
2001-08-23 16:14:12 +00:00
tsubai
e20342e78d
Fix a bug introduced when machine_type.h was removed.
...
Now the kernel can read symbol table again.
2001-08-23 14:17:27 +00:00
chs
c540e9e70b
add a missing pmap_update().
2001-08-23 06:18:47 +00:00
chs
9fa41ab3b9
use cli/sti instead of splhigh/splx for MCOUNT_ENTER/MCOUNT_EXIT.
...
this makes clearer how much time mcount() is really taking.
2001-08-23 06:17:00 +00:00
nisimura
4d28b238b5
Add MX (PMAG-A) and TX (PMAG-RO/PMAG[B]-J) supports and replace CX
...
(PMAG-B) code with one found in dev/tc/ directory.
2001-08-23 01:29:31 +00:00
nisimura
9a409cff3e
Add MX (PMAG-A), CX (PMAG-B), TX (PMAG-RO/PMAG[B]-J) TC framebuffer
...
supports. None of them has any acceleration capability.
2001-08-23 01:16:52 +00:00
matt
d98bf76f56
Fix bootstrap loss of memory. Fix pmap_activate problem. Revamp debug
...
messages.
2001-08-22 22:17:57 +00:00
matt
ae5ab93687
Add 7450 recognization. 7450s use NAP mode. print out HID0 register
...
contents.
2001-08-22 21:09:05 +00:00
matt
076780a19c
Include the 7410/7450 hid definitions
2001-08-22 21:05:25 +00:00
thorpej
15dcb4a98e
Link the kernel at 1MB.
2001-08-22 19:44:47 +00:00
thorpej
9f019df56f
Allow a keypress on the console to transition from "halted" to "returning
...
to monitor".
2001-08-22 19:13:09 +00:00
thorpej
f0ea5cb1e9
Don't need to do the Alpha boot block checksum here :-)
2001-08-22 17:53:44 +00:00
hubertf
5366e197e2
More comment changes: 90x[B] -> 90x[BC]
2001-08-22 15:39:04 +00:00
hubertf
d08ed3cb49
90x[B] -> 90x[BC]
2001-08-22 15:28:57 +00:00
msaitoh
e380d9806e
devclass of sci[f] is tty
2001-08-22 13:32:45 +00:00
nisimura
153449a2b4
Restore icsr value assignment op which was lost since r1.21.
2001-08-22 09:20:38 +00:00
nisimura
9fac675c1e
Forgot to commit changes of intrcnt[] array and its indices.
2001-08-22 08:23:09 +00:00
nisimura
d3320a155b
NetBSD/pmax now has GENERIC_SOFT_INTERRUPTS.
2001-08-22 06:59:38 +00:00
thorpej
17c22a634f
Set PCI_NETBSD_ENABLE_IDE to 0x01, so that the first IDE channel
...
will be enabled.
2001-08-22 00:42:43 +00:00
thorpej
f5e6f05c1a
If PCI_NETBSD_ENABLE_IDE is set, enable the PIIX{3,4} southbridge
...
IDE channels on the P-5064 and P-6032, since PMON doesn't do it
for us (thus causing the `pciide' driver to ignore them).
2001-08-22 00:40:38 +00:00
bjh21
35228f775a
Two related changes:
...
Make splhigh disable IRQs at the CPU rather than at the IOC. This has the
potential to be faster, and more importantly ensures that splhigh() blocks
FIQ downgrades.
Have a variable which indicates that a FIQ downgrade is required, and ensure
that the IOC "force IRQ" bit is turned on in this case. This ensures that
FIQ downgrades don't get lost if something happens to be fiddling with the
interrupt mask at the wrong moment.
2001-08-21 22:47:17 +00:00
bjh21
8a979a066f
Change various return sequences to the APCS-32 versions.
2001-08-21 22:42:17 +00:00
bjh21
1def612c66
Correctly restore the spl if we fail to claim the FIQ.
2001-08-21 22:40:39 +00:00
reinoud
d7964c6e78
Initial commit for Xserver support for the wscons interface; it isn't fully
...
functional yet since the keyboard changes are not committed yet but it
should compile and work independently.
Initial support for mouse and screen takeovers / screen hardware scroll
reset is done.
2001-08-21 14:48:54 +00:00
sato
3f9cc29da9
fix vr4181 register offset.
2001-08-21 10:31:26 +00:00
bjh21
1d4ae5d285
Use int_off_save and int_restore rather than int_off and int_on.
2001-08-20 23:28:05 +00:00
bjh21
45b5bdc5e5
Split off the pm_entries array from the rest of struct pmap. This makes
...
memory allocation for it more efficient (since pm_entries is 4096 bytes long),
and will allow pm_entries to be freed for swapped processes.
2001-08-20 23:12:54 +00:00
bjh21
8ec27f2ebe
Implementation of fiq_{get,set}regs.
...
Also, don't leave space for a FIQ handler in kernels with no FIQing devices.
2001-08-20 23:10:51 +00:00
bjh21
13f36f67c6
Don't initialise a podule's loader multiple times.
2001-08-20 23:09:12 +00:00
bjh21
9aa4896361
More FIQ support. This gives me enough to handle FIQs, and to downgrade them
...
to IRQs as necessary. All these interfaces are subject to change in the light
of experience.
2001-08-20 23:08:10 +00:00
bjh21
1061e51a8a
One from the vaults: Add lint stubs.
2001-08-20 22:56:10 +00:00
chris
140252be2b
Arm has a vac, so we must use pmap_enter/remove for vmapbuf rather than k* versions, otherwise we may not be doing the right caching thing.
2001-08-20 21:52:09 +00:00
matt
078a9a2206
Netwinders have ISC phys, not LXT phys.
2001-08-20 16:17:12 +00:00
wiz
c52d355d71
"wierd" is weird.
2001-08-20 12:20:01 +00:00
wiz
1e378c4c12
precede, not preceed.
2001-08-20 12:00:46 +00:00
wiz
d375535396
Fix typo in comment (suceed).
2001-08-20 11:49:11 +00:00
mrg
dc4e692845
add a commented "options NETATALK"
2001-08-20 04:49:17 +00:00
chs
9e8e4c5bdc
I was wrong, sh4 does have a VAC.
...
change vmapbuf()/vmunmapbuf() back to using pmap_enter()/pmap_remove().
2001-08-19 20:44:41 +00:00
chs
c489e9bff4
add missing pmap_update().
2001-08-19 18:09:20 +00:00
chs
72b6b0b123
in vunmapbuf(), call pmap_*remove() explicitly since uvm_km_free_wakeup()
...
will soon no longer do it for us.
2001-08-19 18:08:30 +00:00
chs
eddbcd2f47
use pmap_k* in vmapbuf() and vunmapbuf() since there's no VAC on this platform.
...
in vunmapbuf(), call pmap_*remove() explicitly since uvm_km_free_wakeup()
will soon no longer do it for us.
2001-08-19 17:45:57 +00:00
chs
dd3f84513a
typo in previous.
2001-08-19 17:45:15 +00:00
chs
316cd176c8
in vunmapbuf(), call pmap_*remove() explicitly since uvm_km_free_wakeup()
...
will soon no longer do it for us.
2001-08-19 17:43:44 +00:00
chs
17d06a7ad7
use pmap_k* in vmapbuf() and vunmapbuf() since there's no VAC on this platform.
...
in vunmapbuf(), call pmap_*remove() explicitly since uvm_km_free_wakeup()
will soon no longer do it for us.
2001-08-19 17:37:35 +00:00
chs
b356420a02
in vunmapbuf(), call pmap_*remove() explicitly since uvm_km_free_wakeup()
...
will soon no longer do it for us.
2001-08-19 17:36:28 +00:00
chs
2cdad949d0
use pmap_k* in vmapbuf() and vunmapbuf() since there's no VAC on this platform.
...
in vunmapbuf(), call pmap_*remove() explicitly since uvm_km_free_wakeup()
will soon no longer do it for us.
2001-08-19 17:34:49 +00:00
chs
3f98593d27
in vunmapbuf(), call pmap_*remove() explicitly since uvm_km_free_wakeup()
...
will soon no longer do it for us.
2001-08-19 17:34:01 +00:00
chs
ef097c73b0
use pmap_k* in vmapbuf() and vunmapbuf() since there's no VAC on this platform.
...
in vunmapbuf(), call pmap_*remove() explicitly since uvm_km_free_wakeup()
will soon no longer do it for us.
2001-08-19 17:33:10 +00:00
bjh21
8b7128e398
Changes in aid of FIQ support:
...
Add ioc_fiq_setmask().
Change ioc_irq_status_full() to use the request registers rather than the
status registers. This is brings it into line with the Unix baclplane, and
makes detecting downgraded FIQs possible.
2001-08-19 15:27:44 +00:00
matt
4bc8190b62
Change local offset/label for irqhandlers to Lirqhandlers. Because in
...
ELF _C_LABEL(irqhandlers) == irqhandlers so we were getting self-referential
pointer which causes the IRQ to fall on itself. [With this change the
netwinder kernel can now be *ELF* and boots to multiuser]
2001-08-19 07:29:26 +00:00
matt
7cab3778d5
Make EXEC_ELF32 support std now,
2001-08-19 05:51:09 +00:00
wdk
12a212bc5c
Add support for WD33C93 controller and assosiated SCSI devices, and enable
...
by default.
2001-08-19 03:20:36 +00:00
wdk
0ac0d0d4e4
Initial implementation of WD33C9x SCSI driver for SGI IP22 platforms.
...
Based on mvme68k and Atari drivers for the same chipset with the
addition of bus_space support. Attempts have been made to seperate out the
machine dependent dma components and more work is required in this area.
Tested on SGI R4K Indy, but has little testing on other platforms.
2001-08-19 03:16:21 +00:00
wiz
e320555c3b
if_il.c lives in dev/qbus now, and is mentioned in dev/qbus/files.uba.
...
Remove commented out line for it.
2001-08-18 14:52:37 +00:00
enami
b605664b49
Include bsd.own.mk a bit earlier so that make cleandir works.
2001-08-18 12:53:58 +00:00
enami
cebeb402de
Fix white space usage.
2001-08-18 12:48:59 +00:00
wiz
a5226c0bb5
Remove files describing hp300/HPBSD.
...
Can still be found in sys/arch/hp300/DOC as Debug.tips and HPMMU.notes.
Okay'd by is.
2001-08-18 10:07:35 +00:00
eeh
94751b6adc
Make the kernel a tad bigger.
2001-08-18 04:55:29 +00:00
simonb
11362870f4
Reorder some function prototypes more logically.
2001-08-18 04:13:28 +00:00
eeh
20df032dec
Make lint happier.
2001-08-18 03:47:18 +00:00
simonb
02f580ae38
Fix lint problem introduced in last change - if `lint' is defined,
...
#define away __alignof__. Still produces some warnings, but at least
they're not fatal anymore.
Problem noted by Rafal Boni in private mail.
2001-08-18 03:27:02 +00:00
fredette
e5769f5f01
Sometimes the ec board reports a packet length that's too large.
...
Try to deal with this by clipping the packet length, and, under
DEBUG, printf when we do. Also zero out the packet status in
the buffer before we give it back to the board.
2001-08-17 20:27:12 +00:00
is
de14426106
Ansification by Petri Koistinen
2001-08-17 19:56:51 +00:00
ur
e6c008bb48
Disable PCI expansion ROM for normal operation.
...
It fixes memory mapped I/O problems on some devices.
(from port-arc ML)
2001-08-17 11:11:57 +00:00
simonb
0667c562f6
Describe the widths of various coprocessor 0 registers (for mips1,
...
mips3, mips32 and mips64).
2001-08-17 07:53:33 +00:00
simonb
dd6c57e790
Fix for single-byte mbufs.
2001-08-17 07:21:07 +00:00
simonb
b2b2f7ccfa
Fix va_arg() problem when adjusting argument pointer when a structure is
...
passed which is larger than an int but has int alignment. As well as
fixing the described problem, this is the same way it is handled in the
Irix and Ultrix header files.
Problem and suggested solution by Uros Prestor in port-mips mailling
list.
2001-08-17 07:15:16 +00:00