Commit Graph

916 Commits

Author SHA1 Message Date
deraadt bf504b849f theo's other test kernel 1993-11-28 08:42:31 +00:00
deraadt e28868b656 fixed: hostid was incorrectly read from register 1993-11-28 03:47:11 +00:00
deraadt 8a096146a0 page fault debug code goes away 1993-11-27 01:49:20 +00:00
deraadt 0f82234745 add info about the Pinnacle cpu 1993-11-26 11:44:51 +00:00
deraadt f4690feb8e include cpu.h instead of a number of other unreasonable files 1993-11-26 11:43:29 +00:00
deraadt 744291c4a9 calculate sigtramp address based on PS_STRINGS, not USRSTACK 1993-11-26 11:26:23 +00:00
mycroft 4acf267f87 Enable uha[01]. 1993-11-26 10:50:36 +00:00
mycroft 003abe0b84 Enable st and cd. 1993-11-25 08:01:13 +00:00
deraadt 706d795029 setroot & friends now done in init_main.c 1993-11-25 00:14:19 +00:00
mycroft 11ba2e43d8 Enable aha[01], sd*. 1993-11-24 03:26:04 +00:00
deraadt a327e51865 properly setup the kernel stack during startup
use CCFSZ not 96..
1993-11-24 02:39:31 +00:00
deraadt f89548fbcc update to match torek's code-base 1993-11-24 02:31:32 +00:00
deraadt 661654b98d clear "cold boot" flag later on
ask rom about "memory-error" earlier
and cleanup
1993-11-24 02:30:56 +00:00
glass 06932ce0f8 Now works with current tree, as opposed to the july 8th tree in which it was
written.
Requires magnum infrastructure now, particularly the clock stuff.
Fails to exec init because the /sbin/init binary
is a sunos binary.  Next step is to integrate sunos compatibility code
from /sys/compat/sunos, and the amiga port.
Does not yet implement MACHINE_NOCONTIG support.

[from glass Mon Nov 22 21:22:45 PST 1993  home tag: home2]
1993-11-23 05:28:35 +00:00
mycroft 30466816bf Clean up deleted files. 1993-11-22 22:59:35 +00:00
deraadt d6df6b46fc the sunos files have moved to /sys/compat/sunos 1993-11-22 21:57:13 +00:00
deraadt 95b75b0b4e update to new syscalls.master 1993-11-20 03:09:03 +00:00
deraadt 57a09f4e1c new compat functions: sun_open, sun_auditsys, sun_setpgid, sun_uname
some from Markus.
1993-11-20 03:08:16 +00:00
deraadt 370e6c6aed cannonicalize #include's 1993-11-20 03:05:41 +00:00
deraadt e2a5941739 new compat functions: sun_open, sun_auditsys, sun_setpgid, sun_uname
some from Markus.
1993-11-20 03:01:58 +00:00
deraadt ac4a976328 fake support for TIOCSSOFTCAR and TIOCGSOFTCAR
(one of which used to point to NetBSD's TIOCSTAT :-)
1993-11-20 02:57:43 +00:00
cgd 7abca02b8a added two copyright strings at the request of Gary Clark II
<gclarkii@freefall.cdrom.com>, because he hacked and is in the process
of hacking the code significantly.
1993-11-17 12:22:50 +00:00
cgd 183fd1b02f cut down SHMMAXPGS (temporary) 1993-11-15 11:41:54 +00:00
mycroft 7377ae9734 Support for ESIS over X.25 is not complete. 1993-11-14 19:40:47 +00:00
mycroft 9c68389ee6 Junk PARANOID. 1993-11-14 17:58:12 +00:00
mycroft c237d6b7d7 Fix typo in last change. 1993-11-14 17:42:19 +00:00
mycroft bc94b1cf89 Add a few things that were missing, and fix some comments. 1993-11-14 17:41:37 +00:00
deraadt c23bd89b60 #include sun_disklabel.h from the new place 1993-11-14 15:01:52 +00:00
deraadt 3dbda08a31 add torek's new cgthree driver.
the brooktree DAC code has been split out from the cgthree driver,
and is now shared with the cgsix.
1993-11-14 15:00:50 +00:00
deraadt 61f6f87a4c update to latest syscalls.master 1993-11-14 14:56:35 +00:00
deraadt ee8ffb2911 update to kern/syscalls.master, for SYSVSEM & SYSVMSG 1993-11-14 14:56:05 +00:00
deraadt db97aa737f disassembly shows the %f2 register being accessed, and of course the
kernel panics.
why wasit using %f2? some expressions were too complicated and gcc2 (with
the optimizer off, mind you) ran out of integer registers and thus used
started using a float register for a temporary.
1993-11-14 14:46:54 +00:00
cgd fa0d8faf42 Update from trunk:
Add the System V message queue and semaphore facilities.  Implemented
by Daniel Boulet <danny@BouletFermat.ab.ca>
1993-11-14 14:45:16 +00:00
cgd c5446cd8e0 add SYSVMSG and SYSVSEM 1993-11-14 14:40:44 +00:00
cgd 4878a43c3d Add the System V message queue and semaphore facilities. Implemented
by Daniel Boulet <danny@BouletFermat.ab.ca>
1993-11-14 13:21:59 +00:00
deraadt fdcd4f2a13 different place than where Torek put it 1993-11-14 10:47:54 +00:00
deraadt db4ffd69bb baseline code from Torek 1993-11-14 10:47:08 +00:00
ws 5f65d904b7 Don't skip BIOS variables on boot if load address isn't 0 1993-11-13 16:31:48 +00:00
cgd 76dbc1192b new specfs.h and fifo.h locations 1993-11-12 05:54:12 +00:00
deraadt 25800bfb5b specdev.h moves 1993-11-12 03:23:51 +00:00
deraadt beab56ab90 new from torek:
add torek's comments to my DMA_DRAIN fix
1993-11-12 00:50:48 +00:00
deraadt 4c30adca67 new from torek:
add cgsix
1993-11-11 23:17:47 +00:00
mycroft 243bc4cc05 Boundary check on backspace. 1993-11-11 15:43:52 +00:00
deraadt c9f2e616f8 from torek:
new brooktree dac code
hacked cgthree code
new cgsix (ala GX) code
1993-11-11 03:36:48 +00:00
cgd b41210b362 add addr32, as noted on freebsd-hackers by bde himself. 1993-11-10 16:08:19 +00:00
deraadt d9debd8a1b s/cntty/cn_tty/ 1993-11-10 15:06:41 +00:00
deraadt ea61d92021 replacement set of sun ioctl functions. markus wild added a
whole slew of new ioctl's that are much more close to reality.

the comat-sunos tree is now almost good enough to be used in
both m68k and sparc kernels.
1993-11-10 15:03:33 +00:00
deraadt 3092f9ab32 we do not have sysctl 1993-11-10 14:36:07 +00:00
deraadt a256e8b38a silly typo 1993-11-10 11:46:38 +00:00
deraadt 3593ac2407 sunos compat execve() helper routines.
these routines are not useful/used on the sparc, but are needed
by the sun3.
1993-11-10 10:31:35 +00:00
deraadt 60b0bb39a9 blast it.. 1993-11-10 10:17:52 +00:00
deraadt 294c3d8704 support both sun3 & sparc concepts of minor/major #'s for /dev/zero 1993-11-10 10:14:19 +00:00
deraadt 8d10efb291 sun_disklabel.c moved 1993-11-10 09:48:21 +00:00
mycroft 84e594b797 Clean up deleted files. 1993-11-10 09:40:01 +00:00
mycroft 69db85708e Clean up deleted files. 1993-11-10 09:12:36 +00:00
deraadt 7679710d7c some cleanup, better than sending adam reminder notes 1993-11-10 07:42:12 +00:00
deraadt ac0ecd9194 Duh. 1993-11-10 06:22:15 +00:00
deraadt 6839d97c8c use p_emul flag to indicate OS emulation
handle syscalls at standard sun place, ie. trap#80 not #89
add SunOS OMAGIC support
1993-11-10 03:13:19 +00:00
deraadt b9f8cbdca7 update from new syscalls.master 1993-11-10 01:01:59 +00:00
deraadt ffb469a020 chmod 444 on the output files is a bad idea 1993-11-10 01:01:25 +00:00
deraadt 2e0bfb759c update to 4.4 way of doing syscall#0 1993-11-10 00:59:10 +00:00
mycroft 2f5635f70b A slightly unfinished i82586 driver, based on Garrett Wollman's. 1993-11-08 20:15:31 +00:00
mycroft 5aa77a4ddc Enable ie0. 1993-11-08 20:10:32 +00:00
deraadt 96faaf5809 sign extension bug fix from <rick@snowhite.cis.uoguelph.ca> 1993-11-08 03:39:21 +00:00
cgd 34178aa2ef don't use splclock()/splnone(), use splclock()/splx().
pointed out by david greenman.
1993-11-05 23:18:51 +00:00
cgd ab12bacae0 note that use of splnone() is prolly bogus; splnone() itself is bogus,
so it's use is.  8-)
1993-11-05 23:18:04 +00:00
deraadt b7e4012f31 now that esp.c is fixed, go back to using the enhanced cache code. 1993-11-05 12:43:02 +00:00
deraadt 80a1356c75 DELAY(1) after a DMA_DRAIN, to let the esp chip have a chance to
recover from the DMA.. seems to let my ss1+ work with the cache enabled.
+ also esp reset code from Torek.
1993-11-05 12:41:54 +00:00
deraadt 6548614b2e if_init goes away. 1993-11-05 10:51:50 +00:00
cgd 6ca8998c91 GENERIC: add mcd0
TEST: add mcd0, commented out
files.i386.newconf: add support for mcd driver
1993-11-04 09:28:26 +00:00
cgd 08c263706c add mcd: Mitsumi CD driver by Holger Veit and Brian Moore 1993-11-04 09:12:30 +00:00
phil 4e1f2bee45 Fixed documentation. 1993-11-04 07:58:55 +00:00
phil f3b1236dc8 State update, still not working. 1993-11-04 07:58:29 +00:00
mycroft 3bb5fc8b74 Enable is0. 1993-11-03 21:32:45 +00:00
mycroft fa3ccaa273 Change comment about pms. 1993-11-03 13:29:37 +00:00
mycroft e163596ee8 Fix some comments and enable tb. 1993-11-03 12:48:31 +00:00
mycroft dd896d55b8 A theoretically working version. The probe routine needs work. 1993-11-02 23:59:34 +00:00
phil 1859a602ad Adding extra relocation information for the pc532. 1993-11-02 21:14:10 +00:00
mycroft 6c77f913e9 I have pms. ;-) 1993-11-02 20:40:57 +00:00
glass 3e21ea2e33 tablet line discipline compiles and probably works now. 1993-11-02 06:19:24 +00:00
mycroft 3103af7e6b Take advantage of special mask mode by leaving interrupts masked in ISR until
they are serviced.  No need to frob IMR.
1993-11-01 08:36:50 +00:00
mycroft 1a2c258aa6 Enable chaining IRQ only if we're using an IRQ on the slave. Other minor
cleanup.
1993-11-01 00:06:04 +00:00
mw b917a0d04f Change gfx-drivers to used g_data for their private data, and use regaddr
for what it's meant, that's to point to the register area. Now, both
gfx drivers should be fairly controllable from user-level applications.
1993-10-31 23:06:36 +00:00
mycroft 44c93f17b5 Grumble. Just set the blasted ICU mode before every read. Also, send the EOIs
to the right port in isa_flushintrs().
1993-10-31 20:21:11 +00:00
mycroft b1c739de48 Need to change to reading ISR in isa_discoverintr(). 1993-10-31 20:11:31 +00:00
mycroft 58dd8e7222 Read ISR by default. If DIAGNOSTIC, display ISR and IRR status for stray
interrupts.
1993-10-31 20:05:43 +00:00
mycroft a4cf218142 Rearrange IDT initialization so it's easier to change ICU_OFFSET. 1993-10-31 18:36:21 +00:00
mw 3fb09cab4b Back out of a stack-adjust (in COMPAT_SUNOS mode) after syscalls that
returned ERESTART.
1993-10-31 01:53:36 +00:00
mw f6ea0d0d1c Define new flag MDP_STACKADJ to back out of a stack adjustment in
syscall() in case of ERESTART.
1993-10-31 01:52:12 +00:00
mycroft 196fd95009 Clean up deleted files. 1993-10-30 23:44:40 +00:00
mw 10e446bf72 new tree for amiga, replacing the bogous previous one.
SunOS support works for a lot of executables now (static and dynamic).
1993-10-30 23:41:47 +00:00
mycroft 7b1556d1c1 Clean up deleted files. 1993-10-30 23:41:45 +00:00
mw 4e382ac007 new tree for amiga, replacing the bogous previous one.
SunOS support works for a lot of executables now (static and dynamic).
1993-10-30 23:40:53 +00:00
mycroft 7029745061 Clean up deleted files. 1993-10-30 23:40:43 +00:00
mw 2be7316095 new tree for amiga, replacing the bogous previous one.
SunOS support works for a lot of executables now (static and dynamic).
1993-10-30 23:40:05 +00:00
mycroft a74a4778b9 Enable fdc1 and assign it drq 3. 1993-10-29 20:38:46 +00:00
mycroft a30194515d Clean up deleted files. 1993-10-29 11:30:15 +00:00
andrew 0f926f7b02 ttyfree() bugfix edition, plus various minor tweaks. 1993-10-29 08:58:34 +00:00
mycroft 8bef6d7b03 Enable ed. 1993-10-29 04:33:34 +00:00
cgd 7c3008b8d7 kill physstrat 1993-10-29 02:15:30 +00:00