Commit Graph

1317 Commits

Author SHA1 Message Date
matt 27980172f6 Add the types needed by the new locale code. 2001-01-13 03:48:26 +00:00
ragge 2987c0474d Fixes from OpenBSD by Brandon Creighton. (bjc@openbsd.org)
Log message from OpenBSD:

> - add EMODD emulation (EMODF) -- this fixes modf() and some libm code
>   on systems which don't have native EMODD (i.e., most of them)
>
> - big cleanup of the getval_* stuff - have one routine doing most of the work
>   instead of four doing the same thing
>
> - add some miscellaneous routines -- count sig. bits
>
> - add more operand addressing modes (still not all fully implemented)
>   both the existing POLYD and EMODD can use them
>
> - add me to copyright
>
2001-01-08 22:08:22 +00:00
takemura c5fd828440 replace 'long long' with int64_t to compile stand alone program with
compiler other than GCC.
2001-01-03 10:08:55 +00:00
matt 4622cfafe0 Redefine the memset/memmove/bcopy/bzero/memset macros to use more agressive
constraints in their inline asm.  Gcc generates much better code now.
2001-01-02 04:03:42 +00:00
matt ab88a97d88 de-__P. cleanup the whitespace a bit. add a very small optimization. 2000-12-31 19:41:41 +00:00
matt 143230cc74 Rename arithflt to trap. Change trap label to Xtrap. This is due to that
arithflt is really the trap handler so call it that.
2000-12-31 19:27:24 +00:00
ragge de50d468c9 Do not touch pv_table when mapping/unmapping I/O registers. This caused
mmap() of framebuffers to give unpredictable faults.
2000-12-31 11:16:55 +00:00
matt 625392adca improv the stack trace by printing the fp at the start of each line and
noticing trap frames, and printing that information as well.  For example
Stack traceback :
0x87ba2bc4: _arithflt+0x1a7(0x87ba2cac)
0x87ba2c50: trap type=0x8c code=0x8 pc=0x800008ef psl=0xc00000
0x87ba2c1c: _copystr+0x23(0x8095f378,0xa539f,0x86c0bd20)
2000-12-31 05:52:48 +00:00
matt d962f9c52e Add a kludge that makes stack tracebacks work. 2000-12-30 20:16:34 +00:00
matt 8a55dd0d98 Make this compile without having a SMG device. 2000-12-30 20:15:02 +00:00
matt c03997bb51 Make this compile again. 2000-12-30 20:11:54 +00:00
jdolecek e9e91a0fb5 split off thread specific stuff from struct sigacts to struct sigctx, leaving
only signal handler array sharable between threads
move other random signal stuff from struct proc to struct sigctx

This addresses kern/10981 by Matthew Orgass.
2000-12-22 22:58:52 +00:00
tsutsui cb7f7c7f3b Remove "rnd is EXPERIMENTAL" comments. 2000-12-19 15:51:47 +00:00
bouyer c71f40d166 Add pseudo-device vlan 2000-12-19 10:42:02 +00:00
jdolecek cacec11253 delete obsolete comment 2000-12-17 15:52:39 +00:00
matt 3d9cc98e9a Add VAX 4000/200 2000-12-10 03:37:56 +00:00
matt f7b27589e3 Enable VS4000/90 SCSI controller in INSTALL kernel. 2000-12-07 01:24:25 +00:00
ragge f8a6a4ce46 Add lkkbd/lkms/fonts, remove lkc. 2000-12-02 17:18:54 +00:00
ragge 2f2f3de2ed Recent lkkbd/lkms/lkc changes. 2000-12-02 17:15:37 +00:00
ragge cfcd7e9e98 Use lkkbd. Add hardware cursor support. Use wsfont fonts instead of the
old QDSS fonts (support not finished). KNF cleanup.
2000-12-02 17:14:00 +00:00
ragge 3321363123 Remove lkc, add lkkbd/lkms support. 2000-12-02 17:09:43 +00:00
ragge a81d92ef69 Add prototype. 2000-12-02 17:08:32 +00:00
ragge 37bfa1d6e8 Add fusword() + a MP change. 2000-12-02 17:07:55 +00:00
ragge e392e575c1 lkc is gone, long live wskbd. 2000-12-02 17:07:27 +00:00
matt ca7a0ec817 Make this compile again. 2000-11-24 09:39:37 +00:00
chs 197f7aae9c two changes to pmap_enter():
- allow entry of the same mapping that's already there.
   this can happen with UBC.
 - if PMAP_CANFAIL, return failure rather than sleeping
   when we fail to allocate a ptp.
2000-11-21 06:14:40 +00:00
chs 2116915a30 eliminate TRUNC_PAGE() and ROUND_PAGE() in favor of their
lowercase counterparts.  also, a little misc cleanup.
2000-11-21 05:49:07 +00:00
chs c62d17a551 rationalize the use of b_flags for geteblk() buffers.
rather than assigning to the whole field, set or clear individual flags,
which implies that the B_BUSY and B_INVAL flags will remain set.
this allows us to make the assertion in brelse() that B_BUSY is set,
which is the purpose of all this.
2000-11-20 08:24:08 +00:00
matt b605c997e2 Commit changes to SCSI working on the VS4000/9x. "Don't overthink the
plumbing!  Duh!".
2000-11-16 19:25:40 +00:00
thorpej b84f740be0 Move bpfattach()/bpfdetach() calls into ether_ifattach()/ether_ifdetach(). 2000-11-15 01:02:11 +00:00
matt 960800cbb8 Convert some spaces to tabs. 2000-11-15 00:49:31 +00:00
thorpej fb50850754 We use 4K VM pages on the VAX. Make PAGE_SIZE and friends into
compile-time constants.
2000-11-14 19:49:57 +00:00
matt 037cfa6d83 Fix a thinko or two i made a few days ago. I could have sworn i compiled
this. :)
2000-11-09 01:54:20 +00:00
matt b9d975e3d2 NOMAN needs to be *before* we include bsd.own.mk 2000-11-09 01:52:55 +00:00
simonb be1c09c850 Use the canonical RF_PROTECTED_SECTORS #define hack. 2000-11-03 00:30:34 +00:00
matt 2f33599840 Casting lvalues is evil. Do it the right way. 2000-11-02 17:04:28 +00:00
matt ab1d1ef33d Add code to read the disklabel and add the beginning offset for A. Add
support for booting off a RAID root parition.
2000-11-02 17:01:47 +00:00
matt fba0f63c68 Change the way we make machine-links so that only occurs when we are building
on VAX.
2000-11-02 17:00:24 +00:00
ragge 78e81aa036 Remove unused define. 2000-11-02 14:48:51 +00:00
eeh 8c3f6a0d10 Adapt to new line discipline scheme. 2000-11-02 00:37:56 +00:00
ragge 8aed9a24ac Define NO_MID_CHECK, to allow booting of old VAX kernels with other (or
none) mid.
2000-11-01 14:25:38 +00:00
ragge d89e5a54ad Start address must be == 0, otherwise loading on some MicroVAXen will
fail (boot program loaded at address 0 anyway, but tries to start at
the compiled entry point).
2000-11-01 14:06:44 +00:00
ragge a0bc5f5454 Declare revision correctly. 2000-11-01 14:04:28 +00:00
ragge b43932dec2 If a process is locked into memory with mlockall() (like ntpd is)
pmap_enter() will get called trying to wire an already wired page again
if sysctl() is called. To avoid a panic the "wired" check is moved after
the double-mapping check.
2000-10-31 20:15:09 +00:00
matt 76afe54fae add a clarifying comment. 2000-10-18 21:38:52 +00:00
dmcmahill 07f0a9daf8 add '-s' option which will cause the installboot program to recalculate the
16 bit sun checksum.  This flag is needed when making iso 9660 images which
are bootable on both sparc and vax machines.
2000-10-17 22:11:22 +00:00
ragge 7ac8ee6f59 By accident, a previously unused bit in the PTE got used as wired bit.
Because of this kvtophys() of wired pages did set the leftmost bit, causing
the pager to hang while swapping. This is now fixed by using another
free bit in the PTE as wired bit instead.
This fixes PR#11121.

Many thanks to Chuck Silvers that found what the problem was!
2000-10-15 11:00:38 +00:00
ragge de4982c7fa Fix bug that prevented DMA to work on SCSI chain B. This fixes PR#11124
but in a different way than suggested by the submitter.
2000-10-05 07:34:49 +00:00
itojun 9e47af8814 enable rnd device. they are now mandatory for ssh/sshd support,
so it makes more sense to enable it.
please disable them if there's any issues, but in that case, in-tree
ssh/sshd won't work.
2000-10-04 03:35:53 +00:00
abs 2824f4906d Ensure all INSTALL* kernels have two ptys, and a note explaining why:
pseudo-device  pty             2       # pseudo-terminals (Sysinst needs two)
(Some installers may not be using sysinst, in which case this just reduces
the number of ptys from 16 that are not used to 2 that are not used)
For i386 conf files, no change other than comments.
2000-10-02 18:43:34 +00:00