Commit Graph

18690 Commits

Author SHA1 Message Date
christos 0766a607d4 MD defines for the MI loadfile 1999-04-28 09:10:07 +00:00
scottr eb910c35ce From Ken'ichi Ishizaka: correct the calculation of the frame buffer
offset by masking off garbage bits in the DAFB v7.  This has been
tested at all resolutions and common color depths on the LC47x.
1999-04-28 05:24:08 +00:00
scw 52b5bc5eb8 Duh. My last change broke mvme147 support. 1999-04-27 18:12:44 +00:00
thorpej b1a4c46dab Fix a typo that prevented this from compiling. 1999-04-27 17:37:18 +00:00
nisimura 3e9afa8b4d - Save Mach_splX() calls which don't fit well with DECstation. MIPS
spl machinary will be reworked, someday.
1999-04-27 08:07:26 +00:00
cgd 7b8e7abdd6 use osf1_exec_ecoff_hook() 1999-04-27 02:33:35 +00:00
cgd 6f2f5becb6 Alpha ECOFF object type definitions 1999-04-27 02:32:33 +00:00
ad aa89ae23ba Last fix broke kbd and mouse input under X for the console device. Fixed. 1999-04-26 23:26:11 +00:00
thorpej 5d82bfc656 Garbage-collect VM_MBUF_SIZE. 1999-04-26 22:47:34 +00:00
thorpej b8073b401b Garbage-collect the VM_MBUF_SIZE constant. Instead, use the size
(nmbclusters * mclbytes), so that the right amount of KVA space is
allocated if those variables are patched.
1999-04-26 22:46:44 +00:00
abs 0d2cfcdb5a Update vanity config 1999-04-26 18:30:45 +00:00
ad 0c221127eb More fixes to get the PXG working and keep the PX happy. 1999-04-26 12:05:11 +00:00
ad e54fa8abad Fix silly bug where fbconnect() doesn't realize that it's already been
called during early console initalization, then pouts because there appears
to be n+1 framebuffers. This whole thing is a mess.
1999-04-26 12:03:53 +00:00
nisimura 56a9b84b91 - MIPS processors do not impose inclusive (nesting) interrupt levels with
their interrupt lines.  The notion and implemention of 'spl' are left
for how target ports approach to it.
1999-04-26 09:42:14 +00:00
nisimura 9e798fbe20 - Forgot to commit these two. 1999-04-26 09:36:05 +00:00
nisimura c33ad91e49 - Sweep machdep.c; mostly imported from a development branch. Little
exposure of TC device any more.  Correct comments which are no longer
feasible.  Reorder declarations and definitions.  Introduce 'clkread'
pointer to pull up model dependent high resolution timer value.  Have
prom_systype() call.
- Place routines for model dependent high resolution timer.
- Program IOASIC registers inside os_init() call and nuke ioasic_init().
1999-04-26 09:23:21 +00:00
ad d52e1e73df Add cdev declaration for `px', major 98. 1999-04-26 04:42:10 +00:00
ad 4e3888516e Many fixes to support PXG, PXG+ and PXG+ Turbo. Interrupt handling is
totally broken for the PXG and will remain so until more documentation is
available. This destroys the queueing, hardware clipping, and VDAC update
mechanisms on the PXG.
1999-04-26 04:37:33 +00:00
ad 6db752a5c1 "px.h" requires inclusion. 1999-04-26 04:34:00 +00:00
ad 98fc8dbc76 `pm' device can also be 8bpp - fix dependancy line. 1999-04-26 04:32:05 +00:00
ad b83c863839 Fixed to match rasops config glue. 1999-04-26 04:30:26 +00:00
ad 613a381d71 Update configuration to match `rasops' fixes and config glue. 1999-04-26 04:25:38 +00:00
jonathan 9c39aaeeca Add common SYSV* options (from i386).
Add "options LKM", since with ELF/ECOFF format kernels it should now work.
1999-04-26 02:20:02 +00:00
ross f868468aaa Never used, and work-in-progress uses a different header. 1999-04-25 20:15:06 +00:00
eeh 3f944123d6 Fix uninitialized variable bug in pmap_enter(). 1999-04-25 17:23:04 +00:00
eeh 962ed777c3 Garbage collect some old stuff. 1999-04-25 16:18:46 +00:00
eeh e921bb961d Defer final console attach to zs_attach(). 1999-04-25 16:16:31 +00:00
pk 421994a39b In pmap_{zero,copy}_page4m() use setpgt4m() to setup temporary address
mappings.
1999-04-25 10:30:02 +00:00
scw fdd587c0ea Define MKNOLINT=no and _STANDALONE. 1999-04-25 10:05:00 +00:00
simonb 666e14b944 pmax kernels now compile with -Wuninitialized. 1999-04-25 04:04:53 +00:00
simonb 59df0560f4 Set the colormap index before checking it! 1999-04-25 04:04:16 +00:00
simonb d2bd346fb8 Shut 'gcc -Wuninitialized' up (including a real case I missed with ddb
symbol initialisation).
1999-04-25 03:20:45 +00:00
simonb 5d8b1ef3e4 g/c REAL_CLISTS. 1999-04-25 02:56:26 +00:00
eeh df102fbcb5 Deprecate `findzs()' and try to map in the zs registers if they're not mapped
by the prom.
1999-04-24 21:08:12 +00:00
dbj 9176bfee30 add nextkbd flag to nextcons.c so that kernel can be cleanly
configured without a video console
patch submitted by Matt Debergalis
1999-04-24 17:55:10 +00:00
ross 28ef22871e Copy isdn4bsd cdevsw hooks from i386 conf.c. 1999-04-24 17:01:15 +00:00
simonb f676307241 Include "px.h" - rcons_connect_native is only compiled in of NPX > 0.
Fixes PR port-pmax/7456 from Jason Thorpe.
1999-04-24 15:22:45 +00:00
simonb b7c062102c Oops, deleted a register_t instead of register in previous. 1999-04-24 15:04:32 +00:00
simonb dc1d3940db Nuke register and remove trailling white space. 1999-04-24 08:01:01 +00:00
mark 9a56e04261 Fix microtime() to sanely handle calls before the clocks have been
initialized. This is the DC21285 version of the IOMD fix for PR7357.
1999-04-23 09:09:04 +00:00
cgd 575e9f8dfd support emulation-specified errno mapping tables 1999-04-23 05:43:02 +00:00
thorpej 94682a459b These are no longer used: replaced by locore_mips1.S and locore_mips3.S. 1999-04-23 00:10:15 +00:00
wrstuden 9b0e678d51 Fix compilation errors. 1999-04-22 18:48:59 +00:00
ender e544636cde Disable ASC interrupt enabling for now. We don't currently use it, and
it seems to be causing hangs at attach time on LCII's.
1999-04-22 18:00:34 +00:00
minoura 43d6c498cc I deleted a necessary line by mistake. 1999-04-22 16:22:49 +00:00
minoura f9afee1b29 Bus error occurred on such machines without the SCSI ROM.
Insert badaddr() check before read the ROM.
1999-04-22 12:55:53 +00:00
drochner ca053f4364 remove an "unmodified" so that the copyright notice will hopefully match
pk's "BSD-style (clauses: 2; no acknowledgements)" pattern
1999-04-22 10:27:16 +00:00
ross a1cca18262 Implementing bus_space_barrier(9)::isa_bs_barrier() with panic(9)
does in fact get you a barrier, but it's unnecessarily drastic.
Fixes kern/7431 "SHARKs with a serial console and com.c 1.59.2.1 won't boot".
1999-04-22 10:12:41 +00:00
leo 098c344c9b Make sure that we can link against the libsa.a library. It looks like a
gross hack, but I don't know how to fix this in another way.
1999-04-22 07:17:01 +00:00
chs 05b971dd5f in pmap_pageable(), rather than marking a PT page as not modified
to trick the pagedaemon into freeing it later, just unmap the page
and free it immediately.  fixes PR 7337.
1999-04-22 04:24:52 +00:00
simonb 6f6573cb10 Move BOOTINFO_ADDR up to 0x8001fc00, and reduce the maximum size of a
bootinfo record to 1kB (we are using less than 200 bytes now) so that it
doesn't run into addition PROM memory.

At 0x8001f00 the bootinfo record was stomping on some memory used by the
SFB cards for font information.
1999-04-22 01:52:54 +00:00
ad a895fbfd58 Define rcons_connect() only if (NFB > 0). Define rcons_connect_native() only
if (NPX > 0). Needed for fixed `rasops' config glue.
1999-04-22 00:33:30 +00:00
ad ca39efe84c Remove misplaced comment. 1999-04-22 00:29:59 +00:00
fvdl 3fb6f009a4 Handle instruction prefixes (skip them, in our case). 1999-04-22 00:23:33 +00:00
simonb 25715bb0f2 Comment out 'config nfsnetbsd'. 1999-04-21 12:53:56 +00:00
scottr 136972df3a Actually, the last change solved a different but related problem than
the one mentioned in PR 7376.  By clearing the display in iteon()
instead, we can kill both birds with the same stone.
1999-04-21 06:00:07 +00:00
scottr 48ff49fee0 When attaching the ite console, clear the entire display rather than assuming
that the emulator will do it for us.  (The emulator will only clear
full character-sized rows.)  Incidentally fixes PR 7376.
1999-04-21 05:18:17 +00:00
simonb 24323d7ef4 In cpu_startup():
+ Initialise minaddr to the start of the file I/O buffers.
 + Check for overallocation of RAM for these buffers.
 + Change function name in panic message to match reality.

Code taken from almost every other port, and fixes the:
   uvm_km_suballoc: unable to allocate space in parent map
panic that some people have been experiencing.
1999-04-21 02:03:24 +00:00
ross be000bc016 Revert 1/2 of previous change. INSECURE is still OK for alpha. 1999-04-20 21:43:03 +00:00
thorpej f7b0fea081 After reviewing the Green Book, BPT traps do indeed leave the PC pointing
to the instruction _after_ the `call_pal bpt' instruction.
1999-04-20 21:30:15 +00:00
thorpej 375b3fa699 Prototype alpha_debug(), and add some definitions for KGDB. 1999-04-20 21:23:56 +00:00
thorpej 62d09f4f93 Move the inclusion of <machine/bus.h> to within a _KERNEL section. 1999-04-20 21:23:09 +00:00
thorpej 869951571d - Clean up ddb_trap() somewhat, and handle exceptions that happen while we're
in DDB (e.g. if a bad pointer was dereferenced; the debugger will recover).
- Change a comment to indicate that we are on the debugger stack when we get
  to ddb_trap().
- Fix possible buglet in computation of the branch target in db_branch_taken().
1999-04-20 21:19:48 +00:00
thorpej 701edb8db8 - Revert previous, and do debugger entry if kernel BUGCHK or BPT traps
happen.  If the debugger doesn't handle the trap, arrange things so the
  debugger won't be called again before we panic.
- Before panic'ing, give the debugger a chance to field the trap, and
  if the debugger has handled things, allow the kernel to continue running,
  like the i386 port does.
1999-04-20 21:16:59 +00:00
thorpej a12dedc3ea - Revert previous change to XentIF(), now that we're going to enter the
debugger differently.
- Pull in debugger glue if DDB is configured.

And one unrelated change, while I was here: Don't create a fake trapframe
for main(); it hasn't been used by main() for quite some time, and panic
if main() returns, because that's not supposed to happen now.
1999-04-20 21:11:59 +00:00
thorpej 1b2eac076f Add a common debugger entry point, alpha_debug(), which performs various
tasks (i.e. switches to the debug stack) and then invokes the appropriate
debugger (DDB or eventually KGDB).
1999-04-20 21:09:49 +00:00
thorpej 9d78593b30 Back out previous; we're going to dispatch to the debugger differently. 1999-04-20 21:08:23 +00:00
pk 901a03b897 Protect extent(9) ops with splhigh(). 1999-04-20 20:15:48 +00:00
mark 7c3542d098 Add the rnd pseudo device. 1999-04-20 09:30:08 +00:00
mark 902004cefc Don't try and calculate the time in microtime() unless cpu_initclocks()
has already been called and thus we know the values the timers are using.
This also ensures that clock_sc will always be valid when we try and use
it to read the timer registers.
Fixes PR7357.
1999-04-20 09:14:32 +00:00
mrg ad52a7fe49 make this compile again with no rcons. 1999-04-20 06:42:54 +00:00
ross 702267a538 options INSECURE, like i386
pckbc* -> pckbc0, like i386
1999-04-20 06:16:35 +00:00
simonb dc3b870fce Add NFS_BOOT_DHCP so that netboot kernels can find the root filesystem. 1999-04-20 05:56:52 +00:00
simonb 1065cb27a3 s/NFS_BOOT_BOOTP/NFS_BOOT_DHCP/
DHCP is a superset of BOOTP, and still works with BOOTP servers.
1999-04-20 05:54:44 +00:00
is bbeb5012d5 Add dummy bus_space_barrier method, like mac68k 1999-04-20 05:48:37 +00:00
thorpej f30375cda0 Dispatch to the debugger from the Intruction Fault trap vector directly,
rather than doing it from trap().  This so we can switch to a temporary
stack for the debugger (in a forthcoming commit).
1999-04-19 23:24:14 +00:00
thorpej d24359e5c8 Define BPT and BUGCHK Intruction Fault codes. 1999-04-19 23:22:19 +00:00
kleink ed74932033 Add COMPAT_SVR4 for m68k. 1999-04-19 21:22:56 +00:00
kleink 36e329cd5b Define FP as a synonym for A6. 1999-04-19 21:19:08 +00:00
kleink 6a9c669828 Move linux_reenter_syscall() to a common location and rename it to
reenter_syscall() - it's going to be shared with COMPAT_SVR4 and soon be
used by native code.
1999-04-19 20:58:37 +00:00
scw cc712cde63 Make the memory sizing code *really* work on mvme167. 1999-04-19 19:15:50 +00:00
mycroft 0e603b27d7 +LFS +MFS 1999-04-19 16:57:06 +00:00
ragge d9010c853c Don't try to init the L2 cache if there is no L2 cache. (KA640) 1999-04-19 14:50:57 +00:00
minoura 35d1114201 Add missing par0. 1999-04-18 15:43:21 +00:00
minoura 26b74e1082 Handle T_ILLINST in kernel mode.
This occurs in fpu_probe() when the FPU is not installed on the system.
Because of this, FPU_EMULATE wouldn't work at all.
1999-04-18 14:39:10 +00:00
minoura 4fcf23e9b0 Handle F line emulation correctly when FPU_EMULATE is enabled. 1999-04-18 14:37:09 +00:00
mrg a3b0c3845d fix some comments. 1999-04-18 10:54:23 +00:00
mrg 8b70f01b60 use LINKFLAGS=-X to avoid stripping out per-file debugging info (idea from chuck@netbsd.org) 1999-04-18 10:52:31 +00:00
minoura 8eb1fd77e9 Do not memcpy to the bouncebuffer in datain. 1999-04-18 00:38:58 +00:00
minoura aae9b1588b Typo fix. 1999-04-18 00:36:36 +00:00
kleink ea8f9b570f Inclusions are already relative to the root of the kernel source tree, no need
to traverse the path all the way up again.
1999-04-17 21:26:59 +00:00
ws 5423093850 Modify syncicache on PowerPC from an inline to a real function.
Support different cache line sizes with the same object code in userland.
While here, move the function to implementation name space.
1999-04-17 21:16:45 +00:00
chs b3d919281a update one last call to uvm_pagealloc(). 1999-04-17 20:03:39 +00:00
mhitch 70d16931bd Correct the way I was using the transfer length for ATAPI commands. ATAPI ZIP
drives are now usable.
1999-04-17 19:49:24 +00:00
is 3faf133984 Cut-down kernel for miniroot installation.
Leave everything out that isn't needed.
1999-04-17 19:05:19 +00:00
mhitch 46f5ce02e0 Do a REQUEST SENSE when ATAPI operation returns an error. This is needed to clear
the Unit Attention status, i.e. after a media change on a CDROM.
1999-04-17 17:08:12 +00:00
ragge d80adac6a7 Only allocate QDSS memory if there is a QDSS as console.
QDSS should also work on KA650 now. (untested)
1999-04-17 17:02:49 +00:00
drochner 2519327c42 oops - forgot half of it 1999-04-17 16:52:06 +00:00
drochner 9684e9a613 disable the "aria" sound board per default until the problems with its
"probe" functions are solved (gives false positives)
1999-04-17 16:50:26 +00:00
drochner 7694cc18a5 wsconsio.h is gone 1999-04-17 13:00:04 +00:00