Commit Graph

5326 Commits

Author SHA1 Message Date
cgd 36ac18735f fix pr 528; don't define struct if_data inside another structure. 1994-10-19 20:57:56 +00:00
phil 20cb927177 add timezone support to inittodr (thanks to Phil Budne)
add a working resettodr (ditto)
rcs header
1994-10-19 17:15:16 +00:00
mycroft 70e27da16b Fix up some printfs and make them consistent. 1994-10-18 18:24:35 +00:00
mycroft 8ae8b4ab29 Bug fixes from Rafal Boni:
* Set promiscuous mode flag before configuring card, so it actually works.
* Handle failed TDR commands correctly.
* Remove some apparently defunct and bogus code.
(This driver needs more work.)
1994-10-18 13:40:30 +00:00
cgd 4eb752cd51 make the "wait on swbuf" message SDB_IO -- it's I/O related, and it's
not at all anomalous (and bloody annoying!) on 4M machines.
1994-10-18 06:42:28 +00:00
cgd 90f2c4f70a DEBUG and/or DIAGNOSTIC shouldn't cause thing to be printed for "normal"
cases, unless the user explicitly requests it.  add variable
startinit_verbose to control init-starting messages.
1994-10-18 06:28:06 +00:00
cgd 1725b07a35 there are no flags between us (and compiling) any more. 1994-10-18 06:11:15 +00:00
cgd bd6d113b69 change a number 1994-10-18 04:27:30 +00:00
jtc 8c34217adb The ns32k uses IEEE, not vax, floating point arithmetic.
Adjusted constants appropriately.
1994-10-18 00:25:27 +00:00
cgd 805605ce56 kill le0. *sigh* 1994-10-17 21:49:51 +00:00
cgd 894d08c561 fix two typos. 1994-10-17 20:07:03 +00:00
cgd 320359f8e2 change, requested by Jarle Greipsland 1994-10-17 00:08:29 +00:00
mycroft d00c05633a Wait on the correct bit in the lower half of kbc_get8042cmd(); and some other
mostly stylistic changes.  Based on suggestions from John Hood.
1994-10-16 15:46:13 +00:00
mycroft 06b14c27fd Substantially smaller and faster version, from me. 1994-10-16 15:37:41 +00:00
deraadt 2fb5b874a1 sbus_establish() is sun4c/sun4m specific 1994-10-15 08:57:20 +00:00
deraadt 63afb063a5 declare obio/sbus in the right place
obio/vmes/vmel support only active if requested
1994-10-15 06:01:20 +00:00
deraadt 8986364564 mapiodev takes a bustype argument now
attempt to configure vmel/vmes
1994-10-15 05:53:23 +00:00
deraadt 3ae3c206d7 mapiodev takes a bustype argument now 1994-10-15 05:48:47 +00:00
cgd f501e4e128 make <stdarg.h> a symlink, and clean up ports' stdarg.h and varargs.h files. 1994-10-15 04:57:29 +00:00
cgd 49c34d3337 move arch dependence to archs. clean up a bit. deal with weird MAXPARTITONS. 1994-10-14 18:26:22 +00:00
mycroft 63bb09e6da Don't return received data to the user until the initial handshake is complete.
Also use TCPS_HAVEESTABLISHED() in a few other places.
1994-10-14 16:01:48 +00:00
mycroft 6f5794ecba Fix bugs in dealing with odd-length mbufs in ed_pio_write_mbufs(). From
John Hood.
1994-10-14 13:05:13 +00:00
mycroft b94d5a36e7 Increase the default window size to 16k. 1994-10-13 14:26:15 +00:00
mycroft 7c01f7ce51 Changes from DG to deal with some old chips that corrupt the packet length. 1994-10-12 13:42:00 +00:00
mycroft 8f5b447fb2 Remove the need for some untimeouts. 1994-10-12 13:38:16 +00:00
deraadt 4894f929bc KNF. (still need to kill the bitfields) 1994-10-11 22:31:55 +00:00
mycroft 98e70587d5 Avoid GCC generating a call to memset(). 1994-10-11 09:26:01 +00:00
mycroft 4252ca6644 Correct multicast filter calculation. 1994-10-09 21:19:04 +00:00
mycroft ee5cde2719 Oops; slight optimization to the previous. 1994-10-09 18:10:55 +00:00
mycroft 8c5f95b10b Pretend that trap() and syscall() have no args. 1994-10-09 16:09:27 +00:00
mycroft 88501e66d2 Fix post-decrement loop to not overshoot, so the last change works right. 1994-10-09 15:49:10 +00:00
mycroft 867f51ab31 Only print the return address of an interrupt, trap, or syscall separately if
it was the last frame in the trace; otherwise the info is duplicated.
1994-10-09 15:40:51 +00:00
mycroft 236f105ccd Remove unneeded #includes. 1994-10-09 15:06:23 +00:00
mycroft c3fa5122d6 #include cpufunc.h from pmap.h. 1994-10-09 15:00:38 +00:00
mycroft 2013b5f349 Combine INTERRUPT case with TRAP and SYSCALL. 1994-10-09 14:51:17 +00:00
mycroft f72ff16e5b Oops. Just fake %ebp; nothing else. 1994-10-09 14:45:40 +00:00
mycroft c9cb256e1d If DDB is configured, make a fake stack frame. 1994-10-09 14:43:00 +00:00
mycroft 5d0226231f Do something sensible with interrupt frames. 1994-10-09 14:37:54 +00:00
mycroft aef750bbec Fix slight bogosity in trap frame handling, and combine with syscall case. 1994-10-09 13:48:40 +00:00
mycroft e19b0472c8 Make multiple-inclusion protection consistent. 1994-10-09 13:33:53 +00:00
mycroft c87fbde918 Fix typo. 1994-10-09 13:31:19 +00:00
mycroft 701c0f0058 Eliminate i386_saved_state. 1994-10-09 13:27:07 +00:00
mycroft 8295e4b8f2 Nuke dirty(). 1994-10-09 13:23:21 +00:00
mycroft ebbc8e0476 Make the conversion macros more consistent. 1994-10-09 13:20:37 +00:00
mycroft 18830ce0ea Define pmap_update() using tlbflush(). 1994-10-09 13:11:18 +00:00
mycroft e165978b36 Use pmap_update(), not tlbflush(). 1994-10-09 13:09:11 +00:00
mycroft 47db98b4d9 Eliminate register restrictions where possible. 1994-10-09 13:02:56 +00:00
mycroft 87041c0044 Make reg, frame, and sigcontext more similar. 1994-10-09 12:57:11 +00:00
mycroft 112dac786c Make reg, frame, and sigcontext more similar. 1994-10-09 12:39:05 +00:00
mycroft cce04a7aa1 Put the delay in a macro, and implement it differently. 1994-10-09 09:28:54 +00:00
mycroft cbe87dbb9c Remove BYTE_MSF. 1994-10-09 09:21:53 +00:00
mycroft 13c1794b82 Eliminate tf_isp. 1994-10-09 09:20:28 +00:00
mycroft ae6f1ba610 Don't use pusha and popa. 1994-10-09 09:19:29 +00:00
mycroft 621455a04a Don't allow interrupts while in DDB. 1994-10-09 09:13:18 +00:00
mycroft 4f0f8fdfc4 db_error() does not return. 1994-10-09 08:56:23 +00:00
mycroft 72fa9c8429 Get rid of unneeded `extern's. 1994-10-09 08:41:20 +00:00
mycroft 07dbafe712 Use BYTE_ORDER, not BYTE_[LM]SF. 1994-10-09 08:37:35 +00:00
mycroft 9085601009 Clean up #includes. 1994-10-09 08:29:55 +00:00
mycroft da4e97dcc4 Add prototypes. 1994-10-09 08:19:29 +00:00
mycroft 25cd76c85f Clean up deleted files. 1994-10-08 15:48:21 +00:00
ragge 4e74a4cb54 Lots of bug fixes; clock and mem files new. 1994-10-08 15:48:00 +00:00
ragge 5a58654e8a Fixed bugs according to old memory system. 1994-10-08 15:46:15 +00:00
ragge e2ce91ebf4 Changes to make files more 4.4/1.0B working. 1994-10-08 15:43:53 +00:00
ragge ae5a011da1 fixed minor problem with mtpr() 1994-10-08 15:42:54 +00:00
ragge b44460ce47 New filenames; changes applying to 1.o Beta 1994-10-08 15:42:27 +00:00
ragge e4b5499885 New information about VAX port 1994-10-08 15:41:42 +00:00
chopps b23c0b1b23 fix typo and add 4091 controller 1994-10-08 09:53:15 +00:00
mycroft e6bfb63702 Fix typos. 1994-10-07 14:28:26 +00:00
mycroft 0aa9f727b9 lkm_all in unneeded. 1994-10-07 14:20:11 +00:00
mycroft b90985ee3d Don't poll the BUSY bit until the SDH register is set. 1994-10-07 11:34:52 +00:00
mycroft 1eaa03e7dc Fix initial allocation of dev array, and simplify the code
slightly.
1994-10-07 09:08:29 +00:00
mycroft 878839c40d Simplify the code to expand the dev array slightly, and make sure the size is
a power of 2.
1994-10-07 09:07:56 +00:00
chopps d54d5bdb36 fix a couple warnings. 1994-10-06 20:34:25 +00:00
chopps 241af64f6d fix typo. 1994-10-06 20:32:04 +00:00
chopps 51ec45b04f Add Amiga 1200 support (kbd and ide) from
osymh@gemini.oscs.montana.edu (Michael L. Hitch)
1994-10-06 19:54:28 +00:00
chopps 9e87730b13 fix flow control and a couple bugs. from:
niklas@appli.se (Niklas Hallqvist) and
osymh@gemini.oscs.montana.edu (Michael L. Hitch)
1994-10-06 19:20:55 +00:00
chopps c36cdf127f add another interrupt entry, for 4091. 1994-10-06 19:11:30 +00:00
chopps 1e14398fc5 add 4091 scsi controller 1994-10-06 19:07:20 +00:00
chopps 7b1a94bdf4 fix a thinko in gvp diag. Add 4091 driver from Michael Hitch
(osymh@gemini.oscs.montana.edu)
1994-10-06 19:06:40 +00:00
chopps 11a257ac8f fix access check to honor mount arg,
from Michael Hitch (osymh@gemini.oscs.montana.edu)
1994-10-06 18:41:26 +00:00
phil a412f1e2db Get it to compile again. (agree with sys/ptrace.h) 1994-10-06 06:07:28 +00:00
mycroft 17ac077f4b Fix some weird formatting. 1994-10-06 05:20:42 +00:00
mycroft 4010acf9f3 Handle Cyrix CPUs a bit differently. Based on suggestions from Michael
VanLoon.
1994-10-06 03:36:40 +00:00
jtc 50387b6e37 Added __weak_reference() macro. 1994-10-05 17:26:54 +00:00
jtc badcc17a6d Add constants required by XPG3 1994-10-05 17:16:29 +00:00
hpeyerl 3595156bad begone 'softcar' begone!
hello 'ppp'.
goodbye 'ccd'.
1994-10-04 17:32:30 +00:00
deraadt 425833d1b0 sun4/300 support works 1994-10-02 21:59:56 +00:00
deraadt f6db3bff3e cannot open on a sun4 machine 1994-10-02 21:58:02 +00:00
deraadt 4c5c5d590c don't pass UPAGES 1994-10-02 21:52:21 +00:00
deraadt e8bff526c3 XXX a nasty 1994-10-02 21:51:37 +00:00
deraadt c28af54721 MONxx -> OLDMON_xx 1994-10-02 21:50:58 +00:00
cgd 7545c52d98 fix ndqb bug handling flags other than TTY_QUOTE. 1994-10-02 04:11:53 +00:00
mycroft 86e7908a72 Make some comments more clear. 1994-10-01 07:19:32 +00:00
mycroft f7b0f89811 Various minor changes to sync better with DG's version. 1994-10-01 07:13:32 +00:00
mycroft 6ddbe860c2 Update from Wolfgang Stanglemeier. 1994-10-01 06:27:56 +00:00
mycroft 0e28696023 Add IO_PPI. 1994-10-01 03:52:46 +00:00
mycroft e32c213d35 Add IO_PMP[12] and IO_PMPSIZE. 1994-10-01 03:48:49 +00:00
mycroft 1e0ffaa7d6 Clean up a little. 1994-10-01 03:42:59 +00:00
mycroft c25a6980ac Add INTRUNMASK(). 1994-10-01 03:37:37 +00:00
briggs 93b8f0f095 Change strategy slightly so that serial console is enabled if internal
console is not--regardless of the value of the boot-time flag.
Suggested by a question from bit@gnu.ai.mit.edu (jim howard - bit.map).
1994-09-30 00:52:44 +00:00
mycroft 53c4d8a7e6 Fix byte order problem in multicast filter calculation. 1994-09-29 21:24:12 +00:00
jtc 22441ccd35 I've decided to move the definitions of private structures, etc. to
<sys/localedef.h> like AIX and OSF/1.
1994-09-29 05:00:37 +00:00
briggs 49e7735666 Actually implement serial boot (console) echo (minor change to ite.c).
Remove some old junk in ser.c and implement serial console and serial
boot echo (if serial console's enabled, clear echo).
1994-09-29 03:33:13 +00:00
deraadt d6bfeb6b71 failure to bind to a reserved port should return EACCES not EPERM. 1994-09-29 02:31:35 +00:00
mycroft 245f59a3c7 Fix typo in last change. 1994-09-28 15:00:31 +00:00
mycroft 4a01c33ac6 Return EINVAL on attempted flags change. 1994-09-28 11:51:36 +00:00
mycroft ae583dca34 Various changes:
* Make some of the code look more like UFS.
* Check permissions in lookup().
* Move the directory size special case into DE_EXTERNALIZE().
* Fix some conditions where lookup() might not release a buffer.
* Remove bogus flag handling in setattr().
* Pass timespec, not timeval, to deupdat().
* Check more error conditions.
* Fix possible panics in rename().
* Simplify readdir().
* General code cleanup; add prototypes, delete unused variables, etc.
1994-09-28 11:31:23 +00:00
deraadt 9d7bdbb0c4 don't play with CLBYTES in cpp 1994-09-28 00:44:30 +00:00
deraadt 042d2d08a1 use STACKGAPBASE 1994-09-28 00:41:17 +00:00
chopps 0e2babc5f4 Fix serious typo. 1994-09-27 05:07:59 +00:00
deraadt 3434480601 USPACE 1994-09-27 01:34:01 +00:00
deraadt 79b1288c6a USPAGE 1994-09-27 01:32:06 +00:00
gwr 2905514717 Fix routines to read/write the stupid intersil clock. 1994-09-26 17:25:21 +00:00
gwr 3e676d4221 Fix data size specifiers and multiple format specifiers, like:
db> x/bxxxx  ADDRESS
1994-09-26 17:10:15 +00:00
gwr 62f18b1dda Do the first BOOTPARAM RPC call to the broadcast address instead of
using the address of the RARP server because a BOOTPARAM server
might not be running on the machine that sent the RARP reply.
1994-09-26 16:42:29 +00:00
deraadt b965c675f5 sun4 monitor "w" command support 1994-09-25 20:52:58 +00:00
deraadt 360eda8453 sun4 memory error register code 1994-09-25 20:51:51 +00:00
deraadt 03ef730e53 make pmeg_t always a u_short 1994-09-25 20:50:26 +00:00
phil e4cfedf094 *SIGH* use the netinet version of in_cksum.c. Now tcp works on the pc532. 1994-09-25 04:23:17 +00:00
mycroft 3cc6cbc0e6 Correct test for already being traced. 1994-09-24 07:17:18 +00:00
mycroft 3d13acbea0 Make the tstamp functions take `u_char *', not `char *'. 1994-09-22 02:47:31 +00:00
mycroft ef22ebf733 Change timevals to timespecs. 1994-09-22 02:44:35 +00:00
mycroft 4b5f323219 Define VFSTOMSDOSFS(), and use it. 1994-09-22 02:34:49 +00:00
mycroft 22bdb84b17 Allow unloading of vfs's if the refcount is 0. 1994-09-22 02:22:42 +00:00
mycroft 480c10c23a Maintain vfs reference counts. 1994-09-22 02:17:00 +00:00
mycroft 47a55d6ae9 Add a reference count for each VFS. 1994-09-22 02:06:10 +00:00
jtc 62db8972b1 Updated bde's comments wrt. i387 control word settings so that they
describe NetBSD, rather than 386BSD 0.1.
Removed 386BSD and BDE control word constants, since we don't need and
will never use them.  However, The iBCS control word constant is kept,
since we might want to use it in the iBCS binary compatibility code.
1994-09-22 00:37:13 +00:00
gwr 7370c0119e Remove some unused definitions (locore.s includes trap.h now). 1994-09-20 16:53:40 +00:00
gwr 1731680194 Move internal swap device to BLK major 4 (xy wants 3).
Add some more comments about Sun device numbers.
1994-09-20 16:52:56 +00:00
gwr 552b122850 Cleanup, use obio_find_mapping() instead of xxx_va 1994-09-20 16:52:21 +00:00
gwr 52ef17d342 Call eeprom driver for eeprom access. 1994-09-20 16:51:09 +00:00
gwr 5189af7e96 Get boothowto flags from PROM flags; fix reboot. 1994-09-20 16:50:28 +00:00
gwr 4e9d2ade85 Add GENERIC support. 1994-09-20 16:49:51 +00:00
gwr 2dba7bd973 New functions to handle writing EEPROM with correct delay.
Also provides ee_get_byte() for early use by other drivers.
1994-09-20 16:35:44 +00:00
gwr 399b15ebf9 Kill CLOCK_VA, INTERREG_VA. Do spl0() and splx(x) inline too. 1994-09-20 16:31:03 +00:00
gwr 7cd046827a Add obio_find_mapping(), kill xxx_va gunk. 1994-09-20 16:28:00 +00:00
gwr 732923addf Cleanup, fix mon_reboot() 1994-09-20 16:26:40 +00:00
gwr 946d055d67 Add prototype for ee_get_byte(), etc. 1994-09-20 16:26:00 +00:00
gwr 1b53c4c36c Add obio_find_mapping() for use by devices that need mappings before
autoconfiguration is done.  It re-uses the PROM's mappings now.
1994-09-20 16:24:45 +00:00
gwr ca73a257a8 Correct some misinformation about recovery time. 1994-09-20 16:23:06 +00:00
gwr 51afe89406 Call obio_alloc with just two args (mappings always writable). 1994-09-20 16:21:44 +00:00
gwr d68c93647d Add dev/eeprom.c 1994-09-20 16:18:34 +00:00
gwr 255acc64c2 Turn on optimization. 1994-09-20 16:17:53 +00:00
gwr 185c98f55a GENERIC kernel works. 1994-09-20 16:17:08 +00:00
deraadt 25ee899992 ask the ROM if we are sun4c/sun4m/sun4d. 1994-09-20 07:48:24 +00:00
cgd 2f658e4b73 c syntax 1994-09-20 06:45:17 +00:00
cgd a3e9e8091b fix device aliasing and lost vnode problems. 1994-09-20 06:43:00 +00:00
cgd 707aae0bd3 don't redefine time. 1994-09-20 06:42:10 +00:00
cgd f096880a27 C syntax, and proper definition of time. 1994-09-20 06:41:35 +00:00
cgd 5853ebcf99 C syntax 1994-09-20 06:41:04 +00:00
mycroft cb0453c424 Make some of this look like UFS again. 1994-09-19 19:28:07 +00:00
mycroft 7087c929e8 Use global `doforce' variable. 1994-09-19 19:17:54 +00:00
mycroft 9283f4936d Change the remaining 731's to 733's. Redo the conversion functions to
allow unaligned access.  Don't use 0-length arrays.
1994-09-19 09:09:46 +00:00
mycroft 0874e14c94 m_adj() returns void. 1994-09-19 08:07:17 +00:00
mycroft 87ed5fd67b Require at least one group. 1994-09-19 07:52:57 +00:00
mycroft 1c8e17fb63 Prototype spllower(). 1994-09-19 05:05:15 +00:00
mycroft 0673ffd9de Prototype m_adj(). 1994-09-19 05:03:09 +00:00
mycroft 9b9fa4f2a0 Fix misguided attempt to reorganize bootdev, and fix a few
other miscellaneous bugs and nits.
1994-09-19 00:23:36 +00:00
mycroft 3b83040b88 Add tickadj to clockinfo. 1994-09-18 21:55:43 +00:00
mycroft 61101c8fa5 Remove extern of tickadj. 1994-09-18 21:49:07 +00:00
mycroft b8ea227747 Move extern of tickadj into here. 1994-09-18 21:48:28 +00:00
mycroft cc1852efe4 Add some delays to save the Gateway (lose, lose) keyboard controllers. 1994-09-18 19:33:11 +00:00
deraadt 1ec7a8fcbe fix PR#484 relating to backspacing over a tab. 1994-09-18 18:32:51 +00:00
mycroft ed6674d599 Add a comment on the #endif. 1994-09-18 04:44:13 +00:00
mycroft 868c94ff7c Fix space change in last commit. 1994-09-18 04:40:47 +00:00
mycroft 3f3461a8e9 Trivial change to avoid compiler warnings, from Bill Sommerfeld. 1994-09-18 01:59:30 +00:00
mycroft 274730a866 Make genassym depend on genassym.c 1994-09-18 00:57:38 +00:00
mycroft 775fc8b821 Add LED frobnication code, from 4.4-Lite. 1994-09-18 00:43:19 +00:00
deraadt 4fbb770d32 add obio for sun4 1994-09-18 00:03:03 +00:00
deraadt 89670e4cfb generalize bus support for match/attach 1994-09-18 00:02:16 +00:00
deraadt a9f84a682a generalize bus support for match/attach
sun4 code for mapping zs chips
1994-09-18 00:02:02 +00:00
deraadt b694d835f9 add tape/cdrom 1994-09-18 00:00:43 +00:00
deraadt 1be17e489e sbus/* --> dev/*
deal with multiple bus types (start of vme/obio support)
1994-09-17 23:57:27 +00:00
deraadt 152b1d19d4 obio bus driver, for dealing with devices on the sun4 motherboard. 1994-09-17 23:49:58 +00:00
deraadt 1340faab13 Replacement esp (NCR 53C9X + LSI DMA) scsi driver from Peter Galbavy. 1994-09-17 23:48:32 +00:00
deraadt ca83f065d9 "struct confargs" is used for all device match/attach functions. It
tells you what bus (sbus, vme, ...) you are on.
1994-09-17 23:46:32 +00:00
deraadt 1587c23246 sunos disklabels are translated into netbsd disklabels. 1994-09-17 23:45:39 +00:00
deraadt 51150e13d3 new scsi 1994-09-17 23:43:56 +00:00
deraadt 6e2b05d646 new scsi code
sparc/sbus/* --> sparc/dev/*
1994-09-17 23:43:23 +00:00
deraadt 2b2fa40d16 hacked into shape by Peter Galbavy. 1994-09-17 23:28:55 +00:00
mycroft dfe4aeb79f Clean up deleted files. 1994-09-17 23:25:13 +00:00
mycroft 76af9b5da0 Clean up deleted files. 1994-09-17 18:38:46 +00:00
mycroft fd536b8545 vmunix --> netbsd 1994-09-17 00:24:06 +00:00
deraadt 42ea7aa818 sparc is not special anymore 1994-09-16 23:57:22 +00:00
mycroft b7cc64e049 Check the SB Pro IRQ and DRQ correctly. From Jason Thorpe. 1994-09-16 23:48:22 +00:00
mycroft b073160a6c Fix typo. 1994-09-16 21:17:21 +00:00
mycroft c3e6d1057b Add tun. 1994-09-16 21:14:58 +00:00
mycroft c7003d37d3 Only reset FIFO if changing baud rate. From John Kohl (slightly edited). 1994-09-16 02:50:39 +00:00
jtc 23ece5babc asm -> __asm (PR #463). 1994-09-16 02:39:36 +00:00
jtc e43e9b828a Protect against multiple inclusion (PR #473). 1994-09-16 02:16:42 +00:00
mycroft ab9caa0e9a Fix the munmapfd() prototype, too. 1994-09-16 02:01:49 +00:00
mycroft d5fdf729f2 All of the users of munmapfd() expect to pass it
two args.  Make it work correctly.
1994-09-16 01:57:57 +00:00
deraadt 2b10ae150f compile -O3 1994-09-16 01:27:58 +00:00
mycroft 76e0a7d0f4 Fix typo. 1994-09-15 03:47:19 +00:00
mycroft cab4d25c24 stat the file system at mount time, for `df -n', et al. 1994-09-15 03:42:37 +00:00
deraadt 9d977e669b gcc automatically calls memset in certain situations. 1994-09-15 01:46:37 +00:00
cgd b690c315ff ugly (#ifdef) hack to fix m68k alignment differences, etc. Eventually,
should be done with a 'natual alignment' macro, or some such.
1994-09-14 16:40:29 +00:00
cgd 575d44884b from Kirk McKusick: release old ctty if acquiring a new one.
also: prettiness police!
1994-09-14 00:35:29 +00:00
deraadt db9d3d3d7e add MID_MIPS (big endian MIPS) 1994-09-13 15:47:03 +00:00
briggs 24de5a9668 Nuke a CVS Log entry. Attribute introspection to Brad. 1994-09-12 21:56:36 +00:00
mycroft 8dd2c63b08 Turn off the delay debugging messages again. 1994-09-12 20:29:08 +00:00
briggs 400d187c01 Remove need for "bounds.h." Brad can still use it if he wants ;-) 1994-09-12 03:54:05 +00:00
briggs 9e4e942a2f Give vnd a major number. Didn't work on my last attempt with it, but
this will be needed, anyway.
1994-09-12 03:53:03 +00:00
briggs 5432aef717 Fix a scrolling bug when we have more than 64k to scroll. 1994-09-12 03:38:30 +00:00
briggs 9dc2628062 Snarf chopps changes for bus/addrerr handling. 1994-09-12 03:37:33 +00:00
mycroft 71564b8859 Turn off a few things. 1994-09-11 08:39:36 +00:00
mycroft 1435172b90 Nuke the silly `--' hack when there are no flags. 1994-09-10 04:44:23 +00:00
jtc 47b84c16db asm -> __asm (PR #463). 1994-09-10 01:19:45 +00:00
jtc bdd26b125c asm -> __asm (PR #463). 1994-09-10 01:07:08 +00:00
mycroft 0d3651018e Make kernel_pmap a macro that points directly to kernel_pmap_store. 1994-09-09 23:58:48 +00:00
mycroft c7d5bf7b64 Nuke struct ste, struct ste40, struct pte, and HP_PAGE_SIZE. Use my
pv_entry allocator.  Change pa_index() to pmap_page_index() for consistency
with other ports.
1994-09-09 23:52:49 +00:00
mycroft c7b57907f0 Do a hack similar to the AST optimization for SIRs on syscall exit. 1994-09-09 23:40:15 +00:00
mycroft f66f685ad2 Very simple change to avoid a complete register save/restore pair when handling
ASTs after a syscall.
1994-09-09 03:58:38 +00:00
mycroft cf04bbff56 Small optimization for the !DIAGNOSTIC case. 1994-09-09 03:16:03 +00:00
mycroft 675c4aae2b Remove some functions which are in libkern. 1994-09-09 03:11:31 +00:00
mycroft 6ba85483c3 Use bfffo rather than a slow loop. 1994-09-09 03:07:23 +00:00
mycroft e0fa548a12 Optimize the run queue frobnication, and add some more DIAGNOSTIC checks. 1994-09-09 02:56:54 +00:00
mycroft 289bc175c6 Another tiny optimization. 1994-09-08 21:56:14 +00:00
mycroft a90cca9558 Add a simple pv_page garbage collector (currently disabled). 1994-09-08 21:03:43 +00:00
mycroft 4116a4243e Various changes:
* Inline some functions.
* Eliminate redundant calls to pmap_page_index().
* Reduce the number of TLB flushes in accordance with the i386 SSWG.
* Inline pmap_remove() in pmap_remove_all().  (Most if it is unnecessary.)
* Allocate pv_entry's in pages, and keep a list of free entries in each page,
and a list of pages with free entries.  (Trying to reduce malloc() overhead,
and improve locality of reference.)
* Remove a couple of macros that aren't really useful.
* Remove pmap_kernel() completely.
1994-09-07 20:48:52 +00:00
mycroft d884d26b32 Trivial change of no significance. 1994-09-07 20:32:45 +00:00
mycroft 9d4125d1ec A few small optimizations. 1994-09-07 20:32:00 +00:00
mycroft 6dd2f9eed2 vm_object_page_clean() expects to be able to use vm_page_deactivate() on a
locked page.  Make that work.  This also obviates the need for vm_fault() to
bogusly activate a page before deactivating it.  Finally, make sure the
semantics of vm_object_deactive_pages() don't change.
1994-09-07 20:25:07 +00:00
mycroft e4bc47c9fc Remove bogus attempt to map the interrupt pins here. The BIOS is supposed to
do it anyway.
1994-09-06 01:25:22 +00:00
pk 09301847a4 Compile `pamap.c' and `cache.c' with normal compiler rules.
Let's pretend this was a bug in some previous version of gcc...
1994-09-05 06:31:34 +00:00
mycroft 3e334ba9a6 New iBCS2 code from Scott. 1994-09-05 01:28:57 +00:00
mycroft faa18f6ce6 New iBCS2 code from Scott. 1994-09-05 01:08:43 +00:00
mycroft 584de55692 Missed an iobase that should be u_short. 1994-09-05 00:21:40 +00:00
pk cdca6c22c4 Don't clobber our input arguments. 1994-09-02 08:13:20 +00:00
mycroft 6c66af544c Fix some ugly code. 1994-09-02 05:12:12 +00:00
jtc b3b55d02f1 Misc changes to make this file more like the asm.h headers used by other
architectures:
	Renamed _C_FUNC() to _C_LABEL()
	Renamed _ASM_FUNC() to _ASM_LABEL()
	Merged _BEGIN_ENTRY with _ENTRY
	Renamed _END_ENTRY to _PROF_PROLOGUE

When assembling with profiling enabled, set up stack frame before calling
mcount() in _PROF_PROLOGUE.  Also omit emitting .long 0's, as they are no
longer used by the profiling code.
1994-09-02 05:02:47 +00:00
mycroft b1f0fa317e Decrease shm_nused when a segment is deleted. 1994-08-31 21:47:36 +00:00
chopps bf10f9424c cleanup diagnostic messages 1994-08-31 02:13:01 +00:00
chopps 41a2d35564 fix uninitialized use of mask. 1994-08-30 23:06:48 +00:00
pk cdf3d1ed89 mknod() must release its new vnode. 1994-08-30 19:42:22 +00:00
deraadt 5aa2f1e6bb remove an un-aligned access 1994-08-30 17:01:57 +00:00
briggs e696d464eb Use vn.h instead of forcing NVN to 0. 1994-08-30 11:04:17 +00:00
mycroft c996edc7e1 Display emulation type. 1994-08-30 06:22:10 +00:00
mycroft 9ea30b3bf3 Check for bad p_emul. 1994-08-30 06:19:44 +00:00
mycroft 227e4cb85c Make sure p_emul is copied on fork. 1994-08-30 06:16:25 +00:00
mycroft 016425e503 Clean up some debugging code. 1994-08-30 05:37:14 +00:00
chopps c7401f5866 catch mis-aligned access errors on the 040. 1994-08-30 05:35:31 +00:00
mycroft 2f710a54ee Convert process, file, and namei lists and hash tables to use queue.h. 1994-08-30 03:04:28 +00:00
mycroft bd61aa9ae3 Add {LIST,TAILQ}_INSERT_BEFORE(). 1994-08-30 03:01:30 +00:00
mycroft f5faab89e9 Use VCALL(), not VOCALL(), and simplify union_advlock(). 1994-08-30 03:01:01 +00:00
mycroft c8899c8f8e Fix an off-by-one error reported by Mike Hartman. 1994-08-30 01:31:11 +00:00
mycroft 90b0e68767 Clean up deleted files. 1994-08-29 23:12:23 +00:00
cgd e67ae11432 no more floppy bins; these now done by crunch. 1994-08-29 23:10:58 +00:00
mycroft f5232de492 Patch to fix `reassignbuf: NULL' messages, from cgd. 1994-08-29 01:47:02 +00:00
mycroft 8bed574dcd Clean up deleted files. 1994-08-26 20:07:34 +00:00