Commit Graph

15330 Commits

Author SHA1 Message Date
mycroft 89becae2d5 Implement fetch_core_registers. Floating point needs work. 1995-08-06 20:38:41 +00:00
mycroft bc59b73733 Merge npxinit() into npxdna(), and remove duplicated code. 1995-08-06 19:48:58 +00:00
mycroft b725d8b30b Update the comment describing how this works. 1995-08-06 19:31:49 +00:00
mycroft 3c20501d57 Clear MDP_USEDFPU on exec. Set it in process_write_fpregs() unconditionally,
for the benefit of the emulator.
1995-08-06 19:01:14 +00:00
mycroft ef504e724d Fix oversight in previous. 1995-08-06 18:05:22 +00:00
mycroft 764d69bf8e Make process_write_fpregs() safe. 1995-08-06 18:02:22 +00:00
mycroft d730fead60 Eliminate direct uses of curproc in npxdna() and npxinit(). 1995-08-06 17:59:10 +00:00
mycroft 0affdcf4d8 Pass curproc to npxdna(). 1995-08-06 17:54:35 +00:00
mycroft ccdf6ac81b Change le0 iosiz. 1995-08-06 16:14:29 +00:00
ghudson 206d659641 Implement and document the -d flag, most easily described as "novice
mode."  Primary motivation for this is backward-compatibility with BSD
4.3 and cross-compatibility with other platforms, but it's also a
nice feature to have.  Displays "[Press space to continue, 'q' to quit]"
at the normal more prompt, and display "[Press 'h' for instructions.]"
when the user gives an invalid command.  Some academic environments like
to set the MORE environment variable to contain -d so that students have
an easier time using it, so it's helpful if we can support that option.
1995-08-06 09:22:30 +00:00
mycroft a326c49adf Stop using cr0 to flag that the FPU has not been used. 1995-08-06 06:05:28 +00:00
mycroft ce7cc0c18a Move the `used fpu' flag into mdproc, so it can be referenced when a process
is swapped out.  Implement process_{read,write}_fpregs.
1995-08-06 05:32:59 +00:00
briggs 3b5979d56c Remove cpu040 use from here. It should only be used at boot time.
Take out old method for determining load address for IIci/si.
Set all but IIsi/ci to use a clock initialization value of 115200 (not
the baud rate... ;-).
1995-08-06 04:39:56 +00:00
mycroft 92637a6d42 Add another Seagate disk to the list, and make all the disks match any
firmware revision.
1995-08-06 00:04:00 +00:00
mycroft 6567855472 Count collisions and errors better. 1995-08-05 23:53:18 +00:00
mycroft 82b6eec41c Use an intermediate variable to shorten label initialization code.
Make wddump() work on more machines.
1995-08-05 23:50:23 +00:00
mycroft 24a5e56396 Use an intermediate variable to shorten label initialization code. 1995-08-05 23:47:52 +00:00
mycroft 61d9ac2bb7 Remove vnode_if.[ch] when cleaning. 1995-08-05 23:39:41 +00:00
leo 3f76d2e7eb Add disklabel support. In addition to the 'faked' disklables NetBSD/Atari
now also supports native NetBSD labels. When a NetBSD label is found it
overrules the Atari AHDI-partitioning.
1995-08-05 20:24:16 +00:00
thorpej b56fc99724 Catch up with an include file change I missed before. 1995-08-05 16:47:34 +00:00
pk 8920da128d Parse library names better; takes care of PR#1291 1995-08-05 00:16:36 +00:00
pk d579c1b1db Handle object code with the "large" model PIC (eg. gcc's `-fPIC' option). 1995-08-04 21:49:00 +00:00
pk 72acb4fe30 Handle object code with the "large" model PIC (eg. gcc's `-fPIC' option). 1995-08-04 21:32:15 +00:00
thorpej 3cb6ddbe3a Mention the `kern.maxpartitions' and `kern.rawpartition' variables. 1995-08-04 18:46:15 +00:00
thorpej 0f77910137 Add and document a `kern.rawpartition' sysctl. 1995-08-04 18:36:08 +00:00
thorpej 1773fd4286 Kernel configuration file for my hp380. 1995-08-04 08:26:52 +00:00
thorpej 6143739a03 Acknowledge the Archive Viper 60 tape. Fixes pr-863. 1995-08-04 08:17:43 +00:00
thorpej fc1f217977 Update for conf.h changes. 1995-08-04 08:12:57 +00:00
thorpej 62572d6658 Kill bogus if_addrlist check. 1995-08-04 08:08:41 +00:00
thorpej 89e7efa8d1 Zap compiler warnings in the check for a trace trap. 1995-08-04 08:06:27 +00:00
thorpej 4313e3aa62 Make the boot blocks compile (and work!) again. 1995-08-04 07:55:34 +00:00
thorpej be13d8f6bf Spring cleaning. 1995-08-04 07:40:31 +00:00
thorpej 9800370998 Fix off-by-one error when padding text segment. 1995-08-04 07:37:03 +00:00
briggs 110cf98100 Get rid of int_video_{start,length} and wierd nubus mapping. 1995-08-04 03:21:46 +00:00
briggs 70065c2ed5 Nuke int_video_start in favor of consistent use of mac68k_vidlog.
Don't find the internal video more than once.
Probe for internal video before nubus instead of after.
1995-08-04 02:55:06 +00:00
briggs fb5e0a34bb Be consistent and use mac68k_vidlog instead of int_video_start. 1995-08-04 02:47:31 +00:00
jonathan 28c5634912 Add dk_establish() and bounds_check_with_label(), from the alpha port, for
the machine-independent SCSI driver.  Untested.

Only print diagnostics about reading Ultrix labels when DIAGNOSTIC is defined.
1995-08-04 02:34:24 +00:00
jonathan c4f9523535 Fix cut-and-paste error in device order (clock). 1995-08-04 01:47:37 +00:00
jonathan 4e33c9f0dc Snapshot of a prototuype for a new-config GENERIC configuration.
This relies on an ugly mixture of new-style config and old-style config.
1995-08-04 01:24:39 +00:00
thorpej fb56ae3095 Kill extra declaration of bcea[]. It's also defined in globals.c. 1995-08-04 01:17:26 +00:00
mycroft f0b7d011a4 Encapsulate the test for sending a notification in a macro, sb_notify(). 1995-08-04 01:14:55 +00:00
jonathan d55e0dddac Restructure configure(): move turbochannel-device configuration
into a separate function for readability.  Rework interrupt initialization,
so interrupts are never enabled until configuration has found and
attached all devices.  Call spl0() just before probing the scsi bus,
as the DECstation scsi code can't poll, and hangs if interrupts
are disabled.

Add preliminary support for new config, protected by #ifdef NEWCONF/#endif.

Cosmetic changes to swapconf() and setroot() to reduce distance
from Alpha versions of same.
1995-08-04 01:14:17 +00:00
mycroft 68735fd022 Encapsulate the test for sending a notification in a macro, sb_notify(). 1995-08-04 01:09:57 +00:00
jonathan 43f316f423 Declarations for new-config autoconfigure, based on NetBSD/Alpha. 1995-08-04 00:34:15 +00:00
jonathan 1bacfdc2dd Add preliminary support for new-style configuration: struct cfdriver,
and match and attach code.  Still use the static softc so that drivers
work with kernels configured with either new or old config.
1995-08-04 00:26:35 +00:00
jonathan d7bb0a516f Add header files with prototyped declarations of the serial-chip hooks
used by old-style pmax console configuration.
1995-08-04 00:22:02 +00:00
jonathan f7b8418b54 Add a prototype for (tc_enable_interrupt)(). 1995-08-04 00:16:01 +00:00
cgd 9c8d63d05b oops; trim some bogus 1994's from copyrights 1995-08-03 01:23:08 +00:00
cgd 60d53ca3d9 oops; trim some bogus 1994's from copyrights 1995-08-03 01:12:15 +00:00
cgd bedee1822d simplify various configuration code by setting function pointers and
calling the functions they point to.  do real console initialization.
always include ecoff code (it's the "native" format, for now).
simplify kernel argument gathering.
1995-08-03 01:04:03 +00:00