Commit Graph

84172 Commits

Author SHA1 Message Date
fredette a6e8f6814c Added sun2 pages to section 4 of the manual. 2001-08-17 01:11:10 +00:00
thorpej fae2a1befd Add `show malloc' to dump the internal state of the MALLOC_DEBUG code. 2001-08-17 01:00:10 +00:00
thorpej bbd3d01db5 Artur Grabowski's simple brute-force malloc debugger, which uses
guard pages.  Can only debug one malloc type at a time, and nothing
larger than 1 page.  But can be useful for debugging certain types
of "data modified on freelist" type problems.

Modified from code in OpenBSD.
2001-08-17 00:48:29 +00:00
fredette 1094f3c8dc When asked to set the transfer mode, just call back
immediately, because we don't support that.
2001-08-17 00:24:09 +00:00
bjh21 751e6fa590 Ensure that the stack is aligned to an 8-byte boundary before calling C code.
(ATPCS B-01)
2001-08-17 00:14:38 +00:00
fredette 8b21bb0078 Under DEBUG, have a global buserr_reg that stores the
last value read out of the bus error register.
2001-08-17 00:00:26 +00:00
eeh 73ff12bf97 Bump version. 2001-08-16 23:57:08 +00:00
fredette ba289d7421 Now treat the bus error register as 16-bits wide, even
though it has nothing in the top half.  Reading it as
only 8 bits can sometimes give erroneous values.  Under
DEBUG, also stash the value read in the buserr_reg global,
since the value is only latched until read.
2001-08-16 23:54:31 +00:00
fredette 3a6e3c55cb Added the crucial "packed" attribute to the type 8 frame structure. 2001-08-16 23:45:12 +00:00
augustss a8415c10db Clear busy flag on write error. From PR 13731, IWAMOTO Toshihiro. 2001-08-16 22:31:24 +00:00
tv 0d8e992e48 Use "-t ffs" when remounting rootdev read/write. 2001-08-16 19:14:40 +00:00
tv c98eaba8e8 dhcpd no longer needs the OS_VERSION define. 2001-08-16 18:29:20 +00:00
tv 22207c0806 Add NetBSD rcsids. 2001-08-16 18:03:03 +00:00
itojun 74ad87bc53 gif interface now uses generic software interrupt
(on archs that support it).  also, make gif ALTQ-capable on outgoing.
sync with kame, comments from thorpej.
2001-08-16 17:45:25 +00:00
mrg e6de26d11c include ../../Makefile.inc to set BINDIR. 2001-08-16 16:59:24 +00:00
tv 57c096de20 KNF on previous. 2001-08-16 15:37:06 +00:00
ragge adc0050e52 Trying to get these files out of Attic. 2001-08-16 14:56:30 +00:00
ragge 988a8d9aa1 Trying to get files out of Attic. 2001-08-16 14:55:32 +00:00
itojun fd048b8ff1 avoid symbol conflict with "sin()". 2001-08-16 14:28:54 +00:00
matt 06c22beb4b Copy dhcp file from dist (since it has now moved there.) 2001-08-16 14:27:19 +00:00
wiz 5b9ecbe2eb Fix indentation in switch statement, per kern/13725 by seebs. 2001-08-16 13:37:32 +00:00
itojun 62856425b4 $NetBSD$ 2001-08-16 07:48:08 +00:00
itojun 8b8734d26b string length audit (use strlcpy). sync with latest kame ALTQ. 2001-08-16 07:45:35 +00:00
itojun 733748c930 we have never supported lzs. sync with kame 2001-08-16 06:39:09 +00:00
matt 9c82a67f2b Add a MID_88K (note that it's different from OpenBSD's since their value
for 88K is our value for SPARC64).
2001-08-16 05:06:35 +00:00
mhitch 03a1fb67a2 These need to be PIC, so restore the .abicalls and .cp* magic, but fix the
.cpload so it works correctly (requires the address of the .cpload in the
designated register).
2001-08-16 04:06:35 +00:00
simonb 9a68629ca6 Enlarge the stack frame to 16 bytes, and store the return address 8
bytes in instead of at the start, to leave room for a .cpload to store
the gp at offset 0 in the frame.  Allow 8 bytes for each (for mips64
one day...).

.cpload overwrite problems noted by Michael Hitch.
2001-08-16 03:44:46 +00:00
fredette aeb5917f66 Made prom_putchar and prom_putstr use the PROM putchar
function instead of framebuffer functions.  This makes
serial consoles work again.
2001-08-16 01:47:45 +00:00
chs e9fbc91f95 user maps are always pageable. 2001-08-16 01:37:50 +00:00
enami 79dbd4ba43 Check return value of mkstemp correctly. 2001-08-16 01:00:31 +00:00
rearnsha d47e5736c8 ANSIfy function declarations and prototypes. Tidy up include files.
Minor reformatting.
2001-08-15 22:28:15 +00:00
eeh 0cbe02398a Add support for smaller sector sizes so we can mount ffs filesystems. 2001-08-15 22:21:01 +00:00
mjl d30f9aefd6 Fix typo 2001-08-15 21:34:06 +00:00
rearnsha 0d9806035b Include sys/types.h, sys/callout.h and machine/intr.h. Don't include
sys/disklabel.h or sys/dkstat.h.
2001-08-15 20:27:46 +00:00
eeh f6420907ca Support for raidframe roots. I hope. (Someone needs to test this.) 2001-08-15 20:10:24 +00:00
rearnsha 5bc2f13417 Don't need machine/io.h or machine/irqhandler.h either. 2001-08-15 20:08:46 +00:00
eeh 1cf3d55cda Make the loader extend the data+BSS segment to 4MB so we don't need to
shuffle it around in pmap_bootstrap().
2001-08-15 20:08:15 +00:00
rearnsha 34ab61ef21 Don't include podulebus.h. Do include machine/bus.h. 2001-08-15 20:05:08 +00:00
tv 64263ab596 Revert previous temporarily to deal with PR bin/13722; will revisit this
(and close the PR) after I've located all of the uses of PRINTOBJDIR and
fixed them up not to bork themselves recursively.
2001-08-15 17:50:15 +00:00
atatat 60564f8ed0 Change -a to mean all files, as opposed to just a few more files.
Modify the regex handling so that we can match fortunes in rot13'ed
databases (rot13 the pattern and maintain a second compiled pattern)
and rot13 the rot13'ed fortune before output.

Move the rot13 code to a function since it's now used in three places
instead of just one.

Initialize posfile in one place since it appears to get used without
being initialized when using debugging.

Make a *slight* improvement to the random seeding by squaring the pid
and then xor'ing against the current time, since just xor'ing the time
with the pid will not change if they both advance by one from "odd" to
"even".
2001-08-15 17:25:42 +00:00
uch edcb9ebf0f fix hf_order_flags. 2001-08-15 15:16:53 +00:00
simonb 28a25d9058 _Never_ make a cosmetic change to a comment without test-compiling... 2001-08-15 14:27:00 +00:00
lukem 69124d8ff2 call ffs_sb_swap() with ns=1, otherwise dumpfs core dumps on other endian fses 2001-08-15 05:52:28 +00:00
eeh e31ca9e045 regen. 2001-08-15 05:27:29 +00:00
eeh 950d07bdf7 Use the netbsd32 version of anything that takes args. 2001-08-15 05:18:11 +00:00
eeh 16b1f7aae0 Fix bug in netbsd32_compat_43_olseek return value. 2001-08-15 05:16:59 +00:00
lukem 84958ed05f - implement -F; treat provided filesystems as images in regular files
- replace "filesystem" with "file system" as appropriate
- grammar fixes
2001-08-15 03:54:53 +00:00
lukem d6e3055ff1 minor whitespace cleanup 2001-08-15 03:40:50 +00:00
simonb e77212ece8 Add some MIPS, Alchemy and SiByte CPU PRIDs (from oss.sgi.com). 2001-08-15 03:01:37 +00:00
simonb d1cb410de4 Add Alchemy and SiByte company IDs (from oss.sgi.com). 2001-08-15 02:45:08 +00:00