Commit Graph

3121 Commits

Author SHA1 Message Date
ragge 186e16d63e Minor updates of some errouneous parameters. 1994-08-16 23:41:53 +00:00
ragge 7fffc9426f genconf.c added to files.vax.newconf 1994-08-16 23:41:11 +00:00
ragge 060db389e9 Update of vax port. 1994-08-16 23:39:52 +00:00
mycroft 0c5a342fde Add vnd. 1994-08-16 19:20:14 +00:00
mycroft 3481b6aa87 Add iBCS2 files. 1994-08-15 23:33:59 +00:00
mycroft 82ccfef767 Remove misplaced SVR4 dispatch. 1994-08-15 22:38:39 +00:00
mycroft 1ec65d2465 Add iBCS2 glue. 1994-08-15 22:24:22 +00:00
mycroft 01c2a3243e Add flags for iBCS2 compat. 1994-08-15 22:19:44 +00:00
cgd cefdccbf31 changes for the new sys_process.c, and some cleanup 1994-08-15 16:37:04 +00:00
mycroft d980c59b98 Better fix for the previous. 1994-08-15 15:19:55 +00:00
mycroft 05c7d6e9c7 Kill stupid compiler warning. 1994-08-15 15:17:07 +00:00
mycroft 5f27568164 Eliminate struct pte and struct pde. 1994-08-15 14:46:45 +00:00
mycroft 36975ff354 Don't use altsts. Sigh. 1994-08-15 08:22:20 +00:00
mycroft 8f2482ff3d Fix `make depend' error. 1994-08-15 06:42:04 +00:00
gwr 486ad2cc03 Correct bad memory reference when dumpdev == NODEV (i.e. DISKLESS). 1994-08-14 22:47:28 +00:00
gwr 8a15866490 Just like GENERIC but gets root/swap from NFS. 1994-08-14 22:38:54 +00:00
mycroft a618f9d915 Slight optimization, and don't go bonkers if one of the sub-devices is not
configured.
1994-08-14 14:13:25 +00:00
mycroft a570fcd929 Re-enable EISA reset. 1994-08-14 09:43:59 +00:00
mycroft cd2f7cc8a0 Clean up a little. 1994-08-14 09:24:55 +00:00
deraadt 35ff4b995a needed for X 1994-08-14 00:13:20 +00:00
deraadt bdf0a4caf3 fix for bug #403 from <grossman@informatik.tu-muenchen.de> 1994-08-13 08:53:38 +00:00
pk 1b07d18247 Keep those pointers moving. 1994-08-13 08:33:51 +00:00
pk 820532e4cf Remove bogus fsstat(). 1994-08-13 08:33:08 +00:00
mycroft 60280d9735 Don't allow VM86 mode, for now. 1994-08-13 06:55:47 +00:00
deraadt 790f70650e add lduha & stha 1994-08-12 09:52:40 +00:00
deraadt 1b70fad2a5 document why this exists 1994-08-12 01:19:12 +00:00
deraadt 549e3f356d option GDB isn't valid
disable KGDB because we do not have (userland) support for it
1994-08-12 01:16:26 +00:00
mycroft 3c3258eb6d Make this work. 1994-08-11 04:54:13 +00:00
mycroft 55b11feb0a Update some comments. 1994-08-10 04:37:52 +00:00
mycroft e079a8f355 Add ncr0. 1994-08-09 22:31:45 +00:00
mycroft d291808d92 Add NCR and PCI files. 1994-08-09 22:24:29 +00:00
mycroft 8dbfcf9e2e Add NCR 53c8XX driver, originally from Wolfgang Stanglmeier. 1994-08-09 22:20:44 +00:00
deraadt 70a55969a1 tiny error 1994-08-09 19:55:09 +00:00
mycroft 199e2eea6a Fix handling of M-RET with PCVT_META_ESC defined. 1994-08-09 13:56:25 +00:00
mycroft 6df721be97 Add PCI autoconfiguration support. 1994-08-09 00:47:46 +00:00
gwr dac6268e7d Added for X11 (at Theo's suggestion). 1994-08-08 21:14:15 +00:00
pk a9b7ea6607 Only use `doflush' when `perftest' is #defined, as was probably intended. 1994-08-08 20:52:29 +00:00
phil 76987b5103 Clarify author and state of source. 1994-08-08 18:42:53 +00:00
mycroft 061c42c22d Minor update. 1994-08-08 07:09:31 +00:00
deraadt c6a626e130 first cuts 1994-08-08 05:43:56 +00:00
phil c343ac2001 It is about time to add this. 1994-08-08 04:51:03 +00:00
lkestel e0b83d37fb Added Sysseg as argument to remap_MMU() so it can map the ROMs. 1994-08-08 00:14:42 +00:00
lkestel ddd8267edb Some machines (e.g., IIcx) have '030 and map all of memory (4 gigs) with
the MMU.  Added sanity checking in the get_mapping() call to catch this
and stop at the end of RAM.  Now available RAM is min of booter-specified
amount and what the MMU maps.

Also added remap_rom() ifdef'ed out which uses early termination pte's
to map 8 megs of ROM.
1994-08-08 00:11:40 +00:00
lkestel acb0c1ec5f Added ifdef'ed out code to map the ROM in pmap_init(). Might be enabled
later if we decide to use the ROM's for anything.
1994-08-08 00:08:47 +00:00
mycroft 59de58a39b Count up the silo overflows and only log a warning at most once per minute. 1994-08-07 11:27:51 +00:00
mycroft 9c8afcf191 Avoid using DFIFOHF, which doesn't exist on 6260 chips. Turn off
AIC_USE_DWORDS by default.
1994-08-07 10:51:40 +00:00
mycroft b0db502d9c Remove diagnostic. 1994-08-07 10:49:06 +00:00
mycroft d9a996a92e Add multiplexer for RT 4-port serial cards. 1994-08-07 10:45:53 +00:00
mycroft 70cc90a193 Add rtfps. 1994-08-07 10:43:56 +00:00
mycroft b6e9bf14c8 Simplify the DEPCA memory test, and fix a problem with using the alternate
PROM address.
1994-08-07 00:56:04 +00:00
deraadt ebd23fe5e0 cleanup 1994-08-06 23:19:39 +00:00
deraadt 4bb1df3001 maintain resident_count and wired_count 1994-08-06 22:08:32 +00:00
chopps e18ca7a71a use tar for now until problem with pax can be solved. 1994-08-05 23:34:58 +00:00
chopps 37330ed064 mama always said to protect those macro args.. 1994-08-05 23:21:31 +00:00
mycroft eade2eabf4 Clean up deleted files. 1994-08-05 23:16:10 +00:00
mycroft 558c00c001 Fix spelling of `STEREO'. 1994-08-05 22:56:19 +00:00
deraadt cefefb25ca cleanup, working 32 bit IO on the 3c579, and memory alignment of insl/insw
for better performance.
1994-08-05 21:16:33 +00:00
briggs 183f4c6128 Lots of cleanup. Add functions for serial console--just stubs for now.
Fix initialization (for good this time?).
Little things.
1994-08-05 01:27:58 +00:00
brezak 62a05786ea Use installboot.sh from 4.4 instead of installboot.c 1994-08-04 19:42:16 +00:00
mycroft 74d29b909d Disable most of the Cyrix-specific code by default; just turn off aching of
the ISA hole.
1994-08-03 22:35:02 +00:00
mycroft 3882663a9f Don't mess with Cyrix configuration bits that are hardware-specific. Move
all of the cache-enabling junk into an #ifdef.  Print a warning even if the
cache is enabled.
1994-08-03 22:11:53 +00:00
deraadt ffb9d6e173 document cyrix configuration registers 1994-08-03 21:39:16 +00:00
mycroft 9d7eefb176 Change iosize to 16. 1994-08-03 09:17:12 +00:00
mycroft a17171c0a2 Add a missing splx() and increase the reset delay during probe, as suggested
by Juergen Keil.  Add a diagnostic message if the controller info is not what
we expect.
1994-08-03 08:57:59 +00:00
mycroft 50a6dfb61a Actually, preserve PSL_T for debugging. 1994-08-03 06:28:10 +00:00
mycroft 0cdf874ccb Reset eflags on exec. 1994-08-03 06:26:00 +00:00
grantham 703df009b8 Multiply GMTBIAS by 60; it's in minutes, time is in seconds. 1994-08-03 06:23:10 +00:00
mycroft 5cd29a7fce Kill IOPL, dead, dead, dead. 1994-08-03 06:22:26 +00:00
briggs d9e2b087ef Clean up a bit. Move ite to 11, generic console to 0. Add lkm stuff
to at least give it a prayer of working...
1994-08-03 02:53:36 +00:00
phil 000c57f728 fixed cdev vn config. *sigh* 1994-08-02 23:39:59 +00:00
ragge 8026fb53f2 Initial VAX port merging. 1994-08-02 20:18:46 +00:00
ragge 3fd2818a03 Added bcopy.s 1994-08-02 18:43:00 +00:00
briggs 08d96f103f Nuke holdovers from old HP300 console code. Get rid of any reference
to serial_boot_echo stuff here.
1994-08-02 17:55:24 +00:00
grantham aa804576eb To get Greenwich Mean Time, *subtract* the GMTBIAS from our time,
passed in from Booter.  (Among its many features, MacBSD provides
time travel.)
1994-08-02 16:39:57 +00:00
ws 55211b963a Unmount the first dir, too. 1994-08-02 12:27:10 +00:00
paulus da587a132a Use ld -N for linking the kernel instead of ld.old -n -P 1000. 1994-08-02 03:54:05 +00:00
phil 11bf31e8d7 add vn 1994-08-01 23:44:08 +00:00
phil f9b2f20e7d proc_machdep.c => process_machdep.c 1994-08-01 22:58:42 +00:00
mycroft f21e020e59 Clean up deleted files. 1994-08-01 22:57:01 +00:00
phil 787f57c486 name change. 1994-08-01 22:56:59 +00:00
phil 3ef27456a5 patches from Matthias Pfaller. 1994-08-01 19:32:52 +00:00
deraadt 24a23eab66 make work 1994-08-01 19:26:27 +00:00
lkestel 6f4140797f We used to disable the MMU before jumping to the ROM routine to
reset the machine.  This doesn't work on some '030s because maybe
not PA == VA where PC is.  Now if '030, don't disable MMU, just
use tt0 register to map ROM segment transparently.  Also removed
superfluous @ from new get_pte code.
1994-08-01 04:50:03 +00:00
chopps 02a49c0a18 GENERIC has AGA, otherwise some people can't run (i.e. monitors do not sync
at 15KHz).
1994-07-31 19:57:11 +00:00
briggs 22c202031c Make this assemble... pte_tmp1 -> pte_tmp and remove ref to
serial_boot_echo.
1994-07-31 19:25:11 +00:00
mycroft 45b0217c1e Fix up u14_find() a bit; mainly, don't include a DRQ for the 34f. 1994-07-31 19:21:40 +00:00
chopps 7f079c3dea fix default frequency so that normal VGA monitor types don't puke. 1994-07-31 18:42:06 +00:00
mycroft a00c5fdb91 Add some missing newlines in the attach messages. 1994-07-31 18:25:50 +00:00
phil 9ef2196623 missed a f. 1994-07-31 15:50:52 +00:00
briggs db27060127 serial_console passed in from booter. 1994-07-31 14:50:27 +00:00
briggs 22a76ec031 Fixup constab. 1994-07-31 14:23:33 +00:00
briggs 60df0b6e97 Add a serial console flag that's passed in from the booter. 1994-07-31 14:03:58 +00:00
mycroft 8a9df6389d Bug fixes from Mark Weaver. 1994-07-31 11:34:38 +00:00
mycroft fc66b93a38 Fix for Cirrus Logic 542x boards, from Onno van der Linden. 1994-07-31 09:44:50 +00:00
lkestel 1c22264669 Make internal video look like a grf device so that desktop and X can use
it.  GRFIOCMAP modifies addr to include the offset into the screen where
the first pixel is.  Not a very clean way to do it -- we should add a
field to grfinfo for offset.
1994-07-31 08:32:47 +00:00
lkestel 46bfdab4f8 Removed two useless variables. (hole_start, hole_end) 1994-07-31 08:28:32 +00:00
lkestel ab2bb871e3 Added support for MACHINE_NONCONTIG for IIsi and IIci machines. Similar
to i386's, but more flexible to handle awkward MacOS maps.  pmap_collect()
is noop'ed out for now.
1994-07-31 08:27:38 +00:00
lkestel a1dd8b3bd3 Added get_physical() to get physical address from logical address according
to MMU; get_mapping() to figure out how RAM and NuBus space is mapped;
remap_kernel() to remap the kernel page tables in case they were split
across memory banks; remap_nubus() to map internal video into NuBus space
where MacOS had it; and remap_MMU() to call the above.
1994-07-31 08:22:31 +00:00
lkestel f81b696a46 Added get_pte() routine to get a pte from a logical address using ptest.
Cleaned up startup code in a big way.  Now calling get_mapping() if
'030 and MMU is on, and post-processing our page tables with remap_MMU().
1994-07-31 08:19:46 +00:00
lkestel f6e6044227 Make GENERIC be MACHINE_NONCONTIG. 1994-07-31 07:31:45 +00:00
lkestel 82dcea7759 Fixed bug with bcopy()'ing more than 65535 bytes; initialize d_ttys and cn_tp
on itecnprobe(); other minor bug and warning fixes.
1994-07-31 06:45:50 +00:00
chopps 5903452aef remove hardcoded targets for sd0-7 now use sd*. 1994-07-31 06:41:01 +00:00
lkestel faf8faf32f Added a few macros for keys; cleaned up; only define key array
ifdef KEYBOARD_ARRAY, else just declare it.
1994-07-31 06:33:41 +00:00
lkestel ce200f2f92 Different pa_index() ifdef MACHINE_NONCONTIG. 1994-07-31 06:26:34 +00:00
mycroft 01d7a6c28b 0 --> NODEV 1994-07-31 04:59:36 +00:00
mycroft 6990b98c64 Patch from Onno var der Linden to fix reading and writing of 360K floppies
in 1.2MB drives.
1994-07-31 01:20:52 +00:00
mycroft 3436a4a65b Remove DIOCSDINFO completely; disklabel(8) will deal. 1994-07-31 00:47:52 +00:00
chopps 5838bf1a48 amiga boot floppy binaries 1994-07-30 19:30:30 +00:00
pk cb1f841e18 Use PROM node properties to determine device type. 1994-07-30 14:22:11 +00:00
lkestel f3c8dbbd87 Moved adbsys.h grfioctl.h and keyboard.h to include to make desktop
and X compile more cleanly.
1994-07-30 04:21:58 +00:00
mycroft 639939abca Clean up deleted files. 1994-07-30 04:21:48 +00:00
lkestel 774ef66058 Moved adbsys.h grfioctl.h and keyboard.h to include to make desktop
and X compile more cleanly.
1994-07-30 04:21:42 +00:00
gwr ad138901b9 My config file for testing. 1994-07-29 04:19:59 +00:00
gwr 06d1ca40f1 Remove some overly paranoid and incorrect debugging tests. 1994-07-29 04:04:31 +00:00
mycroft 1d2563f804 Use `swap generic'. 1994-07-29 01:16:35 +00:00
grantham cf1aabfe57 Use values from Booter to initialize time correctly for machines
without readable PRAM.  (IIvx users should be pleased.)
1994-07-29 00:52:18 +00:00
mycroft 3ed3679b67 Make this work. 1994-07-28 21:40:27 +00:00
mycroft 53f3b61cdc Redux. 1994-07-28 19:57:31 +00:00
mycroft c405e84a24 port --> iobase 1994-07-28 09:50:33 +00:00
mycroft e17799897e Clean up deleted files. 1994-07-28 09:05:04 +00:00
mycroft d02e11d543 Make the EISA reset code like the other drivers. 1994-07-28 08:44:47 +00:00
mycroft fb500c4d07 Redo some of the EISA config stuff. 1994-07-28 02:39:21 +00:00
mycroft c1a5741a3b Remove unused macros. 1994-07-27 15:02:59 +00:00
mycroft aeac43f556 Use the automatic IRQ/DRQ detection. 1994-07-27 14:46:34 +00:00
mycroft 5e04cfb942 Fix typo. 1994-07-27 13:24:17 +00:00
mycroft 4ac4810048 Normalize. 1994-07-27 13:14:14 +00:00
mycroft 1939acdbd2 Fix the DMA setup. 1994-07-27 13:10:33 +00:00
mycroft 1a9c6d05a3 Enable IRQ probing, and fix the DMA setup. 1994-07-27 12:57:02 +00:00
deraadt 14fe202dc4 cleanup 1994-07-27 09:57:55 +00:00
deraadt 23d08dc0be cleanup 1994-07-27 09:13:54 +00:00
gwr 9f5e7a71ae Add swapconf() to compute size of swap space, and
variables required by savecore.  No dumpsys() yet.
1994-07-27 04:51:58 +00:00
mycroft dffcd8ea8d Enable IRQ probing. 1994-07-27 03:09:21 +00:00
mycroft 16878bf2f9 Enable IRQ probing. 1994-07-27 01:50:57 +00:00
mycroft 35b4db3030 Add IRQUNK. 1994-07-27 01:50:15 +00:00
mycroft 55be0e4936 Don't lose if the symbol table is empty. 1994-07-27 01:48:29 +00:00
mycroft 3ba1d35da1 Fix a bogon that crept in when swdevt was changed to end with NODEV. Also
change to use MAXPARTITIONS.
1994-07-27 00:21:16 +00:00
mycroft 1e24ff6b3b Don't modify the device number; let the driver do it. 1994-07-26 19:37:00 +00:00
mycroft b5ce4d0cdd Normalize label handling. 1994-07-26 19:36:06 +00:00
mycroft 233b5d12f4 Make sure this runs on a 386. 1994-07-26 19:33:49 +00:00
gwr 302e9ebd74 No longer redefine CLK_TCK because JTC says the value is arbitrary
and the redefinition caused noisy warnings.
1994-07-26 18:15:18 +00:00
chopps c2d1237e50 fix check in edintr(), do not deref NULL pointer. 1994-07-26 17:51:19 +00:00
deraadt 76bf655b77 i was sure i did this before 1994-07-26 00:16:03 +00:00
mycroft a18c0c0d83 Look for errors in the right place in a transmit descriptor, and count
collisions.
1994-07-25 22:54:58 +00:00
gwr 529e9bf50a Add intrnames, intrcnt, eintrcnt so vmstat will work. 1994-07-25 18:28:01 +00:00
mycroft 220a5a5095 Add missing splbio()s, pointed out by Gene Stark. 1994-07-25 04:29:56 +00:00
briggs 19eaee7cf2 if DDB -> ifdef DDB to be consistent at suggestion from Steve Allen
(wormey@eskimo.com).
Also cleaned up the comments a bit for consinit().
1994-07-25 00:34:30 +00:00
mycroft 8328e78454 Don't allow the clock chip to be reset if the time hasn't been initialized. 1994-07-25 00:19:47 +00:00
glass acb695e52e make nfs diskless work in trunk 1994-07-24 23:46:40 +00:00
glass 6187f00477 make diskless work 1994-07-24 23:04:32 +00:00
phil 1b0b6abb28 add target install to Makefile 1994-07-24 20:29:45 +00:00