Commit Graph

5993 Commits

Author SHA1 Message Date
mycroft 61d3ef1018 Fix small oversight. 1995-10-15 22:09:45 +00:00
thorpej 5dcaa0b51c Be a tad bit more informative when the drive is attached. Print geometry
info when appropriate, because, darn it, it's useful.
1995-10-15 10:03:18 +00:00
mycroft c3779c515d Fix typos. 1995-10-15 05:58:44 +00:00
mycroft 5a227363fd Fix problem reported by r_friedl@informatik.uni-kl.de; when LDT is resized,
the wrong amount of memory is freed.
1995-10-15 05:48:08 +00:00
mycroft e964003409 Rename some variables for consistency. 1995-10-15 05:43:49 +00:00
mycroft e8011301bf Style police. 1995-10-15 04:18:27 +00:00
briggs 47c507f8fd SUNOS_SYS_sunos_sigreturn -> SUNOS_SYS_
sigreturn.
1995-10-15 03:01:57 +00:00
leo ebc6d5a705 Use general bound-check function. 1995-10-14 20:17:46 +00:00
fvdl 6ce6eef6d8 child_return broke Linux fork() 1995-10-14 14:06:16 +00:00
leo 79053fd0de Allow only transfers that are a multiple of DEV_BSIZE when doing 'raw' I/O. 1995-10-14 13:04:19 +00:00
gwr 6af0af5daf Change the interface to prom_iopen() slightly, for tapeboot. 1995-10-13 21:44:57 +00:00
gwr 52f39566b5 Add tapeboot, make ${SA_PROG}.bin padded to a block boundary. 1995-10-13 21:44:08 +00:00
gwr c4e07b055f Bump version number. 1995-10-13 21:33:09 +00:00
gwr c890f5c659 Boot program to help load tape kernels.
(You can even choose a tape segment!)
1995-10-13 21:27:30 +00:00
gwr df737690d7 Remove (again) things accidently revived by cvs tag... 1995-10-13 19:37:06 +00:00
chuck 54606ca765 sync with sun3 version and libsa changes 1995-10-12 22:48:20 +00:00
chuck bb184934d0 sync with sun3 version and libsa changes 1995-10-12 20:39:49 +00:00
chuck 3cbeee1f5b changed sysarch() to sys_sysarch() 1995-10-12 20:03:39 +00:00
chuck ab55ab9c8c changed blkclr to bzero 1995-10-12 20:02:19 +00:00
chuck 31552196e9 remove bzero/strlen/bcmp as they are now in libkern 1995-10-12 20:00:40 +00:00
mycroft 086845d5d3 Move the initialization of proc0's TSS and LDT to the end of cpu_startup(),
and switch to dynamically allocating the TSS.
1995-10-12 17:56:36 +00:00
briggs 67e41c3280 Remove extra serial device--forgot to check this in earlier.
The serial device now handles both channels.
1995-10-12 17:39:45 +00:00
chuck 6323b1197a changed SUNOS_SYS_sunos_sigreturn to SUNOS_SYS_sigreturn. 1995-10-11 23:52:35 +00:00
mycroft 50f83bdbdf Maintain a free list. 1995-10-11 23:39:08 +00:00
mycroft 2765bc7b44 Go back to statically allocating the GDT entries for proc0. 1995-10-11 19:32:31 +00:00
mycroft c9b339fcd1 Clean up deleted files. 1995-10-11 18:51:50 +00:00
mycroft 059cb84d53 Fix typo. Also, remove diagnostic in svr4_sys_sysarch(). 1995-10-11 17:04:11 +00:00
pk ce2afd8d64 Sync filesystem before running installboot. 1995-10-11 13:32:57 +00:00
mycroft ddbde6d166 Remove reference to dead variable. 1995-10-11 06:24:28 +00:00
mycroft fda13ac9c6 Clean up deleted files. 1995-10-11 05:28:06 +00:00
phil 715002290d remove old 1.0 distribution configs, tune 1.1 kernel configs. 1995-10-11 04:53:57 +00:00
mycroft 72805df917 Various changes from John Kohl and me:
Map kernel stacks only at unique addresses.
Use one TSS per process.
Add sysarch calls for modifying IOPL and the I/O permission bitmap.
Add a compacting GDT entry allocator, for TSS and LDT selectors.
Enable modifying %fs and %gs with PT_SETREGS.
Sanitize various bits of code.
1995-10-11 04:19:29 +00:00
gwr 22bcf4e552 New function: set_segmap_allctx() 1995-10-10 21:38:56 +00:00
gwr 1b2cf12fa7 Need to use set_segmap_allctx() on kernel-space segments.
(Thanks again to David Jones!)
1995-10-10 21:37:29 +00:00
gwr 4575a77421 Get rid of things now in libkern: bzero, bcmp, strlen 1995-10-10 21:35:42 +00:00
gwr 464d1686fd sysarch --> sys_sysarch 1995-10-10 21:34:50 +00:00
gwr 127019022a SUNOS_SYS_sunos_sigreturn -> SUNOS_SYS_sigreturn 1995-10-10 21:33:33 +00:00
gwr f1b8ad3645 New function: set_segmap_allctx() 1995-10-10 21:29:02 +00:00
gwr dda519e3d9 The previous hack to save two instructions when the
return value of splx() was ignored did not prevent the
optimizer from re-ordering the asm statements! (Yikes!)
Revert this to the old, single asm statement method.
Thanks VERY MUCH to David Jones for finding this!
1995-10-10 21:28:00 +00:00
gwr facfdf5c60 Use sys/scsi/files.scsi 1995-10-10 21:25:29 +00:00
gwr b797d6e69d Cosmetic: Kill trailing whitespace, etc. 1995-10-10 21:18:01 +00:00
pk 64a90cd0b0 Check input channel in gettick(); for `L1-A' processing. 1995-10-10 20:11:33 +00:00
pk ebe37d8041 We don't need `rem.o'. 1995-10-10 20:07:54 +00:00
mycroft 28484180c7 Fix minor oversight. 1995-10-10 18:27:25 +00:00
phil 326e5742ac Disable interrupt to avoid a bug. This makes the "new ncr" driver
stable enough to use in the distribution.  We still need to find out
where the bug is when interrupts are enabled.
1995-10-10 08:08:01 +00:00
mycroft eb44441b87 Pull in microcode dependencies. Remove -fno-builtin. 1995-10-10 05:58:00 +00:00
mycroft 5d9ff18d18 Switch to user code and data selectors in the GDT while handling signals. 1995-10-10 04:54:18 +00:00
mycroft 25f53a986f Add USERMODE() and KERNELMODE() macros, and use them. 1995-10-10 04:45:03 +00:00
briggs 712a3f32c4 Nuke blkclr and use thereof. 1995-10-10 04:14:18 +00:00
briggs 2738554927 Get rid of libkern duplicates. 1995-10-10 03:49:04 +00:00
briggs 5e13eea9b1 sysarch -> sys_sysarch 1995-10-10 03:48:33 +00:00
briggs fcb8923ffa Remove extra reference to LIBKERN. 1995-10-10 03:47:59 +00:00
thorpej 54ed756bc4 Add another dca and grf 1995-10-10 02:12:37 +00:00
mycroft 4fd4545646 Fix #include misordering. 1995-10-10 01:40:13 +00:00
mycroft 37758b3f84 Minor change. 1995-10-10 01:30:25 +00:00
mycroft 090f48526e Add ahc and COMPAT_FREEBSD. 1995-10-10 01:29:15 +00:00
mycroft 2dd293d3c3 Add hooks for COMPAT_FREEBSD, from Noriyuki Soda. 1995-10-10 01:26:36 +00:00
mycroft 0ad97bc5c9 FreeBSD binary compatibility module, from Noriyuki Soda. 1995-10-10 01:22:31 +00:00
pk 4dcb5917b8 Brr.. libkern.o is way too big for our bootxx.. 1995-10-09 23:25:54 +00:00
pk be2f4294bf Add `fd' to list of possible boot devices. 1995-10-09 22:34:03 +00:00
pk c4dc969b09 Point `bootdv' at the disk device instead of the controller (from Jason Thorpe). 1995-10-09 22:33:07 +00:00
chopps 29dcca9ffe fix use of uninit vars from Bernd Ernesti <bernd@arresum.inka.de> 1995-10-09 19:26:15 +00:00
chopps 11c134fb80 fix typo 1995-10-09 15:53:39 +00:00
pk 53eb8f8175 RASTERCONS now works on sun4's too. 1995-10-09 15:39:34 +00:00
chopps d9a781419d revert last commits was a mistake 1995-10-09 15:23:22 +00:00
chopps 78bd894529 add prototypes for isr stuff fixes pr# 1284 and 1569 1995-10-09 15:19:58 +00:00
chopps 0edda525b9 fix keymap (fixes pr#1254) from Blaz Zupan <blaz.zupan@uni-mb.si> 1995-10-09 14:27:18 +00:00
chopps 3973aeb080 fix hang bug from Ignatios Souvatzis <ignatios@theory.cs.uni-bonn.de> 1995-10-09 14:05:24 +00:00
chopps dea30dfde9 make work with newer grfconfig now in /usr/sbin. from
Bernd Ernesti <bernd@arresum.inka.de>
1995-10-09 14:02:32 +00:00
briggs f5fae9d016 Port of Sun3/Sparc zs driver from wrstuden@loki.stanford.edu
(Bill Studenmund).  Should be massaged into machine independence
for 1.2.
1995-10-09 12:42:16 +00:00
thorpej ab16c2efa6 Remove unneeded RCS ids. 1995-10-09 08:07:37 +00:00
thorpej 2d5f7a7b07 Pass correct number of arguments to hpibgo(). 1995-10-09 07:57:43 +00:00
mycroft 8096b83664 Eliminate soft segment descriptors; instead use a functional interface for
creating segment descriptors.  Add the duplicate system call gate used by
BSD/OS 2.0 executables.  Prototype setsegment() and setgate(), and fix a bogon
caught by this.
1995-10-09 06:34:11 +00:00
chopps ad89dc6f0a vtrace -> sys_vtrace 1995-10-09 04:33:52 +00:00
thorpej 28b46fc9ec Update vtrace() for prototype changes and renaming changes. 1995-10-09 04:00:24 +00:00
chopps 268dfe691c update from Ezra Story <ezy@panix.com> 1995-10-09 03:47:44 +00:00
chopps 4e276bb0ec update from osymh@gemini.oscs.montana.edu (Michael L. Hitch) 1995-10-09 02:41:28 +00:00
chopps 2c9db0e19e update from Ignatios Souvatzis <is@beverly.rhein.de> 1995-10-09 02:14:46 +00:00
chopps 602e68be9d new cybervision 64 grf from Bernd Ernesti <bernd@arresum.inka.de> and others
update config files (adding missing scsibus entry for aftsc0)
1995-10-09 02:08:35 +00:00
chopps 60e159d20e file is now generated at compile time 1995-10-09 02:06:19 +00:00
jonathan 0736074d04 Fix bugs in the turbochannel config table for MAXINE (personal decstation). 1995-10-09 01:45:26 +00:00
chopps cc6ab4e68d new cybervision 64 from Bernd Ernesti <bernd@arresum.inka.de> (and others) 1995-10-09 01:44:09 +00:00
chopps ee06310cd7 moved videomode to ./usr/sbin 1995-10-09 00:53:19 +00:00
chopps 9318d50785 build grf_ultmscode.h 1995-10-09 00:12:54 +00:00
gwr fa87e5bdfc Minor cleanup re. Debugger() calls... 1995-10-08 23:48:22 +00:00
gwr 90af367f9e Make arpintr() call conditional on NETHER 1995-10-08 23:47:34 +00:00
gwr 48500ffdd6 Add rd, xd, xy. Sort the includes. 1995-10-08 23:46:27 +00:00
gwr 0ed357402a Fix a big "oops" (Many thanks to David Jones!) 1995-10-08 23:45:10 +00:00
gwr 3d587a6700 Link this -static 1995-10-08 23:44:02 +00:00
gwr 09cbbafa0a Minor cleanup. 1995-10-08 23:42:58 +00:00
gwr f5bcca1fab Machine-dependent part of the new RAM-disk driver.
This module lets one build a stand-alone kernel.
1995-10-08 23:42:42 +00:00
gwr 1b6586b2bb Note that this should be merged with dev/ic/i82586reg.h 1995-10-08 23:41:36 +00:00
gwr 13fa3c4fe6 Temporary hack to restrict open to root or the
same UID as the session attached to /dev/kd
1995-10-08 23:40:42 +00:00
gwr 2d50d2a6b9 Add RAMDISK, move some things around.
Add rd*, xd*, xy* (only rd is done).
1995-10-08 23:38:41 +00:00
fvdl 81d650570f Implement the KDGKBMODE ioctl for Linux (possible with pcvt 3.32). 1995-10-08 22:45:20 +00:00
jtc 9ba33c87cc Update makefile to handle the fact that keycap.5 was moved out of man5
into this directory.
1995-10-08 21:59:43 +00:00
jtc df99cef0ac Patch from Frank van der Linden to allow kernels with pcvt but without
XCONSOLE to compile.  I've been told that this patch has been sent to
Helmuth.
1995-10-08 21:57:39 +00:00
thorpej 83dfe0816e Remove the icode stuff; it hasn't been used in a long time. 1995-10-08 20:19:22 +00:00
thorpej a8637d68f8 blkclr -> bzero 1995-10-08 19:33:36 +00:00
pk 1ad1d128e3 Fill in `ascent' values correctly. 1995-10-08 19:31:44 +00:00
thorpej 09024536ef Remove __main(), strlen(), bzero(), and bcmp(). They're all in libkern. 1995-10-08 19:30:51 +00:00
thorpej 3b70bc6b37 Finish up the system call function renaming; sysarch -> sys_sysarch and
vtrace -> sys_vtrace.
1995-10-08 19:01:26 +00:00
briggs 685b9057c2 Pick up changes from leo's latest version. 1995-10-08 17:25:19 +00:00
leo 0e5fe20560 - Cleanup the arbitration
- Make sure the MON_BUSY flag is cleared after a DMA transfer. Otherwise
  we might end up with a 'lost-busy' situation unexpectedly. This will
  prevent the 5380 from driving the bus, which is not funny during
  reselections.
1995-10-08 13:34:23 +00:00
pk ecf1cf893d Add forgotten `eeprom' configuration. 1995-10-08 11:45:39 +00:00
pk 21a594651a eeprom_match: account for differing physical addresses (per Jason Thorpe). 1995-10-08 11:44:59 +00:00
pk 87a0c55d23 Patch from Jason to factor out a common framebuffer size determination
routine from the individual drivers.
1995-10-08 01:39:13 +00:00
jtc 95f29581c3 Remove files that have been removed from or renamed in the current pcvt sources 1995-10-07 23:25:09 +00:00
mycroft c078d7a9f4 Remove __builtin_saveregs(). 1995-10-07 22:27:31 +00:00
mycroft 6287d3d7b2 Remove bzero(). 1995-10-07 22:24:50 +00:00
jtc be0a951c76 Update our Makefile.inc.
Remove various OS-specific Makefile.inc templates.
1995-10-07 21:51:42 +00:00
jtc d9789d4225 Overlay our pcvt with pcvt 3.32 sources. All of our fixes have been
incorporated into the master sources, so it is unnecessary to resolve
all the conflicts that would occur if we let CVS "merge" the versions.
1995-10-07 21:43:25 +00:00
jtc 68b7d2aca6 import pcvt 3.32 1995-10-07 21:11:27 +00:00
jtc 652374b8ca import pcvt 3.32 1995-10-07 21:10:55 +00:00
jtc 81c0777f62 import pcvt 3.32 1995-10-07 21:09:43 +00:00
chopps 16ca402101 update from Ignatios Souvatzis <is@beverly.rhein.de> 1995-10-07 19:54:58 +00:00
chopps 79bc0aa5ef transpose osc values from Ignatios Souvatzis <is@beverly.rhein.de> 1995-10-07 19:48:08 +00:00
chopps 86fb4819e2 change break val from rhealey@kas.helios.mn.org (Rob Healey) 1995-10-07 18:22:14 +00:00
chopps cf0e52a427 update to 2232 from Jukka Marin <jmarin@teeri.jmp.fi> and
rhealey@kas.helios.mn.org (Rob Healey)
1995-10-07 18:18:26 +00:00
chopps dc3b9221a6 update to ariadne ethernet device from Bernd Ernesti <bernd@arresum.inka.de> 1995-10-07 18:12:42 +00:00
chopps c68476241f new quicknet ethernet driver from Kortelainen Mika <k125374@cs.tut.fi> 1995-10-07 18:04:27 +00:00
chopps a9c89668da fixes for fastlane from Daniel Widenfalk <t94dwi@student.tdb.uu.se> 1995-10-07 17:33:01 +00:00
mycroft 245f292fed Prefix names of system call implementation functions with `sys_'. 1995-10-07 06:25:19 +00:00
mycroft 037949ced9 Undo accidential deletions in last commit. 1995-10-06 07:12:42 +00:00
mycroft f2d15e5b48 Remove unneeded input operands to fnsave(), fnstcw(), and fnstsw(). 1995-10-05 23:06:15 +00:00
mycroft 45dc3570ec Use ISA_IPL_TTY, to fix race conditions. 1995-10-05 22:06:47 +00:00
pk 48849279bf Script to assist installing second-stage boot programs. 1995-10-05 21:03:12 +00:00
mycroft ec30c873ea Switch the AUX_ENABLE and AUX_DISABLE flags, per Mathias Engan. 1995-10-05 14:12:21 +00:00
pk aea329df61 rcons: rc_maxcol and rc_maxrow were swapped. 1995-10-05 13:16:57 +00:00
chopps 5dcc668ebd first attempt at A4000T support, remove GRF_AGA's dependence on GRF_ECS.
page 0 is now invalid, other minor cleanup.
from osymh@gemini.oscs.montana.edu (Michael L. Hitch)
1995-10-05 12:40:48 +00:00
chopps 58f950c48a Only enable timeouts (debugging) when actually transfering data.
from osymh@gemini.oscs.montana.edu (Michael L. Hitch)
1995-10-05 12:36:07 +00:00
leo 7d3bc89420 Get in sync with the mac68k version to incorporate Allen Briggs' changes
- emit MSG_ABORT/MSG_REJECT at the right times:
 - make MIN_PHYS machine dependent.
1995-10-05 08:52:53 +00:00
thorpej c2ca33b9c1 Initialize the kernel PT map as thoroughly in the 68040 case as the
non-68040 case.  Fix up a comment there, too.
1995-10-05 06:54:12 +00:00
thorpej a6359b2633 Fix segment table reference bug, from Micheal Hitch. 1995-10-05 06:47:25 +00:00
jonathan 37d37e0791 Change the pmax framebuffer driver to reflect the rcons changes as negotiated
with pk:
Use dev/rcons/files.rcons in the pmax config file.
Use "rasterconsole" as the tag in pmax/conf, and modify the pmax
framebuffer pseudo-device drivers (fb and rcons) to us rasterconsole.h and
RASTERCONSOLE for compile-time configuration of the rcons pseudo-device.
Modify the pmax rcons pseudo-device driver to initialize a little-endian,
QVSS-compatible font (set its ascent, and set the rconsole structure to
point to that font) before calling rcons_connect().

Tested on a cfb.  The ascent may be wrong (or at least, not be aligned with
the hw cursor sprite) on a 3100.
1995-10-05 01:52:44 +00:00
pk c8f10b184c Do not set `ra_len' in bwtwomatch(); we only need the pixels for CONSOLE,
but if so, we need the lot.
1995-10-05 00:33:23 +00:00
pk de0c6a97bd RCONSOLE => RASTERCONSOLE. 1995-10-05 00:26:07 +00:00
pk c1e313b122 include `files.rcons'. 1995-10-05 00:21:35 +00:00
pk b79dc038d5 Machine dependent RASTERCONSOLE font definition to be passed to rcons_init(). 1995-10-05 00:02:54 +00:00
pk 859b799130 RCONSOLE => RASTERCONSOLE 1995-10-04 23:44:33 +00:00
pk d19cacbb03 RCONSOLE => RASTERCONSOLE. 1995-10-04 23:35:13 +00:00
thorpej e43d278d31 Several changes:
* Reset the card on "fresh open" as a sanity measure.
	* Use the "secret bit" to enable interrupts.
	* Make some parts look/behave like their cousins in dev/isa/com.c
	* Set the FIFO threshold based on line speed.
	* Be a little more informative when port is attached.
	* Implement TIOC{G,S}FLAGS; ttyflags now works.
First two items prevent deadlock on some systems (notably the 380,
425, and 433) which some people have been reporting.  Use of the
"secret bit" seems to be safe on systems which don't need it.  Changes
tested on a 319, 340, 345, and 380.
1995-10-04 17:46:08 +00:00
briggs 5479e941d9 Add a second ppp. It makes the kernel a whole 8 bytes larger on disk. 1995-10-04 11:05:25 +00:00
thorpej 442aff9376 Say what I really meant in a printf()... 1995-10-04 08:39:14 +00:00
thorpej b675177228 Put new-style RCS ids in the startup banner. Makes bootblock revisions
much easier to recognize; old method could have revision corrupted by
local RCS control.
1995-10-04 07:24:31 +00:00
thorpej d08330454a Determine the select code of the console device, or -1 for internal grf.
Pass this value to the kernel in register d5.  This value isn't currently
used by the kernel, but will be in the future.
1995-10-04 06:54:42 +00:00
thorpej f060c456de Couple of changes:
* Implement TIOC{G,S}FLAGS; ttyflags works now.
	* Reset the card on a "fresh open" as a sanity measure.
	* Make dcmopen() and dcmclose() a little more like the
	  corresponding routines in the new dca.c
1995-10-04 06:39:06 +00:00
briggs 8ede165771 ae0 -> ae* and add a couple of vnd devices. 1995-10-04 03:42:18 +00:00
briggs 6e435f9152 Include ether.h to get NETHER. 1995-10-04 03:38:27 +00:00
pk dad96c6619 Add a few constants used for mapping bit and pieces in the kernel driver. 1995-10-04 00:21:27 +00:00