scottr
5e3349678a
Update from Hauke to resolve some relatively severe performance problems.
1999-03-27 05:45:19 +00:00
briggs
b15dc3ed17
Only handle SIR_SERIAL if NZSC > 0.
1999-03-27 05:21:20 +00:00
briggs
f41bf819c2
Allow this to compile if NZSC is 0.
1999-03-27 05:19:34 +00:00
mycroft
32295b2dac
Further cleanup:
...
pmap_find_pv(), pmap_clean_page() and pmap_remove_all() are only called on
managed pages, after VM initialization. Panic if this invariant is violated.
Also, panic if we try to enter a PT page through pmap_enter(), rather than
silently patching it up.
pmap_initialized is now #ifdef DIAGNOSTIC.
1999-03-27 05:12:21 +00:00
briggs
b056247aa9
Make this compile again--pass access_type just the same as prot.
1999-03-27 05:01:28 +00:00
mycroft
9affa543a5
Oops; forgot to change some pmap_enter() calls.
1999-03-27 03:34:08 +00:00
mhitch
ef619b1714
The ECC handling was broken when the common handling was split out of dec_3max.c
...
and dec_3maxplus.c. The ERRSYN/CHKSYN register contains data, not an address.
Pass the address of the register rather than the contents to dec_mtasic_err()
instead of the register contents so it can read/write the register.
Correctable memory errors won't trap in dec_mtasic_err() anymore.
1999-03-27 03:27:09 +00:00
dbj
2e0fe35095
added kgdb support.
1999-03-27 02:59:41 +00:00
thorpej
b69d0d9e89
Pay attention to "access_type" in pmap_enter().
1999-03-27 02:48:32 +00:00
wrstuden
2adccc50fa
Add pps support. Only enable pps if CLOCAL & !MDMBUF.
1999-03-27 01:21:36 +00:00
wrstuden
8a4ca40c65
Enable pps support, only if CLOCAL set & MDMBUF clear and no clock present.
1999-03-27 01:17:03 +00:00
mycroft
12d512bbb7
Oops; vm_offset_t -> vaddr_t.
1999-03-27 00:30:06 +00:00
mycroft
9c6b797796
Changes for modified pmap_enter() API:
...
* Map the message buffer with access_type = VM_PROT_READ|VM_PROT_WRITE `just
because'.
* Map the file system buffers with access_type = VM_PROT_READ|VM_PROT_WRITE to
avoid possible problems with pagemove().
* Do not use VM_PROT_EXEC with either of the above.
* Map pages for /dev/mem with access_type = prot. Also, DO NOT use
pmap_kenter() for this, as we DO NOT want to lose modification information.
* Map pages in dumpsys() with VM_PROT_READ.
* Map pages in m68k mappedcopyin()/mappedcopyout() and writeback() with
access_type = prot.
* For now, bus_dma*(), pmap_map(), vmapbuf(), and similar functions still use
access_type = 0. This should probably be revisited.
1999-03-26 23:41:25 +00:00
dbj
f1d7b3337a
Disable non functional esp driver and scsi support.
1999-03-26 23:17:53 +00:00
ender
85974131bd
Include uvm/uvm.h instead of uvm/uvm_extern.h because we need the prototype
...
for uvm_unmap() in order to compile a kernel with GRF_COMPAT defined.
Fix provided by Frederick Bruckman <fb@enteract.com> in PR #7237 .
1999-03-26 22:52:15 +00:00
mhitch
91d0eb55ed
More 53c770 stuff: update 53c720/770 register defines and use them in
...
siop2.c. Add wide negotiation and Ultra support. Modify siop.c to match
the siop2.c sync negotiation changes. The CyberStorm MKIII driver now
supports 15 targets. Remove some old table-driven sync rate stuff from
the original Zeus driver.
1999-03-26 22:50:22 +00:00
ragge
dbc385934b
Buggfixes for VS 4000/VLC. Basic support for VS4000/90 and MV4000/300.
...
From Michael Kukat.
1999-03-26 22:04:07 +00:00
mycroft
e84fe91c51
Take advantage of the new `access_type' for pmap_enter(), and always do R/M
...
emulation of managed pages. This required the following `interesting' changes:
* File system buffers must be entered with an access type of
VM_PROT_READ|VM_PROT_WRITE, so that the pages will be accessible immediately.
Otherwise we would have to teach pagemove() to update the R/M information.
Since they're never eligible for paging, the latter is overkill.
* We must insure that pages allocated before the pmap is completely set up
(that is, pages allocated early by the VM system) are not eligible for R/M
emulation, since the memory needed for this isn't available. We do this by
allocating the pmap's internal memory with uvm_pageboot_alloc(). This also
fixes an absolutely horrible hack where the pmap only worked because page 0
happened to be mapped.
to be mapped.
Also:
* Push the wired page counting into the p->v list maintenance functions. This
avoids code duplication, and fixes some cases where we were confused about
which pages to do it with.
* Fix lots of problems associated with pmap_nightmare() (and rename it to
pmap_vac_me_harder()).
* Since the early pages are no longer considered `managed', just make
pmap_*_pv() panic if !pmap_initialized.
1999-03-26 22:00:24 +00:00
is
669f51ad27
defopt BB060STUPIDROM.
1999-03-26 21:18:49 +00:00
ross
6ee909b24f
Fix bug found by Bernd "Veego" Ernesti: close the console disk channel.
1999-03-26 20:53:12 +00:00
ragge
c9f75bc587
Didn't reset interrupt flag after reading. From Christopher Sekiya.
1999-03-26 19:35:30 +00:00
leo
f621acf82b
Nuke the pieces of code obsoleted by .../pci/pci_tseng.c
1999-03-26 19:20:42 +00:00
tsubai
6dbdfeab77
include GENERIC.
1999-03-26 16:40:09 +00:00
tsubai
35a4f16a60
``INSTALL'' + USB doesn't work (binutils bug?).
...
So use this instead.
1999-03-26 14:58:22 +00:00
ender
4533a22d80
NetBSD/mac68k installation kernel config
1999-03-26 08:42:49 +00:00
tsubai
82b3b0209f
In copyin() and copyout(), clear the pcb_onfault variable in the EFAULT
...
case. (pr 7243)
1999-03-26 08:32:15 +00:00
leo
9d7ee0ba80
Fix typo noticed by James Boulton.
1999-03-26 08:24:52 +00:00
leo
6a477596b9
Add more fuzziness to the MDRAM initialisation. Seems to work on a broader
...
range of et6[01]00 cards now.
1999-03-26 08:21:49 +00:00
tsubai
38a92c9752
A successful kernel page fault should just return so that signal delivery
...
et al. should not executed. (pr7240)
1999-03-26 08:15:23 +00:00
tsubai
bd7d7dd1f4
<mips/db_machdep.h> --> <machine/db_machdep.h>
1999-03-26 07:07:06 +00:00
tsubai
f75ec26a42
Define DB_ELF_SYMBOLS to compile.
...
(currently /boot doesn't preserve symbols.)
1999-03-26 07:03:01 +00:00
mhitch
96eecff795
Add some ATAPI support. My CDROM drive works, but I don't have other devices to
...
test. This should provide interim ATAPI support until the MI wdc driver is used.
1999-03-26 07:00:37 +00:00
dbj
25ea4fb7a7
tweaks to compile with egcs -Werror
...
minor changes to scsi driver register accesses.
1999-03-26 06:54:40 +00:00
simonb
d0e107a1a5
Update copyrights.
1999-03-26 05:23:58 +00:00
dbj
d1bbf5a190
Added support for using wscons as console.
...
Enabled wscons as default console.
Use option SERCONSOLE now to use serial console instead now.
1999-03-26 04:42:59 +00:00
eeh
69d1f9d0d3
COMPAT_SPARC32 -> COMPAT_NETBSD32
1999-03-26 04:29:20 +00:00
dbj
5a7e7178c8
fix polled keyboard support
1999-03-26 04:17:46 +00:00
dbj
0fabf8441f
add KS_bar and KS_backslash to default us keymap.
1999-03-26 04:15:27 +00:00
tsubai
670d76b7ea
Remove ifdef UVM.
1999-03-26 03:40:41 +00:00
hubertf
b97ebf9749
Sync some options from GENERIC
1999-03-26 02:48:18 +00:00
hubertf
b3acf3a4e4
s/internally/internal/
1999-03-26 02:46:14 +00:00
simonb
4fefe2cb37
Conditionally set BINMODE and BINDIR so lower level Makefiles can override
...
the location or modes.
Fix up the machine and mips symlink creation.
1999-03-26 02:12:17 +00:00
simonb
461afc9079
Explictly set BINMODE to 555 so that ../Makefile.inc doesn't override it.
1999-03-26 02:07:55 +00:00
thorpej
567cda0537
Don't bother allocating mb_map on these systems. Mbuf clusters are
...
allocated from a pool, and the MIPS and Alpha use KSEG to map pool
pages. So, mb_map wasn't actually being used. Saves around 4MB of
kernel virtual address space in a typical configuration.
Garbage-collect the related VM_MBUF_SIZE constant.
1999-03-26 00:15:04 +00:00
is
d19d45b897
defopt Amiga graphics console options
1999-03-25 23:20:00 +00:00
is
f333be91dc
defopt Amiga graphics console options
1999-03-25 23:19:58 +00:00
thorpej
ad22c1dd58
Use ETHER_*_LEN constants from <net/if_ether.h> instead of defining them
...
ourselves.
1999-03-25 23:16:37 +00:00
is
c7ad403020
Forgot A2024
1999-03-25 23:16:14 +00:00
thorpej
587eda7c3f
Use ETHER_*_LEN constants from <net/if_ether.h> instead of defining them
...
ourselves.
1999-03-25 23:11:51 +00:00
thorpej
0193701fcd
Use ETHER_*_LEN constants from <net/if_ether.h> instead of defining them
...
ourselves. Subtract ETHER_CRC_LEN as necessary to get the same values
for these constants as were previously defined locally.
1999-03-25 23:10:53 +00:00
thorpej
962833e128
Use ETHER_*_LEN constants from <net/if_ether.h> instead of defining them
...
ourselves.
1999-03-25 23:10:13 +00:00
pk
3eab58ceec
UVM no longer an option.
1999-03-25 22:21:09 +00:00
pk
422c4dbb41
Put back <uvm/uvm.h>
1999-03-25 22:13:40 +00:00
is
b30a4d19c0
Defopting grf_cc configuration parameters
1999-03-25 21:55:17 +00:00
simonb
1132034fe8
If the clock speed is less than 15MHz, we're on a 2100, otherwise a 3100.
1999-03-25 19:55:37 +00:00
mrg
54ab2e1e54
clean and up make compile
1999-03-25 17:49:43 +00:00
perry
b476609d5f
fix typo
1999-03-25 17:06:38 +00:00
mrg
dc011bcec0
move sparc32 MD bits here.
1999-03-25 16:26:19 +00:00
simonb
e432668f46
callvec.c moved in stand again...
1999-03-25 12:56:18 +00:00
simonb
aff677bcae
Updates for new bootblocks.
1999-03-25 12:24:56 +00:00
simonb
5010ae76c0
Remove old (not-enabled) local support for loading kernels.
1999-03-25 12:16:04 +00:00
simonb
b295b577e1
Second stage bootblocks based on original single stage blocks.
1999-03-25 12:11:41 +00:00
simonb
2dde1643c2
Makefile for /boot.
1999-03-25 12:10:12 +00:00
simonb
7c060ce391
Version info for bootblocks.
1999-03-25 11:57:41 +00:00
simonb
26098f27a2
Emtpy twiddle() to save space in stage 1 bootblocks
1999-03-25 05:28:36 +00:00
simonb
b9b7830d05
Unused now.
1999-03-25 05:27:00 +00:00
simonb
1e80ec96a0
Only include the dec disklabel at the start of BOOTXX is defined.
1999-03-25 05:23:48 +00:00
simonb
fb11e9e236
Remove unused debugging code, and clean up an error message.
1999-03-25 05:22:44 +00:00
simonb
f490a639c9
Not needed at the moment - may be resurrected when netboot comes along.
1999-03-25 05:19:44 +00:00
simonb
a160a47e1b
Fix header botch in previous.
1999-03-25 05:17:49 +00:00
simonb
e213504efd
Call main instead of _main.
1999-03-25 05:17:27 +00:00
simonb
c80fb4ccb8
Change from loading an a.out kernel to an ELF /boot.
1999-03-25 05:16:06 +00:00
simonb
0e44e536a0
Include <machine/stdarg.h> and not <stdarg.h> - found by adding
...
-nostdinc to CPPFLAGS.
1999-03-25 05:13:15 +00:00
simonb
7607cac7b3
CVS repository copy to bootxx.c
1999-03-25 04:42:06 +00:00
simonb
70bc63765d
CVS repositary copied to ../scsiboot. These are small routines and/or
...
PROM callbacks used only by the first-stage disk bootblocks. Other
bootloaders use libsa/libkern.
1999-03-25 04:34:03 +00:00
simonb
ec6b2370d9
CVS repositary copied to ../lib.
1999-03-25 04:22:04 +00:00
simonb
e6469a71aa
Makefile* of pmax specific SA library - based on i386/stand/lib Makefile.
1999-03-25 04:16:15 +00:00
simonb
88eed19213
Oops, forgot RCS header and copyright.
1999-03-25 04:14:03 +00:00
simonb
50e9ee5706
Assembly routine that takes an entry point, new stack pointer address
...
and six extra arguments. Sets up the stack pointer with the arguments
in the right registers/stack positions and calls the entry point.
1999-03-25 04:08:59 +00:00
simonb
c7c8021a29
Basic putchar() implentation in terms of the PROM's printf() callback.
...
Not really effecient, but there isn't that much printf'ing down by SA
programs and we can use the libsa printf() so things like "%ld" work.
1999-03-25 04:02:57 +00:00
simonb
0f203c7d99
Use "make ... echo ${MACHINE}" to get the machine name so
...
that this script is MI. Just need to find the right place
for it now - suggestions welcome...
1999-03-25 03:56:00 +00:00
simonb
246f0aacde
Copy of sys/arch/sparc/common/newvers.sh.
1999-03-25 03:52:12 +00:00
simonb
c06d325aaa
Copy of sys/arch/i386/lib/loadfile.h with tweaks for the pmax.
1999-03-25 03:41:58 +00:00
simonb
6c24c1c864
When loading an a.out kernel and keeping the exec header, if it's OMAGIC
...
put the exec header below kernel text.
1999-03-25 03:38:53 +00:00
simonb
4ba6c44ef4
s/BOOTINFO_MAXSIZE/BOOTINFO_SIZE/
1999-03-25 03:35:39 +00:00
explorer
bdf33ae1f0
add entry for lmc* at pci?
1999-03-25 03:35:26 +00:00
simonb
afc2e41e04
Change multiple spaces to tabs.
1999-03-25 03:34:28 +00:00
simonb
be62523806
Remove trailing whitespace.
1999-03-25 03:33:58 +00:00
simonb
674c1ff8f1
Check KN03_INTR_PROD_JUMPER in the IOASIC INTR register to test if we
...
are running on a 5000/2x0 or a 5900, and set cpu_model accordingly.
(Test from Tohru Nishimura).
1999-03-25 03:03:59 +00:00
simonb
3a2b42eeca
Add KN03_INTR_PROD_JUMPER (from Tohru Nishimura).
1999-03-25 03:00:18 +00:00
perry
ea0f7990a8
add a (commented out) BROKEN_LPT_DELAY
1999-03-25 02:22:21 +00:00
simonb
03ca5d05cf
Remove trailing whitespace.
1999-03-25 01:17:51 +00:00
mrg
7b93dd1117
remove opt_uvm.h
1999-03-25 00:41:46 +00:00
simonb
50897b84e0
Direct copy of sys/arch/i386/stand/lib/loadfile.c.
...
XXX: This should probably be MI in sys/lib/libsa. After 1.4...
1999-03-24 23:51:26 +00:00
dbj
4717d3e130
fix typo allocating color framebuffer map.
1999-03-24 23:47:46 +00:00
simonb
b4848d6b90
Code to initialise and add bootinfo records.
1999-03-24 23:47:37 +00:00
dbj
a859ba2b23
Applied patches from Matt Debergalis <deberg@mit.edu>.
...
These patches include:
Added framebuffer mapping for color framebuffer to support color wscons
which is coming soon.
Renamed wskbdmap_mfii[ch] to wskbdmap_next[ch]
Changed video to be white on black instead of black on white.
Now handles and discards mouse interrupts.
Video and keyboard is now working on mono machines.
1999-03-24 23:15:51 +00:00
ender
235abbff06
Garbage collect a bit of old VM missed by the initial pass.
...
Fix supplied by Dave Huang <khym@bga.com> in PR #7226 .
1999-03-24 22:28:49 +00:00
is
35bbdd4cd2
AGA: VGAonly timing (GRF_AGA_VGA), by Adam Ciarcinski
1999-03-24 22:24:42 +00:00
drochner
88a179595a
regdef.h is back
1999-03-24 21:15:17 +00:00
minoura
fdd6c4d819
Add function keys mapping.
1999-03-24 14:12:52 +00:00
minoura
b28f2306c9
G/c amiga's key repeat handler.
1999-03-24 14:11:47 +00:00
minoura
a76b0b1bf5
Shut up gcc -Wall.
1999-03-24 14:07:38 +00:00
minoura
ff8cf815a8
Mach VM removal.
1999-03-24 14:01:50 +00:00
simonb
71bb7683db
Initiailise to bootinfo pointer to NULL. In lookup_bootinfo(), if the
...
bootinfo pointer is NULL, just return instead of trying to make use of it.
1999-03-24 12:59:15 +00:00
tron
732f052e13
Don't include "opt_uvm.h" any more.
1999-03-24 12:41:27 +00:00
tron
4cdff58b76
Don't include "opt_uvm.h" any more.
1999-03-24 12:16:50 +00:00
tron
75377e1815
Don't include "opt_uvm.h" any more.
1999-03-24 11:35:30 +00:00
tron
1eb060a0ba
Remove remaining "ifdef UVM" checks.
1999-03-24 11:23:45 +00:00
tron
e1d80e2d51
Don't include "opt_uvm.h" any more.
1999-03-24 11:21:47 +00:00
mrg
ca5f9685bb
clean up kernel/config files files for machVM lossage.
1999-03-24 06:06:09 +00:00
mrg
d2397ac5f7
completely remove Mach VM support. all that is left is the all the
...
header files as UVM still uses (most of) these.
1999-03-24 05:50:49 +00:00
jonb
a50349ea32
Comment out options that are already the default... (I'm leaving them
...
around as an example of what to change if needed.)
1999-03-24 03:48:04 +00:00
nisimura
f719570f0a
- Restore 'regdef.h' lost since last January.
1999-03-24 03:45:36 +00:00
mycroft
006ee23e99
Fix another problem is the modified bit emulation that caused double faults.
...
We need to set the L2 type preemptively, as it may still be L2_INVAL if the
page had not been previously accessed.
1999-03-24 02:45:27 +00:00
simonb
0ba02670be
New bootblock directory structure.
1999-03-24 02:07:22 +00:00
mycroft
11d7efb7ba
Forgot a return instruction in the error case.
1999-03-24 01:51:56 +00:00
simonb
0074502b0a
o Add bootinfo support by checking the fifth and sixth arguments for a
...
magic number and a pointer to the bootinfo data.
XXX: A bootinfo_magic record is not checked for at the moment, even
though test bootblocks initialise the bootinfo data with one.
o Use the bootinfo symtab information in preference to searching for a
valid a.out exec header after _end for initialising DDB.
XXX: Should retire a.out exec header support altogether. Loosing the
ability to load symbols from old bootblocks isn't much of a loss.
After 1.4?
o Add "booted kernel" machdep sysctl.
1999-03-24 01:49:10 +00:00
jonb
6c6ff861c6
put in compiler options to reduce object size by half
1999-03-23 23:02:14 +00:00
simonb
729eda4324
Define a bootinfo record and initial structures that the pmax will use.
...
Modeled on i386 and bebox bootinfo.h.
1999-03-23 22:53:02 +00:00
simonb
aca34380db
If on entry the stack is within 4kB of _start, don't reset the stack
...
pointer to just underneath _start. Allows bootblocks (or other kernel
calling programs) to pass more than 4 arguments if it sets up the stack
properly.
The 4kB figure may be overkill - on the pmax it only needs to be a dozen
of so bytes.
1999-03-23 22:43:18 +00:00
simonb
c9e3b47a0f
Don't build anything while bootblocks are being updated.
1999-03-23 22:23:11 +00:00
simonb
f93b8168c0
Include <machine/db_machdep.h> instead of <mips/db_machdep.h>.
1999-03-23 22:15:36 +00:00
simonb
41febd3a3c
Move DB_{AOUT,ELF}_SYMBOLS (and DB_ELFSIZE) definition to port-specific
...
db_machdep.h file.
1999-03-23 22:07:06 +00:00
simonb
027594b1eb
Add CPU_BOOTED_KERNEL to CTL_MACHDEP definition.
1999-03-23 22:04:01 +00:00
drochner
76fa1751fe
Add a macro to check for sufficient pointer alignment in bus.h context,
...
"BUS_SPACE_ALIGNED_POINTER()".
Equal to the param.h "ALIGNED_POINTER()" normally, but obeys additional
requirements of the bus_space_xxx_n() macros. (BUS_SPACE_DEBUG)
1999-03-23 21:29:03 +00:00
bad
b5348881aa
Add tcic PCMCIA controller.
1999-03-23 20:08:55 +00:00
bad
23d89d53f3
config(8) glue for the TCIC PCMCIA backend.
1999-03-23 20:07:39 +00:00
mycroft
1bb64b0636
__SWAP_BROKEN is no longer useful here.
1999-03-23 19:16:03 +00:00
mycroft
6bb727e736
Nuke some more code that was fetching PT_M and PT_H from pv_flags.
1999-03-23 18:39:38 +00:00
wrstuden
3c8e65b670
Oops. macppc doesn't use PCLK as a baud rate source.
1999-03-23 18:07:19 +00:00
mycroft
5f63cab877
The page and section fault handling paths are essentially identical, so
...
combine them. This also fixes a performance issue, in that we always
faulted pages twice in order to write them.
1999-03-23 18:02:02 +00:00
wrstuden
a7678930b4
Oops. mac68k does NOT use PCLK as a clock source, so don't enable it in
...
the default channel setup.
1999-03-23 17:55:03 +00:00
mycroft
79e56d3237
The ARM has the same copy-on-write bug as the i386 -- the write enable bit in
...
PTEs is ignored when in kernel mode. Hack around this just like we do on the
i386, by adding a prepass to copyout() to check for write permission on the
destination pages.
1999-03-23 17:14:34 +00:00
minoura
87c8a7e347
u?vm_page_physload args are in page.
1999-03-23 15:55:43 +00:00
christos
f36829e285
s/DEBUG/LDT_DEBUG/ This got too verbose when running Wine.
1999-03-23 15:48:19 +00:00
mycroft
8f3d31a32b
More cleanup...
...
* Don't bother pulling PT_M and PT_H bits from pv_flags; they can't ever be
set there!
* Actually make pmap_clear_reference() do something useful.
* Also set the referenced bit (PT_H) when emulating a write fault.
1999-03-23 13:52:48 +00:00
mycroft
da99fe308e
Repeat after me:
...
If we're doing modified bit emulation, we must revoke write permission in
pmap_clear_modify(). This is non-negotiable. I will revoke write permission
in pmap_clear_modify(), or suffer the wrath of a thousand bricks.
1999-03-23 13:27:48 +00:00
mycroft
3c8512dbb5
We could not possibly have been updating the pv attributed correctly in
...
pmap_enter(), so... make the obvious change.
1999-03-23 12:30:45 +00:00
dbj
c1824c37af
more minor changes, mostly in minor tweaks to debuggin output.
...
tweaks to handling dmasize != dmalen correctly.
changed minimum dma segment length for tail buffer.
1999-03-23 08:42:39 +00:00
gwr
c19324e6bb
Fix prototype mismatch.
1999-03-23 05:54:11 +00:00
minoura
86ecebe5e8
Move high-memory detect routine.
...
This seems to fix the problem that it hangs up on 040turbo without
high-memory.
1999-03-23 04:18:50 +00:00
thorpej
63b6321834
VM_MBUF_SIZE is in terms of MCLBYTES, not CLBYTES.
1999-03-23 00:31:59 +00:00
bad
fee4297b62
Add IBM and 3COM ISA Token-Ring drivers.
1999-03-22 23:43:30 +00:00
is
2ccf15e5f3
53c810A identification
1999-03-22 19:30:57 +00:00
mrg
8fcaa99d1b
KNF nits.
1999-03-22 13:08:51 +00:00
mark
f88d8c6a35
In the light of PRs 7122 & 7123 temporarily define __SWAP_BROKEN until
...
the problem these bug reports described is fixed and they are closed.
1999-03-22 10:24:04 +00:00
mark
34a92d6f82
Fix addressing problem for the aux status register. Whilst reads of this
...
read appear to be aliased in the address space, writes are not thus the
correct address is important in order to reset drives.
1999-03-22 10:14:12 +00:00
mycroft
6ada3afd8b
Reject variant numbers which are too large (so that a new version of isapnpdevs
...
with an old driver will not lose mysteriously).
1999-03-22 10:00:09 +00:00
mycroft
2cccf3bd4a
Update callers of isapnp_devmatch().
1999-03-22 09:44:12 +00:00
ross
be177a7fd4
PCI: +bha
...
+en
+ex
+fxp
+le
+pcscp
MII: +exphy
EISA: +ahb
+uha
1999-03-22 09:19:57 +00:00
ross
60fe60deaa
Enable fuword(9), fuiword(9).
1999-03-22 09:17:11 +00:00
minoura
c36508e32b
Use bus_dma(9) for DMA bouncing.
...
The code is dirty. It should be rewritten in the future.
1999-03-22 08:54:14 +00:00
chs
31839fe71d
fix previous, I got carried away with cut+paste.
1999-03-22 08:44:37 +00:00
mycroft
df7eadf2d6
More PnP/audio goo. Need an Alpha joystick driver. B-)
1999-03-22 07:55:14 +00:00
mycroft
8e621ce2ee
Add MIDI and sequencer devices. They seem to work, even.
1999-03-22 07:52:56 +00:00
mycroft
a873302b17
Add a SonicVibes.
1999-03-22 07:51:28 +00:00
mycroft
2fba0f875b
More sound cards for testing...
1999-03-22 07:50:29 +00:00
eeh
2343b503e6
Need to set up the pointers properly for partial FPU register stores.
1999-03-22 06:47:01 +00:00
eeh
7fba1d4a21
Add FS_SIZE.
1999-03-22 06:45:15 +00:00
eeh
f0503a65c8
Flush D$ on bypass accesses.
1999-03-22 05:35:39 +00:00
ad
3ce634a350
Added support for cursor keys, function keys and friends. kbdMapChar now
...
returns 'char *' to do this. Codes returned for the various keys match
what 'rcons' termcap entry expects.
1999-03-22 03:25:29 +00:00
minoura
4da31bd7f1
Use intio_debug flag variable.
1999-03-22 03:21:35 +00:00
minoura
c9e79552c8
Check unit.
...
This bug seems to be introduced on merging the bus.h patches.
1999-03-22 03:20:51 +00:00
thorpej
a77ccfe460
Garbage-collect.
1999-03-20 01:40:25 +00:00
is
be73d82871
Yet more kernel startup debug code
1999-03-19 21:40:24 +00:00
cgd
d324c9f2f6
pull isa_machdep.h in from machine/ instead of from $(MACHINE)/isa/
1999-03-19 05:13:16 +00:00
cgd
10af862bf7
move isa/isa_machdep.h to include/isa_machdep.h. (can't do it via
...
repository copy because alpha already had an include/isa_machdep.h in
the attic.)
1999-03-19 05:04:42 +00:00
cgd
37d2c204a7
Moved to arch/i386/include/isa_machdep.h,v
1999-03-19 05:02:11 +00:00
cgd
7b5fe5e402
Moved from arch/i386/isa/isa_machdep.h,v
1999-03-19 05:02:10 +00:00
cgd
f822fd675f
Moved to arch/bebox/include/isa_machdep.h,v
1999-03-19 05:02:03 +00:00
cgd
a4033465f4
Moved from arch/bebox/isa/isa_machdep.h,v
1999-03-19 05:02:02 +00:00
cgd
3f7f974ec8
Moved to arch/atari/include/isa_machdep.h,v
1999-03-19 05:01:58 +00:00
cgd
3f10df3001
Moved from arch/atari/isa/isa_machdep.h,v
1999-03-19 05:01:57 +00:00
cgd
b47008cec9
Moved to arch/arm32/include/isa_machdep.h,v
1999-03-19 05:01:52 +00:00
cgd
04216fffa4
Moved from arch/arm32/isa/isa_machdep.h,v
1999-03-19 05:01:51 +00:00
cgd
d00106ee06
if you pull in isavar.h, you don't need isa_machdep.h.
1999-03-19 04:58:45 +00:00
cgd
8e85aac1ce
move pci/pci_machdep.h to include/pci_machdep.h. (can't do it via
...
repository copy because alpha already had an include/pci_machdep.h in
the attic.)
1999-03-19 03:40:46 +00:00
cgd
284689634e
Moved to arch/macppc/include/pci_machdep.h,v
1999-03-19 03:36:19 +00:00
cgd
49e6daa992
Moved from arch/macppc/pci/pci_machdep.h,v
1999-03-19 03:36:18 +00:00
cgd
6d371b2fa9
Moved to arch/i386/include/pci_machdep.h,v
1999-03-19 03:36:14 +00:00
cgd
2ee7faa480
Moved from arch/i386/pci/pci_machdep.h,v
1999-03-19 03:36:13 +00:00
cgd
8649cea317
Moved to arch/bebox/include/pci_machdep.h,v
1999-03-19 03:36:07 +00:00
cgd
99633b3ef3
Moved from arch/bebox/pci/pci_machdep.h,v
1999-03-19 03:36:06 +00:00
cgd
ed47999c60
Moved to arch/atari/include/pci_machdep.h,v
1999-03-19 03:35:59 +00:00
cgd
bd032fb46a
Moved from arch/atari/pci/pci_machdep.h,v
1999-03-19 03:35:58 +00:00
cgd
f753c9860f
Moved to arch/arm32/include/pci_machdep.h,v
1999-03-19 03:34:22 +00:00
cgd
4b75fd0ceb
Moved from arch/arm32/pci/pci_machdep.h,v
1999-03-19 03:34:21 +00:00
cgd
6ce0de2b8e
Moved to arch/arm32/include/ofisa_machdep.h,v
1999-03-19 03:29:50 +00:00
cgd
9c73a61eca
Moved from arch/arm32/ofw/ofisa_machdep.h,v
1999-03-19 03:29:49 +00:00
cgd
d6d5f13551
Moved to arch/i386/include/isapnp_machdep.h,v
1999-03-19 03:18:54 +00:00
cgd
6d9d9e12e2
Moved from arch/i386/isa/isapnp_machdep.h,v
1999-03-19 03:18:53 +00:00
cgd
190d23ee40
Moved to arch/bebox/include/isapnp_machdep.h,v
1999-03-19 03:18:34 +00:00
cgd
0af0341ff6
Moved from arch/bebox/isa/isapnp_machdep.h,v
1999-03-19 03:18:33 +00:00
cgd
14498c628f
Moved to arch/atari/include/isapnp_machdep.h,v
1999-03-19 03:18:01 +00:00
cgd
096f58d900
Moved from arch/atari/isa/isapnp_machdep.h,v
1999-03-19 03:18:00 +00:00
cgd
b95dc1d904
Moved to arch/arm32/include/isapnp_machdep.h,v
1999-03-19 03:14:17 +00:00
cgd
126a9a68b7
Moved from arch/arm32/isa/isapnp_machdep.h,v
1999-03-19 03:14:16 +00:00
cgd
08eb14f874
Moved to arch/alpha/include/isapnp_machdep.h,v
1999-03-19 03:14:06 +00:00
cgd
0d0fd78b4e
Moved from arch/alpha/isa/isapnp_machdep.h,v
1999-03-19 03:14:05 +00:00
cgd
e962a59308
move tc/tc_machdep.h to include/tc_machdep.h. (can't do it via
...
repository copy because alpha already had an include/tc_machdep.h in
the attic.)
1999-03-19 03:12:31 +00:00
cgd
88590a9cd1
move eisa/eisa_machdep.h to include/eisa_machdep.h. (can't do it via
...
repository copy because alpha already had an include/eisa_machdep.h in
the attic.)
1999-03-19 02:59:49 +00:00
cgd
a12c0565ed
Moved from ../eisa/eisa_machdep.h,v
1999-03-19 02:56:59 +00:00
cgd
67ba5610b9
Moved to eisa_machdep.h,v
1999-03-19 02:56:58 +00:00
pk
1e0c7c3ed1
Fix various things that kept this bus front-end from functioning..
1999-03-18 21:33:14 +00:00
minoura
7cc089a5dd
Correct rnd_attach_source args.
1999-03-18 16:15:53 +00:00
minoura
815f84a789
Shut up gcc -Wall
1999-03-18 12:31:58 +00:00
minoura
701942e794
G/C.
1999-03-18 12:27:59 +00:00
minoura
f0dda99d19
Remove extra ;. Extended memory could not be added correctly.
1999-03-18 12:27:07 +00:00
scottr
4982fb8fdb
Fix an obscure bug in send_adb_cuda() found be comparison with
...
the macppc version.
1999-03-18 09:10:19 +00:00
simonb
46c6663ce4
Don't prototype ioasicprint() - the prototype is now in
...
dev/tc/ioasicvar.h and we don't use it here anyway.
1999-03-18 06:37:35 +00:00
chs
ab7269f62a
if uvm_fault() fails with KERN_RESOURCE_SHORTAGE, send a SIGKILL
...
and print a message about it. this will be used to recover from
out-of-swap conditions.
1999-03-18 04:56:01 +00:00
chs
bb8971afc3
for emul_sunos processes, don't change vmspace->vm_maxsaddr
...
for faults within a fudge factor of the end of the stack.
the sunos ld.so maps some zero-fill memory there and uses
it while loading shared libs. ignoring these shenanigans
allows ps to report the correct stack usage for sunos programs.
1999-03-18 04:27:54 +00:00
eeh
4d538d5ab9
Fix problem w/FPU use in the kernel.
1999-03-18 03:25:55 +00:00
eeh
3c8b9d7307
Some devices don't have a `device-type' property we can use to allocate
...
an IPL. Check for those by name. Give the rest a default IPL of 2.
(Added `SUNW,CS4231' to the list.)
1999-03-18 03:23:53 +00:00
pk
848e39dd70
Shouldn't call getpropint() on old proms: only get a CPU's `mid' if needed.
1999-03-17 23:21:38 +00:00
pk
9ae1ca2595
Got a VME probe result backwards.
1999-03-17 23:20:16 +00:00
is
605bbc6a31
ISDN Master II support added.
...
Actually, support for this has still to be added to the isdn4bsd release.
1999-03-17 21:44:18 +00:00
drochner
04df246f03
identify ST_DEC_6600 (EV6) - as unsupported :-(
1999-03-17 19:00:01 +00:00
sommerfe
bc533621ed
defopt MINIROOTSIZE
1999-03-17 18:59:21 +00:00
drochner
597bc445b1
add ST_DEC_6600, clean up some comments
1999-03-17 18:58:51 +00:00
sommerfe
a9a3ed03ee
Build kernels -Os. Appears to generate smaller code than -O1 or -O2
1999-03-17 18:40:30 +00:00
ross
1ae12eef5a
g/c proto
1999-03-17 18:28:11 +00:00
ross
f10b320472
XXX rm ioasicprint() & ioasic_submatch() because of <dev/tc/ioasic_subr.c> XXX
1999-03-17 17:50:06 +00:00
minoura
5410a9b53b
Crash dump support.
...
It was broken for long time because of somewhat unknown reasons.
1999-03-17 16:19:46 +00:00
minoura
d2721426bb
Move aout2hux manpage to share/man/man1/man1.x68k/.
1999-03-17 14:52:39 +00:00
minoura
64d2bc59bc
MACHINE_NONCONTIG -> EXTENDED_MEMORY.
...
G/c and comment changes.
1999-03-17 12:31:25 +00:00
minoura
6de1aeaee6
MACHINE_NONCONTIG -> EXTENDED_MEMORY.
1999-03-17 12:29:56 +00:00
minoura
a6cf3ee3f8
Sync hp300's.
...
- Remove pmapvacflush debugging code (1.63)
- pmap_collect (1.60)
- Use pool allocator (1.59)
- pmap_zero_page, pmap_copy_page improvements (1.58)
- Use PMAP_DPRINTF (1.56)
- pmap_changebit() changes (1.54)
- Remove deprecated PMAPSTATS (1.53)
- Other cosmetic changes
1999-03-17 12:28:58 +00:00
chs
1edbaac92c
when destroying a pmap, unlock it before freeing it to keep LOCKDEBUG happy.
1999-03-17 01:34:04 +00:00
minoura
b34682dcab
Typo.
1999-03-16 17:04:35 +00:00
drochner
937ba3a513
add prototype WSDISPLAY_DEFAULTSCREENS option, improve wscons related
...
comments
1999-03-16 16:31:54 +00:00
minoura
ba80d2c6d7
Merged minoura_x68k_bus_h branch.
1999-03-16 16:30:16 +00:00
mark
2ae8daf4dc
Junk a load of register keywords.
...
Add missing type in a declaration of iobase.
1999-03-16 10:55:42 +00:00
mark
1b8eea513f
_intrnames is only used in irq_release() if IRQ_STATS is defined so add an
...
appropriate guard.
1999-03-16 10:53:50 +00:00
nisimura
ed09809062
- Final cut of TC decoulping.
1999-03-16 05:59:01 +00:00
chs
8e61ed9705
in pmap_bootstrap4_4c(), remove any bogus mappings the PROM
...
left around in the mmu.
1999-03-16 03:45:36 +00:00
leo
b9cb0eefd0
First step to a framework that can be used to initialize vga-cards on the
...
pci-bus. The code is called early in the bootphase and tries to initialize
a known type of card into a 'standard' text mode. Wscons should be able
to handle these cards afterwards.
1999-03-15 15:47:11 +00:00
minoura
9729dbb6ad
Pullin m68k/ieee.h.
1999-03-15 12:42:51 +00:00
nisimura
bfdc9ed402
- Remove a verbose local variable.
1999-03-15 12:03:50 +00:00
minoura
e518820ca8
Pullin m68k/ieee.h.
1999-03-15 11:55:53 +00:00
nisimura
eed42e945e
- 'DECstation 5100' -> 'DECsysytem 5100'.
1999-03-15 11:45:16 +00:00
nisimura
5871c2b95d
- Fix config option name for 3MAX+.
1999-03-15 11:41:25 +00:00
jonathan
c72be5c489
Eliminate a divide by 40 from the microtime() path on 50Mhz decstatinos
...
by approximation using 41/2048. Gains one bit in NTP precision.
1999-03-15 09:47:36 +00:00
jonathan
5965639381
Do lk201 non-keyclick setup even when LK_KEY_CLICK not configured.
1999-03-15 09:40:56 +00:00
nisimura
6335e6c176
- Rearrangement for TC decoupling with some typo fixes.
1999-03-15 07:52:05 +00:00
leo
24ae5a32cf
We need more 'stand' functions (From Julian Coleman).
1999-03-15 07:46:11 +00:00
nisimura
210ea7eabe
- Decouple "ibus" from TURBOchannel.
...
- Nuke mainbus_softc definition (it's empty).
1999-03-15 07:43:05 +00:00
christos
16f90e3d2a
Enable EXEC_ELF32... It only adds 4K to the kernel, and makes an ELF
...
install floppy to work (from Andrew Gillham)
1999-03-15 07:22:18 +00:00
nisimura
1990f5b094
- Make compilable with 32bit long integer system.
1999-03-15 05:28:07 +00:00
nisimura
cfbd3e5737
- Adjust function declarations.
1999-03-15 03:25:33 +00:00
tsubai
79c71e0bae
Check the accessibility before reading from configuration space.
1999-03-15 03:03:10 +00:00
nisimura
3ac70670ef
- Eliminate 'conf.h' from MIPS common code.
1999-03-15 02:47:10 +00:00
nisimura
17e168c9b3
- Nuke old leftover; round four. This file has little usefuls, and
...
target MIPS ports are expected to have 'machine/conf.h' if necessary.
1999-03-15 02:43:48 +00:00
tsubai
07e094073c
Remove bogus comment.
1999-03-15 02:26:10 +00:00
tsubai
da1be4ffd8
Fix mkdep ``cc: No input files'' error when SFILES is empty.
1999-03-15 01:55:32 +00:00
nisimura
10b5625b87
- Nuke old leftover; round three. Remove never-used functions.
...
XXX Needs to eliminate TURBOchannel exposure here.
1999-03-15 01:54:56 +00:00
tsubai
b4374e3ce0
Implement badaddr() and trap machine-check in badaddr.
1999-03-15 01:29:07 +00:00
jonathan
ef79649fc1
MI ioasic softc and child-device structs, gc duplicate struct definitions.
...
Add MI ioasic functions, but dont enable on alpha until tested.
1999-03-15 01:25:26 +00:00
mrg
b0eb09de11
remove lderr in "make clean"
1999-03-15 01:15:06 +00:00
mrg
c1122adb50
delete netbsd.aout and netbsd.ecoff in "make clean"
1999-03-15 01:12:00 +00:00
jonathan
78bc84c223
Clean up initializers for pmax ioasic children. Use same struct as alpha.
1999-03-14 23:59:53 +00:00
jonathan
e662ad5ecc
Clean up names for SCC interrupt bits.
1999-03-14 23:59:03 +00:00
is
ba07737bc0
Use the 1/256s-resolution when reading the DraCo battery backed clock
1999-03-14 22:42:12 +00:00
jonathan
69d2d27c1b
Use bus_space tags and handles, embedded in MD hooks AM7930_{READ_WRITE}_REG
...
to handle MD delay and bus padding. Tested on sparc2 by David Brownlee.
Should use regmaps, but that breaks sparc pDMA assembly code.
1999-03-14 22:29:00 +00:00
mycroft
deab09f540
Only need one of vga_isa and vga_pci.
1999-03-14 10:34:18 +00:00
mycroft
cac14a50bc
Update to -current, switch to wscons.
1999-03-14 10:31:43 +00:00
dbj
00c8d4dd90
changed dma start alignment from 4 to 16 so that the cache flush
...
functions always have cache line aligned segments.
continued experimentation with scsi driver.
1999-03-14 10:31:05 +00:00
veego
58d4f7ae24
Add support for future PicassoIV's which use an autoconfig space of 64MB.
...
The framebuffer base address is then at a different offset.
The patch is from Klaus Burkert.
1999-03-14 09:17:19 +00:00
sommerfe
82f8a7dee9
Turn off biosboot_ser until makefile issues get worked out..
1999-03-14 05:50:38 +00:00
jonb
6d636069d6
Allow "make depend" to work again. (It currently freaks out since the
...
SFILES variable is empty...)
1999-03-14 05:03:35 +00:00
simonb
e4dd1abb05
Merge contents of filesystem.c into conf.c, and remove declaration of
...
errno from conf.c and put it in boot.c.
1999-03-14 00:57:06 +00:00
fvdl
35d517b9f1
Hack to make biosboot_ser work.
...
XXX The makefile structure in src/sys/arch/i386/stand is very bad.
1999-03-14 00:04:06 +00:00
is
bed6716015
Identify the chip type when attaching.
1999-03-13 22:43:30 +00:00
is
a02a989bcf
The 53c720 and up are really different. For example, the method to determine,
...
when disconnecting etc., how much data were transferred, has changed.
Symptom: SIOP invalid instructions when doing data transfers to disks that
disconnect.
XXX The bits etc. need to be defined correctly in the siopreg.h file, and
symbolic values used.
1999-03-13 21:30:55 +00:00
tron
32e0182e15
$(OBJS) -> ${OBJS}
1999-03-13 20:58:25 +00:00
ragge
4d77aa3c15
Avoid warning if !QBA.
1999-03-13 20:26:50 +00:00
drochner
c0433847af
make complaints about missing platform support match reality
1999-03-13 19:46:58 +00:00
is
48c33b2e56
Adjust to match the assembled code
1999-03-13 19:42:52 +00:00
ragge
0c86849162
Oops, forgot this file.
1999-03-13 15:44:01 +00:00
ragge
f9b0eec83a
Change vsbus to take a locator for all devices.
...
Figure out interrupt vector/mask on vsbus by forcing all devices to
generate interrupts in the match routine, like on unibus.
1999-03-13 15:16:47 +00:00
ragge
9f6b94f820
Outdated files.
1999-03-13 15:14:29 +00:00
drochner
71f26e545a
pull in a part of [nisimura-pmax-wscons] rev 1.5.4.3: remove unneeded
...
kdbpeek() prototype
1999-03-13 13:16:29 +00:00
drochner
6bcfb2cd72
g/c regdef.h
1999-03-13 13:07:43 +00:00
drochner
93d26ccd4b
g/c regdef.h (went into asm.h)
1999-03-13 13:05:49 +00:00
drochner
7482575685
regdef.h is gone
1999-03-13 11:24:59 +00:00
drochner
0265284ce4
This file is unneeded since <mips/regdef.h> went into <mips/asm.h>.
1999-03-13 11:24:11 +00:00
drochner
2b8eb20358
Remove unneeded <mips/regdef.h>. Its contents went into asm.h while ago.
1999-03-13 11:20:55 +00:00
jonathan
9797e6cf17
Pad out mips1 inter-tick delay loop with two nops, to match
...
gcc-2.7.2.2+myc1 calibration.
XXX rewrite in assembler to remove compiler dependency.
1999-03-13 00:05:39 +00:00
perry
21ce7a4f23
nuke ovbcopy reference
1999-03-12 23:08:11 +00:00
perry
2bbefd75ec
remove ovbcopy reference
1999-03-12 23:05:42 +00:00
perry
240d1ad927
remove ovbcopy references
1999-03-12 23:03:31 +00:00
perry
5b25cace4c
ovbcopy -> memmove
1999-03-12 22:59:23 +00:00
perry
02a2323b29
ovbcopy->memmove
1999-03-12 22:56:21 +00:00
perry
a92175a153
nuke ovbcopy
1999-03-12 22:54:58 +00:00
perry
d446fb449c
exterminate ovbcopy. patches provided by Erik Bertelsen, pr-7145
1999-03-12 22:42:30 +00:00
is
d662e94812
fix some typos introduced when integrating the driver
1999-03-12 20:17:47 +00:00
sommerfe
fc47c0c742
Also build serial bootblocks by default, installing into
...
/usr/mdec/biosboot_ser.sym
Change Makefile.booters to not assume `version' file is in source directory.
1999-03-12 16:07:57 +00:00
nisimura
e846ee9b9b
- Nuke old leftover; round two. XXX Still there 3MAX's IOASIC disguise.
...
Rework will be done in conf/files.pmax, anyway.
1999-03-12 08:15:27 +00:00
nisimura
57edf91cbc
- Nuke old leftover bogocities, round one; externs for non-existent
...
functions, less-intuitive #define's in inappropriate header files.
1999-03-12 07:13:14 +00:00