pk
f382e91b5e
Add a field to identify the processor that has a process' FPU context.
1998-09-30 18:40:58 +00:00
pk
4826aac9cf
Make the current FPU owner (`fpproc') a per-CPU entity. Unresolved issue
...
as yet: lazy FPU context switching may require co-operation from other
CPUs.
1998-09-30 18:38:57 +00:00
pk
8c29324cc7
Kernel configuration with multi-processor support.
1998-09-27 15:10:25 +00:00
pk
0a090af2c7
Add `ldstub()'.
1998-09-27 14:32:14 +00:00
pk
e6ce8bcfc7
sparc spin lock functions.
1998-09-27 14:31:18 +00:00
pk
0a1a6fb7e0
This file is no longer used
1998-09-26 20:51:45 +00:00
pk
166c2a5fa5
fix typo
1998-09-26 20:15:59 +00:00
pk
9f352b7e15
Stop all other CPUs upon entering a debugger.
1998-09-26 20:14:48 +00:00
pk
01e64c640c
Implement mp_pause_cpus() and mp_resume_cpus(): pause and resume all
...
CPUs except the one running this code.
1998-09-26 20:13:56 +00:00
pk
6ad3a051e8
mp_{pause,resume,halt}_cpu() prototypes.
1998-09-26 20:12:06 +00:00
pk
8ddcd514a6
Use CPU start function in obp.c
1998-09-26 19:09:56 +00:00
pk
fe1cf94b9f
Add wrappers for PROM's CPU start/stop functions.
1998-09-26 19:08:09 +00:00
pk
a89a10c394
Add file obp.c
1998-09-26 19:06:47 +00:00
pk
43c1cb852c
Move PROM interface prototypes into openprom.h
...
Use the `openprom_addr' structure for passing around physical addresses.
1998-09-26 18:20:19 +00:00
pk
09a4cf6caa
Move PROM interface routines into their own file.
1998-09-26 18:15:34 +00:00
pk
eb8de83739
`eccmemctl' inadvertently got into the `mandatory' list.
1998-09-25 11:40:16 +00:00
pk
27569e4050
Initialize pointer to the boot CPU's interrupt register.
1998-09-24 20:38:43 +00:00
pk
831354d6de
Add `intreg' cpuinfo offset.
1998-09-24 20:37:17 +00:00
pk
58ab38cb69
Use per-CPU interrupt status register.
1998-09-23 11:07:28 +00:00
pk
9eca565a37
Make cgsix_sbus & cgsix_obio dependent on their respective attribute.s
1998-09-23 08:49:46 +00:00
pk
d6746389a4
The nmi_* routines are sun4m-only.
1998-09-23 08:44:51 +00:00
pk
aa1cf01930
Express per-processor interrupt registers in a C structure as well.
1998-09-22 13:42:26 +00:00
pk
bd37118769
Dup header.
1998-09-22 13:41:03 +00:00
pk
eca50c1c33
Flush cache after diddling with trap vectors.
1998-09-22 13:40:08 +00:00
pk
1186ba5102
Introduce a `flush entire cache' method.
1998-09-22 13:39:19 +00:00
pk
5afb0e8bcb
Keep the per-processor interrupt status in the cpuinfo structure.
...
For now, map them to the fixed virtual addresses set up early in autoconf.c
1998-09-22 13:08:44 +00:00
chs
c945760779
sign-extend some operand types which need it.
1998-09-22 05:40:14 +00:00
pk
709360e3ce
Fill the `bpp' slot.
1998-09-21 21:13:51 +00:00
pk
20f2898a0c
Merge sun4 and sun4c version of memerr() again.
1998-09-21 10:32:00 +00:00
pk
af19654e85
We no longer need to access memerr() through a function pointer.
...
GC `cpumod' and `mmumod'.
1998-09-21 10:30:41 +00:00
pk
c3b26811ac
We no longer need to access memerr() through a function pointer.
1998-09-21 10:29:20 +00:00
pk
ec34e18063
Don't map sbus `registers' on sun4c (i.e. sbus @ mainbus); it's almost
...
certainly not the control space we want..
1998-09-20 20:08:52 +00:00
pk
7a147080b8
Async arguments are no longer passed to the memory fault handler.
1998-09-20 20:01:15 +00:00
pk
4bf750b7df
Add sun4m NMI handlers.
1998-09-20 20:00:09 +00:00
pk
d0d9bb7669
Dedicate a pair of entry points to handling sun4m level 15 (NMI) interrupts.
...
Hardware NMIs are generated on various fault conditions that take place
asynchronously to the instruction stream. Software NMIs are going to be used
for inter-processor communications.
Get synchronous fault information separately from asynchronous fault
information. Do the former right after taking a memory fault trap and
store the values in temporary locations within the cpuinfo structure (XXX),
so we can unconditionally clear the sync fault status register after
MMU probe operations. This all is to work around a Hypersparc feature
which could lead to loss of fault information because of the fault
status register getting locked.
1998-09-20 19:54:48 +00:00
pk
cd8dfa6798
Account for changes in struct cpuinfo & locore
1998-09-20 19:39:18 +00:00
pk
4128057c52
Split memory fault status function into `synchronous' and `asynchronous'
...
versions.
1998-09-20 19:37:50 +00:00
pk
2734182a74
Re-arrange the sun4m cases a bit.
...
Entry points no longer have async arguments.
1998-09-20 19:34:16 +00:00
pk
c3e742adfb
Format string for SI register.
1998-09-20 19:31:37 +00:00
pk
b6da06d637
Name fault registers more like they're referred to in various docs.
1998-09-20 19:29:10 +00:00
pk
a1a94bc5fc
Use the expected name for the config attach structure.
1998-09-19 16:50:31 +00:00
pk
0a6347a24d
Provide an error entry point like sbus and memory.
1998-09-19 16:45:43 +00:00
pk
812eb8c1da
Add %b format strings.
1998-09-19 16:44:59 +00:00
pk
25d48215a2
Map Sbus control registers.
1998-09-19 15:49:50 +00:00
pk
8381b55bd7
Add a bunch of SBus control register definitions.
1998-09-19 15:48:55 +00:00
pk
1bcd9d3bbb
Pass the children register space in the attach arguments.
1998-09-19 15:47:18 +00:00
pk
ced4225429
Add `eccmemctl' device.
1998-09-18 20:19:12 +00:00
pk
b3c7ebb7cd
Handle ECC memory control found on a number of machines.
...
Also defines an entry point for memory errors reported by module interrupts.
1998-09-18 20:18:10 +00:00
pk
81d435b491
sigh.. put back non-garbage collectible `que' functions.
1998-09-18 08:07:08 +00:00
thorpej
dcb541531a
Minor cosmetic change.
1998-09-17 02:33:06 +00:00
thorpej
c006c7c0da
Sync w/ sendsig().
1998-09-17 02:30:02 +00:00
thorpej
e5ea525b9f
Slight brain'o in last.
1998-09-17 02:26:26 +00:00
thorpej
5bc9dafaee
Minor cosmetic change to sendsig().
1998-09-17 02:24:56 +00:00
pk
59e5588098
Map the per-CPU counter registers into each cpu info area.
1998-09-16 13:39:48 +00:00
pk
49b5114713
Make all cpu info structures accessible through an array `cpus[_MAXNCPUS]'.
1998-09-16 13:36:23 +00:00
pk
543070847c
Can't afford a 1K buffer in the data segment.
1998-09-15 20:03:50 +00:00
pk
0ad1257add
sub-arch protection.
1998-09-15 13:12:25 +00:00
pk
fb38024157
Use `swap' to install page-table entries which is recommended practice
...
for MP configurarions.
1998-09-14 22:45:36 +00:00
pk
1736bda754
Define `swap'.
1998-09-14 22:43:29 +00:00
pk
0a46abfd42
Collect redundant code into cpu_setup().
1998-09-14 10:37:12 +00:00
pk
b1b69e4195
Fix cache bit confusion in pmap_alloc_cpu().
1998-09-14 09:46:11 +00:00
pk
ff383dc20d
Add compat_13_machdep.c
1998-09-13 20:34:34 +00:00
pk
190e4c429d
Move compat_13 sigreturn() into its own file.
1998-09-13 20:33:33 +00:00
pk
82d2ea3a70
Remove left-over SUNOS_COMPAT line.
1998-09-13 20:24:15 +00:00
pk
9658554e18
Replace previous by something more complete.
1998-09-13 20:17:54 +00:00
pk
9d9f22fa79
Signal handling changes: sunos compat gets its own sendsig(); sunos
...
sigreturn() == compat_13_sigreturn().
1998-09-13 20:07:54 +00:00
mycroft
4e4f120db9
Update these for signal handling changes.
...
XXX Not tested yet.
1998-09-13 12:13:49 +00:00
pk
90054fd502
New sigcontext.
1998-09-13 11:41:02 +00:00
pk
ba67f63901
Sync function prototypes; remove unsed variables.
1998-09-13 11:34:04 +00:00
pk
b8de221a1e
Pull in <sys/syscall.h> directly into locore.s
1998-09-13 11:12:36 +00:00
pk
875bff538c
A few slight optimizations.
1998-09-12 19:50:59 +00:00
pk
ad0f4a6fbb
Nuke `insqeu' and `remque'
1998-09-12 19:46:00 +00:00
pk
8b7ee2cd89
Add hatching code for other CPUs.
1998-09-12 19:44:17 +00:00
pk
e120fa4e14
Machinery to configure multiple CPUs. All CPUs found are spun up from the
...
auto-configuration cpu_attach() function using the firmware.
Currently, all CPUs except the one used to boot end up in an idle loop
in locore.
1998-09-12 15:33:40 +00:00
pk
1b077ae1cd
Set cache control bits according to configured preference (if any).
1998-09-12 15:08:04 +00:00
pk
097a922a9c
Add field holding the physical address of the MMU context table.
1998-09-12 14:12:49 +00:00
pk
f390eccd7d
Add missing bits to per-CPU MMU table allocator routine.
1998-09-12 14:11:53 +00:00
pk
cd0a5fe245
Define some bit-format strings.
1998-09-12 13:59:19 +00:00
pk
18fbdfc2f8
Expose `v3' routines to everyone.
1998-09-12 13:34:38 +00:00
mycroft
62ea009b0e
Update for signal handling changes.
1998-09-11 13:31:39 +00:00
pk
f6b7ca884e
Use our brand new extent_alloc1() function to allocate cache-aligned
...
DVMA addresses.
1998-09-10 21:08:39 +00:00
thorpej
70e641047c
In cpu_coredump(), use MID_MACHINE rather than MID_* (whatever it expands
...
to).
1998-09-09 11:17:24 +00:00
thorpej
8abe0d6b1c
Adjust for the new "reaper" kernel thread: do not free the vmspace and
...
u-area in machine-dependent code. Instead, call exit2() to schedule
the reaper to free them for us, once it is safe to do so (i.e. we are
no longer running on the dead proc's vmspace and stack).
1998-09-09 00:07:48 +00:00
pk
07b0821d4d
Adapt to cpuvar.h changes.
1998-09-07 23:04:28 +00:00
pk
b09b9f7339
De-couple the CPU info structure from auto-configuration structures.
1998-09-07 23:02:40 +00:00
pk
729d765620
Clear up some type confusion.
1998-09-07 22:56:46 +00:00
pk
e21c0b3450
Need to cast sbus attach `prom_vaddrs' field.
1998-09-07 07:15:51 +00:00
pk
c4c4e35608
Undo last change (we're passing the address of a pointer here).
1998-09-07 07:11:11 +00:00
pk
457395fe53
Use the new "%b" format.
1998-09-06 21:38:36 +00:00
pk
c529fe0888
memerr() is now an indirect call.
1998-09-06 21:18:59 +00:00
pk
cda6fb7430
Sanitize memerr*() a bit.
1998-09-06 21:14:56 +00:00
eeh
484ce04810
The `address' field from the prom is really an unsigned 32-bit value.
...
Make it so.
1998-09-05 22:29:49 +00:00
eeh
5dc93bd9fe
Remove function naming conflict.
1998-09-05 22:15:51 +00:00
pk
b39d7e33be
Assign my copyrights to TNF.
1998-09-05 15:42:41 +00:00
christos
50909bd6d9
Assign copyright to TNF.
1998-09-05 15:28:08 +00:00
lukem
c9db84ecc9
distclean is a synonym for cleandir
1998-09-05 15:15:14 +00:00
pk
acf16f7096
Assign my copyrights to TNF.
1998-09-05 15:11:22 +00:00
pk
2c9a80baf4
Assign my copyrights to TNF.
1998-09-05 14:01:08 +00:00
pk
5ebcb31dd0
Assign my copyrights to TNF.
1998-09-05 13:45:46 +00:00
pk
30b5826331
Hang on to `old VM' a little while longer..
1998-09-01 18:05:27 +00:00
pk
779f357ede
Implement cache alignment in bus_dmamem_load().
1998-08-31 20:00:22 +00:00
pk
4dbdab4423
Erase sparc_nam2blk[].
1998-08-30 21:54:25 +00:00
pk
88ab783b42
Define floppy device major number.
1998-08-30 21:53:35 +00:00
pk
fc313d9031
Nuke old getprop() function and put its successor in place.
1998-08-30 21:30:41 +00:00
pk
400208c8b7
getpropA() => getprop()
1998-08-30 21:27:32 +00:00
pk
6f2539f8a6
getpropA() => getprop().
1998-08-30 21:26:46 +00:00
pk
fe6b9295a8
Adjust for some small changes in lsi64854 back-end driver.
1998-08-29 21:43:00 +00:00
pk
0a30d383a0
Sbus `esp' and `le' front-ends now attach in `sys/dev/sbus/files.sbus'.
1998-08-29 20:53:11 +00:00
pk
e4091cb757
Split `esp' driver and DMA engine into separate front-end files.
...
The Sbus front-ends have all been moved to `sys/dev/sbus', while
the `obio' front-ends remain here.
1998-08-29 20:49:35 +00:00
pk
1f0567dd53
Nuke unnecessary header files.
1998-08-29 20:38:38 +00:00
mrg
ed88a6f103
add support for finding kernels other than `netbsd'. the list is:
...
netbsd, netbsd.gz, netbsd.old, netbsd.old.gz, onetbsd, onetbsd.gz
and vmunix, in that order. this is used by the bootable `bootfs'
image (suitable for floppies and cdroms), which contains a netbsd.gz
by default.
while i'm here, fix up `boot [device] -s' which got broke when
booting kernels with a - in their name was fixed..
1998-08-29 06:40:43 +00:00
pk
8e0c62893c
Remove cache flush from dma_espintr(); the bus dma routines take care
...
of that now. Hence we no longer need <sparc/cpuvar.h>.
1998-08-28 20:14:36 +00:00
pk
ca868d7da6
Specify our boundary restriction when allocating DMAble memory.
1998-08-28 20:07:52 +00:00
pk
221a000391
Pass on bus_dma*() aligment and boundary arguments.
1998-08-28 20:02:19 +00:00
pk
f6a208ce6b
Nuke Dprintf; fix formats.
1998-08-28 08:57:38 +00:00
pk
7e95972ed1
Add `audiocs' ("SUNW,CS4231") and `en' ("ENI-155s").
1998-08-27 20:56:44 +00:00
mrg
82571f5403
move isp sbus attachment to dev/sbus
1998-08-27 11:41:24 +00:00
pk
af5a3e52a5
yanko
1998-08-25 08:28:53 +00:00
pk
c6905522d2
These files are no longer used.
1998-08-24 07:23:10 +00:00
pk
66795e62e7
Move sparc_vme_dmamem_map() outside `#ifdef SUN4M'
1998-08-23 10:40:38 +00:00
pk
4539119e83
Nuke phys_map & old dvmamap.
1998-08-23 10:08:25 +00:00
pk
4fe6cdf6ca
Nuke obsolete prototype.
1998-08-23 10:07:09 +00:00
pk
2a6be00de5
Rename DVMA constants.
1998-08-23 10:05:53 +00:00
pk
666587112f
Use bus_dmamem_{alloc,free} instead of the old VM hack.
1998-08-23 10:04:56 +00:00
pk
e68fd96987
Remove DVMA address special cases in pv_changebit().
1998-08-23 10:01:24 +00:00
pk
434a2cc972
Nuke phys_map & old dvmamap.
1998-08-23 09:59:24 +00:00
pk
9a2b941ecb
Rename DVMA constants.
1998-08-23 09:53:03 +00:00
mrg
c54c62ad31
bsd_audioio.h is not used.
1998-08-22 15:56:46 +00:00
pk
79dd1e8563
Convert to [pv]addr_t & [pv]size_t.
1998-08-21 14:13:53 +00:00
pk
b8a1caac4a
Convert to [pv]addr_t & [pv]size_t.
1998-08-21 14:12:18 +00:00
pk
24255abca0
iommu_{enter,remove} moved to iommuvar.h
1998-08-21 14:10:42 +00:00
pk
ca5b5652b4
Remove vm_offset_t & vm_size_t.
1998-08-21 14:09:59 +00:00
pk
f318f15bc3
Convert to [pv]addr_t.
1998-08-21 14:07:37 +00:00
pk
7575f8fac5
Move iommu_enter/iommu_remove here from <include/cpu.h>.
1998-08-21 13:29:57 +00:00
pk
02d030ca52
Pass on `NOWAIT' and `boundary' args to extent_alloc().
1998-08-20 20:49:33 +00:00
pk
363b678b9e
Flesh out more of the sun4 busdma functions.
1998-08-20 20:46:59 +00:00
pk
02c059eefa
Pay attention to BUS_DMA_NOWAIT & boundary args where appropriate.
1998-08-20 20:45:40 +00:00
pk
aee27828f9
Some machines (Voyagers) apparently have zs devices with multi-valued
...
register properties in the PROM.
1998-08-20 11:47:39 +00:00
augustss
cd09067eb4
* Redo the way the way the MIDI driver attaches to audio devices.
...
* Improve the midisyn layer a little.
* Add a driver for the Yamaha OPL[23] FM synths.
The opl driver is not finished yet; it sounds pretty awful.
For some strange reason I cannot get any FM sound from my SB64 cards,
but a regular SB16 works fine.
1998-08-17 21:16:09 +00:00
mycroft
62b1bf3e2e
Assign my copyrights to TNF.
1998-08-15 10:51:16 +00:00
mycroft
129cbf95ee
Minor edit.
1998-08-15 05:16:41 +00:00
mycroft
b2827b9d36
Assign copyright to TNF.
1998-08-15 04:16:55 +00:00
mycroft
6d3d8a1350
Make copyright notices with my name consistent.
1998-08-15 03:02:31 +00:00
eeh
a2dd74ed79
Merge paddr_t changes into the main branch.
1998-08-13 02:10:37 +00:00
mjacob
5ad5bb35af
minor change to make the message less linux like
1998-08-12 00:03:23 +00:00
mrg
ca7ad3aff1
make this compile in a not SUN4M world.
1998-08-09 23:37:12 +00:00
kleink
546365a27e
_POSIX_SOURCE -> _POSIX_C_SOURCE
1998-08-06 11:25:04 +00:00
pk
6c727e1651
dvma_malloc(), dvma_mapin() and dvma_mapout() are gone; all drivers
...
the use bus_dma(9) interface now.
1998-07-31 22:35:07 +00:00
pk
359cf8c23d
Move `dvma_cachealign' here from vm_machdep.c
1998-07-31 22:23:30 +00:00
pk
a0818b4b8b
Use bus_dmamem_alloc/bus_dmamem_map.
1998-07-31 22:21:35 +00:00
pk
519f1f7f0e
Convert to bus dma.
1998-07-31 15:53:11 +00:00
mycroft
a24dbc8065
(Always) (practice) (safe) (macro expansion).
1998-07-31 15:07:41 +00:00
pk
c206cad36e
Convert to bus_dma.
1998-07-31 12:45:48 +00:00
thorpej
ecf815f930
Back out previous; it is perfectly reasonable, and desirable, to print out
...
debugging info ifdef DEBUG.
1998-07-31 02:10:12 +00:00
mjacob
36f9ab27ce
>We're not Linux. If we still want driver version strings to be displayed
...
>at boot, then I suppose DEBUG is a reasonable compromise.
Makes the whole concept useless. This is for default printouts. If you
can build a debug kernel, you know what version you have. This was under
the concept of 'RAS' so that hapless users could tell you microversion
things. But I guess this isn't the right way according to our local
Jesuits. Oh, well. I'll think up something different and hopefully
less objectionable. And yes, NetBSD isn't linux. The developers seem
to be equally bad tempered, but linux is more successful.
1998-07-31 01:56:49 +00:00
pk
af89712b25
Use bus_dma_*() instead of dvma_mapin/dvma_mapout.
1998-07-30 22:42:04 +00:00
pk
32a5557426
Adapt to changes in the base bus_dma* functions.
1998-07-30 22:29:34 +00:00
pk
8a39d7a7fb
The IOMMU now has its own dma bus tag and associated functions.
...
machdep.c retains the `mainbus' (i.e. sun4/sun4c) bus_dma* versions for now.
Create a DVMA map specifically for 24-bit devices (le,ie), which has a
more room than previous DVMA map which should be reserved for sun4 VME.
1998-07-30 22:28:44 +00:00
pk
862c0bafcc
Define a BUS_DMA flag for devices that have a 24-bit address space.
...
Update _bus_dma* prototypes.
1998-07-30 22:20:31 +00:00
pk
741c837f77
Get to DMA map functions through parent tag, instead of calling some base
...
functions directly.
1998-07-30 18:54:06 +00:00
pk
ab0e92568b
<sparc/dev/sbusvar.h> => <dev/sbus/sbusvar.h>
1998-07-29 18:48:54 +00:00
pk
9104b183fa
Lots of things have moved to <dev/sbus/sbusvar.h>
1998-07-29 18:45:57 +00:00
pk
402a052405
Deal with sbus attach args changes.
1998-07-29 18:44:22 +00:00
pk
9e4d2f9b53
Switch to new sbus attach arguments layout.
1998-07-29 18:42:32 +00:00
pk
58d952ce7d
Deal with sbus attch args changes.
...
Use sbus_destroy_attach_args().
1998-07-29 18:37:23 +00:00
pk
426330f642
We no longer need to get the register sets by ourselves.
1998-07-29 18:36:08 +00:00
pk
718ff722b7
In the reset() function, preserve the current cable selection bit.
...
If in auto media select mode, this avoids losing carrier every time
the lance code decides to re-initialize.
1998-07-29 16:10:57 +00:00
pk
9111209fdf
In _bus_dmamem_map(), use uvm_km_valloc() to get kernel addresses.
...
uvm_map() -- which used to be here (why was that?) -- was called with
an uninitialized value in its `start' argument.
1998-07-28 20:46:28 +00:00
thorpej
3ff8e6493a
Don't cast the null residual pointer passed to vn_rdwr().
1998-07-28 18:34:52 +00:00
pk
cc0d537633
GC.
1998-07-28 14:04:08 +00:00
pk
fb7bb1a359
Remove mbppio.h from the list.
...
Also stop installing db_machdep.h, fbvar.h, z8530.h.
1998-07-28 00:34:56 +00:00
pk
aaadc9459d
This file is now in <dev/sbus>
1998-07-28 00:33:35 +00:00
pk
14f4493376
Magma driver has been moved to <dev/sbus>.
1998-07-28 00:19:22 +00:00
pk
fd9017990f
Magma driver has been moved to <dev/sbus>
1998-07-28 00:17:47 +00:00
pk
b0f82d5c73
`le' and `en' now attach to sbus (and lebuffer) in <dev/sbus>
...
Other `le' front-ends split into separate files.
1998-07-28 00:10:23 +00:00
pk
4ca3b5c079
We no longer use these.
1998-07-28 00:06:23 +00:00
pk
3d9b1710a7
This file is now in dev/sbus.
1998-07-28 00:05:41 +00:00
pk
c7a2e942b0
Split the `le' driver front-ends into separate files.
...
The sbus and lebuffer front-end have moved to dev/sbus.
1998-07-27 23:59:11 +00:00
pk
eec66e52bd
Get headers from <dev/sbus>
1998-07-27 22:34:48 +00:00
pk
d1f03e068a
<sparc/dev/sbusvar.h> => <dev/sbus/sbusvar.h>
1998-07-27 19:32:42 +00:00
pk
6cd4c4ea99
Use <dev/sbus/files.sbus>.
1998-07-27 19:20:03 +00:00
pk
db822a6c0a
These files are now in <dev/sbus>.
1998-07-27 19:17:50 +00:00
pk
e92f09b2b7
SBU_BURST_* are now in <dev/sbus/sbusvar.h>
1998-07-27 19:16:49 +00:00
mycroft
da2e61d160
Delint.
1998-07-27 13:55:32 +00:00
mrg
36ee8a045b
use lebuffer.c from dev/sbus.
1998-07-27 05:49:02 +00:00
mrg
c5e180526b
these have moved to sys/dev/sbus.
1998-07-27 05:48:42 +00:00
mrg
06d5ffd2a8
enable kernfs and mfs.
1998-07-27 05:45:17 +00:00
pk
9e8d90ed5c
Add a cpu-specific function to flush a pure virtually-indexed/virtually-tagged
...
cache, which needs to be flushed at context switch.
1998-07-26 23:35:32 +00:00
pk
4998ae50c0
Define hypersparc instruction-cache flush ASI.
1998-07-26 23:29:58 +00:00
pk
c6124a986a
This file is no longer used.
1998-07-25 22:19:25 +00:00
pk
6ad50a6691
Allocate physical memory for the pv_table array in bootstrap(), so we
...
don't have to call VM functions from pmap_init().
Use a memory pool for additional pvlist entries (used for double mappings).
Take care of the cacheable bit on pagetables while we're initializing them,
instead of calling kvm_uncache() afterwards.
1998-07-25 22:01:19 +00:00
pk
91f18e727f
Remove conditionals on SUN4C+SUN4M.
...
A few cosmetic changes.
1998-07-24 21:08:16 +00:00
pk
f836b9e8d3
Drop private page table list maintenance; use memory pools instead.
1998-07-23 21:42:40 +00:00
pk
217addc8de
Option DDB_ONPANIC needs a value.
1998-07-23 13:03:23 +00:00
drochner
49bb9d8214
adapt to LANCE driver split
1998-07-21 17:36:01 +00:00
thorpej
9df67db949
We're not Linux. If we still want driver version strings to be displayed
...
at boot, then I suppose DEBUG is a reasonable compromise.
1998-07-20 21:18:38 +00:00
mjacob
99ff11f6b7
locking now out of main framework for isp_reset/isp_init
1998-07-18 21:02:06 +00:00
pk
116c3be1e5
In dvma_mapout(), make sure to not overrun the buffer when flushing the cache.
1998-07-17 23:05:35 +00:00
mjacob
bc355c6b3f
new framework
1998-07-15 19:59:45 +00:00
thorpej
d681d158c7
Remove the raw HYPERchannel kludge.
1998-07-15 17:45:52 +00:00
thorpej
d47ea67c1f
Define one page free list, and put all pages on it.
1998-07-08 04:43:18 +00:00
jonathan
b37021c1a1
defopt NATM.
1998-07-05 22:48:05 +00:00
jonathan
011f2bda08
defopt NS, NSIP.
1998-07-05 06:49:00 +00:00
jonathan
5c0c5dd0b4
defopt ISO TPIP.
1998-07-05 04:37:35 +00:00
jonathan
3751946b97
defopt INET, NETATALK.
1998-07-05 00:51:04 +00:00
jonathan
466e784ee1
defopt DDB.
1998-07-04 22:18:13 +00:00
tv
e89e603343
_GLOBAL_OFFSET_TABLE_ needs a _C_LABEL() wrapper, too.
1998-07-01 21:42:51 +00:00
tv
725b3015b6
Strip extra underscore on _mcount on ELF.
1998-07-01 20:55:45 +00:00
tv
28260456a9
Add relocation definitions used by ld.elf_so.
1998-07-01 20:43:56 +00:00
tv
fb267f06f0
On ELF, make __indr_reference undefined and __warn_references do nothing,
...
as on Alpha. This should be fixed to do something in both cases.
1998-07-01 17:14:51 +00:00
tv
da26383918
Change _C_LABEL() to use proper underscoring depending on __ELF__ or not.
1998-07-01 02:35:24 +00:00
lukem
bd8d501f7e
remove options FIFO; it's now the default
1998-06-26 01:53:43 +00:00
thorpej
816e12eac2
defopt COMPAT_SVR4
1998-06-26 00:07:06 +00:00
thorpej
8aee7782f5
defopt COMPAT_SUNOS
1998-06-25 23:40:33 +00:00
thorpej
971b8956ef
defopt KTRACE
1998-06-25 21:18:11 +00:00
jonathan
dbe5213b11
Split arch/sparc/dev/amd7930.c into:
...
* MI sys/dev/ic/{am7930.c,am7930var.h} chipset driver
* sparc frontend.
Presere revision history (this time).
TODO: bus.h'ify, and padded register mappings.
1998-06-24 11:09:23 +00:00
jonathan
b40ead2c73
Split sparc am7930 driver into sparc attach and "MI" sys/dev/ic/am7930
...
chipset driver. Needs bus'ifying and register-access.
1998-06-24 10:52:53 +00:00
mrg
077ba12357
rename FLOPPY INSTALL, as it is used for cdroms also
1998-06-20 13:02:28 +00:00
mrg
1caf02a0cf
moved <machine/sun_disklabel.h> to <dev/sun/disklabel.h>
1998-06-20 03:50:51 +00:00
mrg
096ec47ff9
moved to <dev/sun/disklabel.h>
1998-06-20 03:46:24 +00:00
mrg
abeeaf00ec
do what the comment says: move this [sun_dkioctl] to compat/sunos. use <dev/sun/disklabel.h>
1998-06-20 03:45:27 +00:00
kleink
1fbd0b3749
GC the unused `physadr' type, which was not able to hold a complete physical
...
address on 2 architectures anyhow. Also, move the definition of the `label_t'
type inside _KERNEL protection, since it is specific to the in-kernel
setjmp()/longjmp() implementations.
1998-06-14 20:09:22 +00:00
cgd
651b44e211
Rework the way kernel include files are installed. In the new method,
...
as with user-land programs, include files are installed by each directory
in the tree that has includes to install. (This allows more flexibility
as to what gets installed, makes 'partial installs' easier, and gives us
more options as to which machines' includes get installed at any given
time.) The old SYS_INCLUDES={symlinks,copies} behaviours are _both_
still supported, though at least one bug in the 'symlinks' case is
fixed by this change. Include files can't be build before installation,
so directories that have includes as targets (e.g. dev/pci) have to move
those targets into a different Makefile.
1998-06-12 23:22:30 +00:00
fair
a23c899718
apply patch from PR#4626 to allow DDB to deal with kernel traps.
1998-06-12 10:02:44 +00:00
tv
00ede2160e
Change ddb_init() for a.out to provision for kernels which are not booted by
...
the current 'bootblock' method, like the Shark, which preloads and preformats
the symbol table right in the boot code.
1998-06-09 01:57:41 +00:00
pk
3f6155e843
Update from Iain for the parallel port stuff.
1998-06-07 21:14:17 +00:00
thorpej
30f9be231f
Restructure cpu_reboot() a bit, and add support for powering down
...
on the Sun4m if RB_POWERDOWN is specified.
1998-06-06 21:46:51 +00:00
thorpej
1c6a275e9c
Only attempt the powerdown if the power register was mapped.
1998-06-06 21:40:20 +00:00
thorpej
402c48737f
needs-flag'ize the power device.
1998-06-06 21:30:34 +00:00
mrg
e666cd4b3b
install floppy kernel
1998-06-06 05:36:53 +00:00
mrg
ff6c535817
sync with other md_root.c files.
1998-06-06 05:12:54 +00:00
mrg
4bc09321a9
add md to the "sparc_nam2nlk" and "chr2blk" arrays. the former fixes
...
panics seen on a floppy boot in setroot() as it could not properly
determine the root device.
1998-06-06 05:03:23 +00:00
mrg
428a0d387a
remove old (now broken) memory disks hooks code.
1998-06-05 15:00:10 +00:00
mrg
135e6dc7e0
make this work with new md root stuff.
1998-06-05 14:57:55 +00:00
pk
062294cc8c
Magma parallel port ioctls per Iain Hibbert.
1998-06-03 22:40:00 +00:00
pk
87fe4d9ea1
Update from Iain on the parallel port stuff.
1998-06-03 22:38:31 +00:00
thorpej
8ed096c794
Panic if we can't fulfill a bus_dmamap_load() with a boundary constraint.
1998-06-03 04:35:42 +00:00
thorpej
a7f360c6c9
Specify a non-profiling C rule.
1998-05-31 23:25:41 +00:00
pk
70262fb287
Properly split boot spec into file name and arguments.
1998-05-27 10:29:10 +00:00
kleink
a97fc2f180
If any of _ANSI_SOURCE, _POSIX_C_SOURCE or _XOPEN_SOURCE are defined, don't
...
provide any identifiers other than sig_atomic_t.
1998-05-25 20:59:01 +00:00
pk
229ff62ff7
Do not assume that a parallel component is always configured.
...
Squash compiler warnings if MAGMA_DEBUG is on.
1998-05-20 22:08:10 +00:00
pk
53ce970e7f
Enable NTP.
1998-05-20 11:50:54 +00:00
pk
0f93e72a5d
Add `mtty' and `mbpp' entries for the magma driver by Iain Hibbert.
1998-05-20 00:04:33 +00:00
pk
5fd81fa9ec
Add entries for the magma SBus serial/parallel port driver.
1998-05-20 00:00:12 +00:00
pk
4e62cce89a
Magma SBus serial & parallel port driver from Iain Hibbert.
1998-05-19 23:58:54 +00:00
thorpej
6626878e7b
It is no longer necessary for pmap_pinit() and pmap_release() to be
...
pmap interface functions, as NetBSD no longer uses statically allocated
pmaps (except for the kernel pmap, which is special-cased anyhow).
1998-05-19 19:00:11 +00:00
pk
564ca8fafd
Don't bzero() the IO page table; it is fully initialized in iommu_attach().
1998-05-19 09:17:32 +00:00
pk
9dae8945ef
In kvm_uncache(), turn off the PTE cache bit even after calling
...
pv_changepte(). Reason: the managed() macro does not take into
account the gap in the managed pages range that may have been introduced
by the page table allocation in bootstrap().
1998-05-19 09:14:34 +00:00
kleink
d2db996158
Fix some arithmetics lossage on typeless pointers.
1998-05-07 21:13:23 +00:00
pk
263413efd9
Do not request more privileges from vm_fault() than required, i.e. don't
...
request read access in addition to write access on a write fault.
1998-05-06 14:28:29 +00:00