Commit Graph

1266 Commits

Author SHA1 Message Date
cgd f77210debf add ddb files, and also make sure alphabetically ordered 1994-01-09 16:31:50 +00:00
cgd ba8d0fb00f kill logs, and minor cleanup 1994-01-09 16:26:51 +00:00
cgd 12d80e6797 stub. 1994-01-09 16:17:10 +00:00
cgd b29e20a007 kill logs, and clean up. some of this will need cpu-dependent hooks. 1994-01-09 16:13:04 +00:00
mycroft f1be23e81a Add the infamous IOPL sanity check, and speed up some bits. 1994-01-09 15:02:24 +00:00
mycroft f8154a63c0 Don't bogusly save the supervisor stack on signals. Correct PSL checks. Fix
some return values from sigreturn().
1994-01-09 14:59:42 +00:00
mycroft 4eb1bbfb0b Use PSL_MBO and PSL_MBZ in the more traditional way. 1994-01-09 14:58:14 +00:00
cgd 8bcd07afc2 make the include files stubs, but add bits where necessary (most XXX). 1994-01-08 19:08:45 +00:00
cgd 03e5891644 kill ptrace stuff; it's common to all m68k machines now 1994-01-08 18:36:54 +00:00
mycroft f5d2568734 Clean up deleted files. 1994-01-08 18:36:06 +00:00
cgd 66e7c94753 delete dupes 1994-01-08 18:34:14 +00:00
cgd 12695b2d2c add id and machine arch spec 1994-01-08 18:33:50 +00:00
cgd ab38f02a26 kill entries duplicated in files.m68k.newconf 1994-01-08 18:31:53 +00:00
cgd bb92026b3e add files.m68k.newconf for the mac folks 1994-01-08 18:08:12 +00:00
cgd f7b271f349 specify that the mac is of the m68k archtecture. 1994-01-08 18:06:25 +00:00
mycroft ec0fa1f388 Use NULLVP, just for Correctness (tm). 1994-01-08 16:06:04 +00:00
cgd 2079970043 SHM_LOCK and SHM_UNLOCK aren't just HPUXCOMPAT 1994-01-08 15:09:01 +00:00
cgd b38fa5acf8 stubs which pint to m68k include 1994-01-08 12:41:41 +00:00
cgd 9e3b9d9bdd oops; forgot the new first arg to NEW_VMCMD() 1994-01-08 12:25:25 +00:00
cgd b44f8257b1 common code 1994-01-08 11:15:53 +00:00
cgd 23c144e8b3 code reorg 1994-01-08 11:13:52 +00:00
mycroft b7f8d61752 Clean up deleted files. 1994-01-08 11:13:10 +00:00
cgd 5fc4970c26 code reorg 1994-01-08 11:12:15 +00:00
mycroft 150f1034c9 Clean up deleted files. 1994-01-08 11:11:50 +00:00
cgd 0e515ae1bd code reorg, and killing of common files 1994-01-08 11:11:46 +00:00
cgd 166622ffab trim files which are now common. 1994-01-08 11:08:28 +00:00
cgd b1d368ed16 HP300 -> M68K, and light trimming 1994-01-08 10:41:23 +00:00
cgd 957ce06f24 far reaching but relatively minor cleanup and slight reorg of exec code 1994-01-08 07:14:24 +00:00
mycroft 91b246d5be Fix some compiler warnings. 1994-01-08 06:34:01 +00:00
mycroft 6d386b5202 Fix two casts. 1994-01-08 05:45:20 +00:00
mycroft 155811b49c #include vm_kern.h. 1994-01-08 05:29:15 +00:00
jtc ceb7f9888d Change default NetBSD NPX control word to 0x137f.
This masks all FP exceptions (like every other UNIX system), and makes
it possible for gcc 2.5's long double support to work.
1994-01-08 01:19:06 +00:00
pk 6f81dd8136 Add .type directive to ENRTY().
Move PIC_ macros over here from SYS.h
1994-01-07 00:46:20 +00:00
mycroft 56dde9c46c hpuxsysent -> hpux_sysent, hpuxnssysent -> nhpux_sysent 1994-01-07 00:45:37 +00:00
mycroft 0bbaf2a5e8 Partial cleanup. Needs more work. 1994-01-07 00:43:39 +00:00
mycroft c26cce685a Declare a return type explicitly. 1994-01-06 23:59:15 +00:00
mycroft 8658309e1b Implement procfs stubs. 1994-01-06 23:55:40 +00:00
mycroft 566f233507 Clean up formatting. 1994-01-06 23:55:37 +00:00
mycroft d74cd05c88 Implement procfs stubs. 1994-01-06 23:55:17 +00:00
mycroft 40b7801fa6 Don't know why LOAD_ADDRESS was ever here, but it's toast. 1994-01-06 17:29:59 +00:00
mycroft 734aca027a Okay, so it *really* works now, or at least compiles. 1994-01-06 17:23:56 +00:00
mycroft 30efe4707c Make ptrace() actually work now. 1994-01-06 17:16:34 +00:00
mycroft ed95321df9 Still need old #defines for now. 1994-01-06 17:05:34 +00:00
mycroft 0e716894cd Garbage collection. 1994-01-06 16:57:59 +00:00
mycroft f76fdd7722 Implement `struct reg'. 1994-01-06 16:50:13 +00:00
cgd 48b5ac1a52 add 'maxfdescs 2048' to everything. i'm sick of the warning... 1994-01-06 12:07:41 +00:00
mycroft f7b0ee1881 Bleah. 1994-01-05 17:52:01 +00:00
mycroft c8fbd64ff5 Remove explicit link addresses. 1994-01-05 17:17:17 +00:00
mycroft 243ce5b9bf *** empty log message *** 1994-01-05 17:05:56 +00:00
cgd b7309d4800 don't include KERNFS and FDESC 1994-01-05 16:30:17 +00:00
cgd e09a770e77 add some options 1994-01-05 16:28:55 +00:00
mycroft 07e22c53b9 LOAD_ADDRESS is now fixed at 0xf8100000. 1994-01-05 16:03:32 +00:00
mycroft d5bb16fdb2 Move kernel to 0xf8000000. 1994-01-05 16:02:36 +00:00
deraadt 489e12a1a7 small cleanup 1994-01-05 13:38:57 +00:00
cgd 8e1f0c6b2f add procfs machine-dependent code, from Jan-Simon Pendry, jsp@sequent.com. 1994-01-05 07:41:44 +00:00
mycroft 0a5a73ec5f #include cpufunc.h. 1994-01-05 03:18:25 +00:00
mycroft 9030d70fd3 Change ptpage to flag, for new VM code. 1994-01-04 14:11:05 +00:00
cgd 61cf5bd904 add LKM 1994-01-04 14:06:23 +00:00
mycroft 9eb8814652 Remove the last two dependencies on 0xfe000000. 1994-01-04 01:50:18 +00:00
mycroft e254def3cf Fix VM_{MIN,MAX}_KERNEL_ADDRESS. 1994-01-04 00:44:03 +00:00
mycroft d16aafd49f Fix another off-by-one error. 1994-01-04 00:24:02 +00:00
mycroft 608662ce74 Fix two off-by-one errors. 1994-01-04 00:15:26 +00:00
mycroft eee671fcc9 Default address is now 0xfe100000; assume we aren't going to revert. 1994-01-04 00:02:38 +00:00
mycroft 92d7ef960c Use KERNBASE, not 0xfe000000. 1994-01-03 23:53:29 +00:00
mycroft 664f968d53 Inline all the [lr]cr[023]() `functions' in cpufunc.h. 1994-01-03 16:23:06 +00:00
mycroft c0e772492e Inline all the [lr]cr[023]() `functions' in cpufunc.h. 1994-01-03 16:21:48 +00:00
mycroft 7131e8517e Garbage collection. 1994-01-03 16:20:47 +00:00
mycroft e75be43c5d Make sure we get the correct `rep' prefix per the Intel manual (though really
GAS should figure this out itself).
1993-12-31 21:11:32 +00:00
deraadt debf054992 compile genassym -static as suggested by Jim McKim <mckim@lerc.nasa.gov> 1993-12-30 06:56:48 +00:00
deraadt 89ea303b7c fix __asm() clobber list for some instructions. fix from
Lennart Augustsson <augustss@cs.chalmers.se>
1993-12-30 05:16:43 +00:00
ws 778a3db3d0 Correct dumping to WD (was destroyed by MACHINE_NONCONTIG code) 1993-12-24 13:56:14 +00:00
cgd b0603af6e5 fix typo pointed out by Rich Murphey 1993-12-23 07:28:41 +00:00
cgd c231ef26cb need sys/types.h, as pointed out by Rich Murphey. also, use 'machine/pio.h' 1993-12-23 07:12:00 +00:00
cgd fd9de878ef add NPTEPG back in. gdb wants it. Thanks to Rich Murphey for pointing it out. 1993-12-22 17:39:45 +00:00
cgd c0f153885d alphabetize... again 1993-12-22 13:11:03 +00:00
cgd e1c650fe5f rename struct 'regs' to 'reg' 1993-12-22 13:07:47 +00:00
cgd d2ad7a00c2 should be 'struct reg' not 'struct regs' -- it's in reg.h, after all!
also, delete r_fs and r_gs; looking at the code and comments
describing/using this struct, they don't belong here
(though if support for them is ever put in here, they should be,
but for i486-en only...  how do you do that 'reasonably,' though?
interface issues...)
1993-12-22 12:57:24 +00:00
cgd 7fbfc4bac0 add (possibly iffy) definitions of PSL_USERSET and PSL_USERCLR,
"standard" PSL masks.
1993-12-22 12:56:08 +00:00
cgd dced52af6c bump MAXSSIZ back down to 8M (from 256M, where charles put it).
execve() currently allocated MAXSSIZ of address space (AND PAGE TABLES)
for the stack.  until that's changed, and the stack-handling code is
updated to match, MAXSSIZ==256M will make execve() significantly slower
than MAXSSIZ==8M.
1993-12-22 12:30:59 +00:00
mycroft 6c32b87568 Remove two unused fields. 1993-12-21 09:47:45 +00:00
brezak a6d85089cd Add pseudo-device vn 1993-12-21 05:30:14 +00:00
brezak 23868240aa Use machine independant vn.c 1993-12-21 05:28:31 +00:00
brezak ac8be1b959 Add pseudo-device vn 1993-12-21 05:27:35 +00:00
brezak 7d88d99ac0 Add vn block/char device 1993-12-21 05:26:49 +00:00
briggs cec9c395f8 Use address instead of slot for add_nubus_intr. This whole interrupt
scheme should probably be taken out and shot.
1993-12-21 03:19:33 +00:00
briggs 982b2aa969 Update ethernet driver to use config.new. At least, it's a first stab
working from mycroft's magnum changes to if_ed.c.
1993-12-21 03:18:00 +00:00
briggs 2390a5c1ee Add basic sound support and a beeping (instead of flashing) console...
from Brad Grantham.
1993-12-21 03:16:01 +00:00
briggs fded7fc070 Add Apple Ethernet to GENERIC and files. Also add asc.c to files
for sound support.
1993-12-21 03:14:16 +00:00
davidb ddefd2e1b8 Fixed bug where with two or more SCSI controllers of the same type, you
could not have devices at the same ID on each bus.
This patch not directly applicable to magnum branch, which is using Julian's
new SCSI code.
1993-12-20 23:27:28 +00:00
ws cf3c69ea3b Correct support for single stepping of syscalls and fpu emulation 1993-12-20 17:16:42 +00:00
cgd fb9b8e7923 add DIAGNOSTIC to each 1993-12-20 10:07:58 +00:00
mycroft 0d115f4690 Remove out of line versions of pio functions. 1993-12-20 09:20:54 +00:00
mycroft 6cbf9be7da Use cpufunc.h only where (currently) needed. 1993-12-20 09:11:38 +00:00
mycroft 0cd3f0fdd2 Remove some things which should not be here. 1993-12-20 09:08:11 +00:00
mycroft de04e7e727 New, more complete version. 1993-12-20 09:07:22 +00:00
mycroft f2a0b4b335 Canonicalize all #includes, and add pio.h where appropriate. 1993-12-20 09:05:17 +00:00
cgd 680c4cb0a0 change panic() for "unknown cpu type" so that it's only got one arg;
"#ifdef notdef" the old way; panic() will be upgraded eventually...
1993-12-20 06:40:55 +00:00
mycroft 335014be84 Increment cnt.v_trap in npxintr(). 1993-12-20 05:30:55 +00:00
mycroft e7a1e00bd6 Garbage collection. 1993-12-20 05:26:36 +00:00
mycroft 2250fff236 Cleanup and garbage collection; nothing significant. From magnum branch. 1993-12-20 05:25:02 +00:00
mycroft 546d92cec9 Forgot to decrement these. 1993-12-19 07:54:52 +00:00
glass 39414753d3 re-organization of sun3 status, and todo info for sun3-hackers release 1993-12-19 07:53:41 +00:00
mycroft c857af00dc Clean up trap handling and macroize interrupt entry and exit code. From
magnum branch.
1993-12-19 06:58:12 +00:00
mycroft a0e7e031f6 Cleanup of trap handling, and macroization of interrupt entry and exit
sequences.  From magnum branch.
1993-12-19 04:16:45 +00:00
mycroft 8b7ff01b9e Clean up deleted files. 1993-12-19 03:42:13 +00:00
mycroft 90b25c90a1 Cleanup from magnum branch. 1993-12-19 03:41:30 +00:00
mycroft 122460dca2 Clean bogus arguments to newvers, and don't pass KERN_IDENT any more. 1993-12-18 04:23:04 +00:00
deraadt be71d62793 direct -> dirent 1993-12-17 00:41:23 +00:00
mycroft ea13c12adc From magnum branch:
Remove Jolitz's netisr kluge.  Make sure cpl == 0 really means base priority.
Other minor cleanup.
1993-12-17 00:10:06 +00:00
mycroft 5d474c1aad Remove an `#ifdef MACHINE_NONCONTIG', as it is now required. 1993-12-16 20:23:56 +00:00
mycroft 8ab45ada42 Eliminate reference to Maxmem. 1993-12-16 20:22:56 +00:00
hpeyerl b4b8e47e12 IFF_LLC0->IFF_LINK0 1993-12-16 20:14:10 +00:00
hpeyerl 4eef2bd5ca oh my... make NS work.
(mental note to check more thoroughly in future)
1993-12-16 04:29:07 +00:00
hpeyerl 32fa8934ac Octal; Hex... It's all the same... :-)
>From deaven@ishmael.ameslab.gov
1993-12-16 00:40:05 +00:00
mycroft 4b68c8d809 Fix a serious bug I introduced. 1993-12-15 14:47:38 +00:00
mycroft a317941b21 Minor change. 1993-12-15 11:33:47 +00:00
mycroft 1cc1b73beb Cleanup of startup and signal handling code from magnum branch. 1993-12-15 09:31:29 +00:00
briggs 5fd9ddd438 Get rid of IFF_ALTPHYS and hence IFF_LLC0 reference. It doesn't appear
to have been used in this driver ;-)
1993-12-15 03:38:20 +00:00
briggs 0658adaa44 Added for ddb support. I think it's at least partially wrong. This and
the files in mac68k/db_* started off as the sun3 files...
1993-12-15 03:30:27 +00:00
briggs 08d8b412c1 Add files for ddb support. I know they're at least partially broken. 1993-12-15 03:28:56 +00:00
briggs e9d1216987 Cleanup. Use mac68k_xxx macros instead of macII, etc. Cleanup via.h.
Add minimal support for ddb.
BIG CHANGE: Use proper offsets for new gas in locore.s!!!
1993-12-15 03:27:50 +00:00
briggs 93726fb753 Change constants and comments to reflect the current MACHINE value.
Define T_BRKPT and T_WATCHPOINT.
1993-12-15 03:22:56 +00:00
briggs e369bb70b1 Add (semi-bogus?) test to scsi_gen to handle luns in test unit ready
commands.  W/o this test, some old drives were being identified at
all luns...  Also some cleanup and spelling corrections ;-)
1993-12-15 03:17:54 +00:00
mycroft 924c486826 Clean up deleted files. 1993-12-15 03:10:00 +00:00
briggs 34805358dd Add (broken) support for DDB. Also fix a bug in console that confused the
scrollback.  Clean up includes a tad.
1993-12-15 03:09:05 +00:00
briggs 38f1087a45 Let's try DDB... 1993-12-15 03:04:40 +00:00
mycroft 6c404098c1 Rearrange some tests to improve efficiency a little when using BPF and
multicast at the same time.
1993-12-15 03:01:07 +00:00
deraadt 11d78045d5 correct docs 1993-12-15 01:06:55 +00:00
mycroft cbe3d33b6d P[GD]_SHIFT --> P[GD]SHIFT 1993-12-15 00:50:45 +00:00
mycroft 13552373e2 Some general code cleanup. 1993-12-14 13:02:52 +00:00
mycroft fccc819b20 Fold in most of the magnum vm changes. 1993-12-14 05:31:17 +00:00
hpeyerl e870ded5c4 Driver for 3Com Etherlink-III (3c509) written by me. Kudos to Charles
and Theo for help and optimizations. (without which this driver would
never have achieved speeds of 1010KB/sec)
1993-12-14 04:26:45 +00:00
cgd 55a9a547a2 from Soeren Schmidt <sos@login.dkuug.dk>:
Basically it does a timeout on lost interrupts, starting the operation
again and logging and error message on the console.
additionally fixes some of the (newer ending) while loops
(that made it work with two IDE disks !)
1993-12-13 10:16:56 +00:00
deraadt e24af4c37c what the heck; i've got tunnel drivers now too 1993-12-13 05:03:18 +00:00
deraadt 819b21a7fc add tunnel driver 1993-12-13 05:02:06 +00:00
hpeyerl ac0c68e1db ie. also pass up any packet with the multicast bit set in the ethernet
>From: Havard Eidnes <Havard.Eidnes@runit.sintef.no>
1993-12-12 20:24:37 +00:00
glass 2ed464d5b4 MACHINE_ARCH 1993-12-12 09:10:52 +00:00
glass aa497f4aea snapshot of my private sources 1993-12-12 09:08:26 +00:00
cgd 40be71a246 bump up number of SLIP pseudo-devs to 4 1993-12-10 16:22:58 +00:00
cgd 0e5dbe1a22 IF_LLC0 -> IF_LINK0 1993-12-10 10:57:40 +00:00
mycroft e4f36e2ea9 Remove excess cruft. This machine has too little memory for unused baggage. 1993-12-10 08:55:32 +00:00
mycroft 714c5818db Make sure the high 16 bits of cpl gets a sane value (0) when reloading after a
process switch.  (HI THEO!)
1993-12-10 08:51:28 +00:00
hpeyerl 7e2c70ce74 Add random.s for multicast stuff. 1993-12-10 05:38:37 +00:00
hpeyerl dc1b697fb8 More multicast stuff
>From cmaeda@cs.washington.edu
These patches are derived from the IP Multicast patches for BSDI.
1993-12-10 05:37:33 +00:00
pk 02fca0e730 Really suppress clock warning message, even if celebrating. 1993-12-09 20:27:53 +00:00
hpeyerl 3a4bc73f21 More multicast related stuff.
>From Chris Maeda, cmaeda@cs.washington.edu
These patches are derived from the IP Multicast patches for BSDI.
1993-12-09 00:32:14 +00:00
mycroft e69c5b3268 Implement ptrace(), copied from the Amiga port. 1993-12-08 23:11:40 +00:00
mycroft f67ccd2bf0 Move #define of NIPCREG outside #fidef. 1993-12-08 22:46:15 +00:00
pk 002972f3f2 Suppress `preposterous time' message if the time base equals zero, as
is the case with NFS mounted root filesystems.
1993-12-08 18:26:19 +00:00
mycroft f573b79d43 Make sure min values are correct when used at a larger size. 1993-12-07 20:44:28 +00:00
deraadt 9a48e42157 __386BSD__ -> __NetBSD__ 1993-12-07 12:51:58 +00:00
briggs 168d2ddd1d Add -Dmac68k as a COPTS so we can get cpu_disklabel. 1993-12-07 03:27:43 +00:00
mycroft 42aa5d6c25 Change the address calculations in icode to match current as. 1993-12-06 14:19:44 +00:00
mycroft 3c2111ec4e Dummy clockattach() for new config. 1993-12-06 13:30:52 +00:00
mycroft fc1d105e0a Dummy iteattach() for new config. 1993-12-06 13:27:49 +00:00
mycroft 12bd3cc33c Fix a couple of compiler warnings. 1993-12-06 13:14:16 +00:00
mycroft 73f2af0512 Add quad support. 1993-12-06 07:35:56 +00:00
mycroft e52bc1d4f0 Add quad stuff, etc. 1993-12-06 07:25:07 +00:00
briggs 99fee960e0 Fix includes to use ../mac68k instead of ../mac and add some semi-colons
to a couple of default: switches.  gcc2 doesn't mind not having them,
but gcc1 sure does.
1993-12-06 04:27:52 +00:00
briggs 54614538ca Dumb typo. Must be dyslexic. Changed MACHINE_MID to MID_MACHINE. 1993-12-06 04:11:47 +00:00
briggs dcbf82a3fe Move MID_MACHINE to param.h from exec.h and get rid of bogus includes. 1993-12-06 04:09:20 +00:00
mycroft fb60f2ced9 Turn off special mask mode by default. It is clearly not supported enough. 1993-12-05 11:20:09 +00:00
phil 424b944426 Adding MACHINE_ARCH and changing MACHINE. 1993-12-05 06:50:39 +00:00
briggs 1fd099189d Change USRTEXT to 8192 in vmparam.h.
Add MACHINE_ARCH (m68k) to param.h.
1993-12-04 03:49:01 +00:00
cgd 638c145efa add MACHINE_ARCH 1993-12-04 02:20:11 +00:00
cgd edcba29bc8 add MACHINE_ARCH 1993-12-04 02:12:34 +00:00
cgd b26f063ecf add MACHINE_ARCH as i386 1993-12-04 02:04:31 +00:00
deraadt c05bd599a0 i have an ep 1993-12-04 01:20:51 +00:00
briggs 25e937c41a Added struct relocation_info_mac68k. Copied from hp300. 1993-12-03 22:29:48 +00:00
deraadt 8ca56a8a85 ep driver.. 1993-12-03 12:02:38 +00:00
mycroft 720d26b6bf Add dummy speakerattach() until it's made into a real device. Reported by
Mark_Weaver@brown.edu.
1993-12-03 09:37:56 +00:00
deraadt 03f5ee0f24 monster kludge! struct kinfo is very large, cause the pmap struct is
very large. this has to fit into struct user.. kern_kinfo.c should get
fixed (for the core dump case)
1993-12-03 09:23:43 +00:00
deraadt c69bc4a95f I have a scsi controller now! 1993-12-03 05:31:03 +00:00
deraadt 0977b6ec81 add ep driver 1993-12-03 02:58:42 +00:00
phil dacaea391c Updating for changes removing rtc from the pseudo devices. 1993-12-03 00:18:30 +00:00
briggs 9c873e424c Update MACHINE to mac68k in param.h.
Update MACHINE_MID to MID_M68K -- untested.
Add __LDPGSZ as 8192 -- untested.
1993-12-02 18:36:35 +00:00
mycroft 5cf6576e5d Clean up deleted files. 1993-12-02 18:29:26 +00:00
briggs 67558220f1 Migrate to new MACHINE definition (mac -> mac68k). 1993-12-02 18:29:18 +00:00
briggs 0c925f177c Add symbols for quads to limits and endian and protect endian from mult.
inclusion.
1993-12-02 15:02:50 +00:00
deraadt e2d8e0cdaf NFS -> NFSSERVER and NFSCLIENT
take out NEWCONFIG option
1993-12-02 11:10:35 +00:00
briggs e8aefd0760 Get rid of CLK_TCK. Theo reminds me that the value isn't
machine-dependent, which is why it's defined in time.h.
1993-12-02 07:40:14 +00:00
briggs 1e2591e519 Update Makefile to not use stupid hack on assembly files. 1993-12-02 06:29:16 +00:00
briggs 9a5e37cfd0 Use /**/ instead of ## for concatenation. Other way doesn't work right. 1993-12-02 06:25:10 +00:00
pk 67d0cb98aa Make `ktrace' record the system call entries in addition to just a bunch
of return codes.
1993-12-01 20:59:59 +00:00
deraadt 2dcf572fc2 fbio.h is in machine/ 1993-11-30 20:55:12 +00:00
mycroft 3956e86fbd Enable mcd0. 1993-11-29 18:19:29 +00:00
deraadt cd697ceedb seperate device from dkdevice 1993-11-29 08:31:22 +00:00
deraadt a17ccec482 fbio.h is in machine/ 1993-11-29 06:14:55 +00:00
deraadt 9baa68556c more cleanup 1993-11-29 06:14:06 +00:00
deraadt 82d8ced9f1 start to get rid of some of the hacks 1993-11-29 05:37:56 +00:00
mycroft 7095375da9 Enable ch*. 1993-11-29 04:59:26 +00:00
mycroft aadbc0a6da Remove explicit port for ahb[01]. 1993-11-29 01:03:44 +00:00
briggs 32b381f69f This is a bunch of Julian Elischer's sys/scsi (as seen in FreeBSD)
modified to function with the mac code.  It currently doesn't map
the configured devices, but it does force the boot disk to be sd0.
The user-level stuff has been #ifdef'ed for sanity.
1993-11-29 00:45:01 +00:00
briggs b1dd736d44 Update from 0.9-ish to -current. Including a switch to use config.new.
The new functions (ptrace, etc) are stubbed.
Some cleanup, too.
1993-11-29 00:40:36 +00:00
mycroft 4e20653888 Enable ahb[01]. 1993-11-29 00:39:21 +00:00
briggs 9995ea306b Added signal.h for -current. The rest is formatting changes. 1993-11-29 00:37:54 +00:00
briggs e99f003a7d Update to current work in progress. This includes an update to
use config.new.
Numerous updates to console so it works better on the SE/30 screen.
Some nice changes from Brad Parker for handling NuBUS and an ethernet
driver that I haven't worked on, yet.
1993-11-29 00:32:22 +00:00
briggs 915b33a502 Update to current work in progress. This includes an update to
use config.new.
1993-11-29 00:29:28 +00:00
deraadt 1aba43bb13 use new sun_exec_aout_makecmds 1993-11-28 18:09:43 +00:00
mycroft 6ac9e15bb1 New test config. 1993-11-28 10:50:44 +00:00
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