Commit Graph

204297 Commits

Author SHA1 Message Date
dholland
0a54ac30f5 Requires stdint.h. 2011-08-21 21:24:34 +00:00
reinoud
b557c38359 Fix thunk_mkstemp() prototype and add thunk_mprotect() 2011-08-21 17:11:59 +00:00
phx
1cc96bc3f9 The ofppc generic kernel has tmpfs, so use it. 2011-08-21 15:21:46 +00:00
reinoud
35cec24640 Add mmap() reachover call in thunk for NetBSD/usermode 2011-08-21 15:10:57 +00:00
reinoud
65cb12b136 Move NKMEMPAGES from GENERIC to std.usermode and clarify the meaning of
MEMSIZE in the GENERIC kernel.
2011-08-21 15:08:43 +00:00
phx
4875a7e930 Use PRIi64 for printing tmp_ramdisk_size, which is a daddr_t (64 bits).
This fixes the size of the ramdisk file system being 0 on big endian
systems.
2011-08-21 15:06:41 +00:00
reinoud
3ae0c11417 Link the usermode kernel staticly to avoid libc littering the virtual space. 2011-08-21 15:06:27 +00:00
plunky
adb6560b11 fix comment typo 2011-08-21 14:20:34 +00:00
phx
fd263523fc Unmounting /targetroot in md_post_newfs() is not needed.
Use target_prefix() instead of /mnt2 in md_post_extract().
2011-08-21 13:40:08 +00:00
wiz
7b18fe3c86 New sentence, new line. 2011-08-21 13:27:45 +00:00
phx
bdcee66bdc Fixed booting from disks without a valid disklabel (e.g. CDROM). This
became broken with my last changes in rev.1.18..
2011-08-21 13:12:48 +00:00
phx
6c0f30bcde When there is no NetBSD MBR partition with a valid disklabel, look for
the first FAT partition and construct a disklabel with an MSDOS filesystem
in partition 'a'.
2011-08-21 13:08:57 +00:00
plunky
70f971ae4d SEE ALSO resolvconf(8) 2011-08-21 11:04:21 +00:00
hannken
0456a9b514 Fix typo. 2011-08-21 10:45:33 +00:00
phx
7084cee0f3 Turn off ttyE1-ttyE3 to avoid "Device not configured" messages after a
fresh installation with wscons disabled.
2011-08-21 10:41:51 +00:00
jym
e298d4d6a8 Merge err printf with the panic(9) message.
Also fix the if () {...} statement with braces, to avoid calling panic()
every time. Hi cherry!
2011-08-21 10:00:13 +00:00
christos
2ead252a82 use const char [] for format. 2011-08-21 09:03:20 +00:00
christos
93bbed154f use const char [] for format 2011-08-21 08:59:50 +00:00
christos
a040843f47 use const char [] for format. 2011-08-21 08:50:08 +00:00
christos
065954bf9d use static const char[] for format. 2011-08-21 08:45:20 +00:00
christos
8151f99568 use const char [] for format. 2011-08-21 08:40:31 +00:00
christos
7b373c7105 handle the first loop where time == 0. 2011-08-21 06:39:09 +00:00
plunky
342305c4af sort, and move some things up the list after heimdal was moved
to its own directory. removes one dependency barrier.
2011-08-20 22:23:47 +00:00
plunky
89e4ea6a69 only build libgmp, libmpfr and libmpc when (MKGCC != no) and
they can be together since only the .a is built, with no
other dependencies
2011-08-20 22:16:56 +00:00
wiz
5cbea9c38a Fix variable name in SYNOPSIS to match DESCRIPTION.
From Abhinav Upadhyay <er.abhinav.upadhyay@gmail.com>.
2011-08-20 21:35:32 +00:00
reinoud
43567e93f5 Create mkstemp() and sbrk() prototypes to NetBSD/usermode's thunk 2011-08-20 20:14:04 +00:00
jakllsch
08fb9c512d Add rescan support for 'amdtempbus' to x86 pchb(4).
Maybe finally fixes PR#45268.
2011-08-20 20:01:08 +00:00
jakllsch
a99113c4a1 pchb_get_bus_number() is actually public 2011-08-20 19:56:31 +00:00
jakllsch
d3b38f366f Apparently we need to use the attribute and not the device name as the pseudo-root. 2011-08-20 19:53:45 +00:00
jakllsch
08c7a716a6 staticification 2011-08-20 19:49:55 +00:00
jakllsch
90aab468c3 We no longer need to #include "rnd.h". 2011-08-20 19:43:47 +00:00
jakllsch
5cf40ee467 We need to initialize the PCI chipset and device tags in the softc for
the suspend and resume handlers.
2011-08-20 19:06:57 +00:00
jakllsch
2d6c0de58c Add new CAP2 and BOHC registers. 2011-08-20 16:10:02 +00:00
jakllsch
27e7b644fb Adjust and add AHCI_CAP_IS values. 2011-08-20 16:08:07 +00:00
jakllsch
cf1e0aa0e0 Rework version printout to be more future proof.
Rework features printout using snprintb.
2011-08-20 16:03:48 +00:00
christos
6ffa97db52 we need difftime to return a signed result, so clamp the timeval's to
uint32_t but then, return a signed result of their difference.
2011-08-20 14:38:09 +00:00
plunky
a54eea1c06 add print_utf8_string for some profiles that specify UTF-8 specifically,
and supply a print_codeset_string() so we don't need void * casts to avoid
the char ** -> const char ** complaint
2011-08-20 09:18:47 +00:00
mbalmer
4b13dfd0c4 Remove a commented out include and clarify a comment why the timeout
period is ignored.
2011-08-20 07:32:34 +00:00
he
23a3249b3c Put back bus_space_handle_is_equal() and bus_space_is_equal() in
the non-__HAVE_NEW_STYLE_BUS_H case, since bus_proto.h isn't and
can't be included in that case.  Restores buildable state for
ports which don't (yet) define __HAVE_NEW_STYLE_BUS_H.  Also add
comments to preprocessing directives spaced far apart.

OK'ed by dyoung@
2011-08-20 06:00:14 +00:00
cheusov
ebc317e1c8 Minor grammar fix 2011-08-19 11:56:01 +00:00
wiz
5f2ccc052b Remove semicolon at end of #define line to fix build. 2011-08-19 09:46:10 +00:00
christos
73d3221b0e document/fix non-literal format strings. 2011-08-19 09:06:05 +00:00
christos
3ca3bc9b9b PR/45257: Ryo Shimizu: ping(8) prints bogus round-trip times after Year 2038
Clamp all time computations to 32 bits; idea from dsl@
2011-08-19 08:35:40 +00:00
christos
8a88450abf remove unneeded non-literal format string 2011-08-19 08:26:20 +00:00
christos
27ad4d2bf8 fix non-literal format strings (Paul Goyette) 2011-08-19 08:25:07 +00:00
tteras
cbb586e05f Allow inherited remote blocks without additional remote statements to
be specified in a simpler way. patch by Roman Hoog Antink <rha@open.ch>
2011-08-19 05:36:47 +00:00
matt
5f7da46ddf Need pci_machdep_common.c now 2011-08-19 02:18:26 +00:00
riastradh
0ed1cdc740 Add test for `ln -s / foo && cd foo'. 2011-08-19 01:25:27 +00:00
riastradh
4b12d41728 No more xfail for PR kern/36681. 2011-08-18 21:44:55 +00:00
riastradh
b4d52ac6e6 Fix tmpfs_rename locking.
Fixes PR kern/36681.  tmpfs now survives dirconc, all our vfs/tmpfs
tests and rename races in atf, and a bunch of hand-written tests
that I'd commit if atf didn't find them highly indigestible.

ok dholland
2011-08-18 21:42:18 +00:00