Commit Graph

199928 Commits

Author SHA1 Message Date
elric
f22e4d20b3 Conditionalise the sqlite3 HDB backend. 2011-04-13 18:23:42 +00:00
elric
ca1c9b0c53 Import latest Heimdal from the head of their git repository into the
new location for externally maintained software.
2011-04-13 18:14:29 +00:00
plunky
7ed121adfb use PRIx64 for printing 64-bit values 2011-04-13 16:22:09 +00:00
macallan
bd3339ab7c pass ${MACHINE} as -D__<whatever> so we can have arch-specific defaults 2011-04-13 16:18:14 +00:00
he
b974c45b30 Move the forward declaration of _sys_readlink() outside of the #if,
so that the build succeeds even if _FORTIFY_SOURCE isn't > 0.
2011-04-13 12:40:54 +00:00
he
d5ffa53ef0 Convert to using -nostdinc, and set include paths and create symlinks
so that we include the source tree's sys/, machine/ and m68k/ headers,
and only as a last resort use DESTDIR's /usr/include.  For some reason
the host's bootinfo.h got included ahead of the x68k variant, causing
a build failure in my case.
2011-04-13 11:10:49 +00:00
he
b2bee2ed8d Explicitly list -lterminfo after -lcurses, to support static builds. 2011-04-13 09:46:38 +00:00
mrg
346b2c62e5 expose the KSTACK_LOWEST_ADDR and KSTACK_SIZE to _KMEMUSER as well,
like the x86 versions do.  for crash(8).
2011-04-13 08:45:00 +00:00
jruoho
b29fd93227 Collect also the division functions to single place, div(3). 2011-04-13 07:12:52 +00:00
jruoho
19606f522d Collect abs(3), labs(3), llabs(3), and imaxabs(3) to a single small page. 2011-04-13 06:56:50 +00:00
jruoho
2ba8acef07 Fix another bug (no 'imaxint_t' type). 2011-04-13 06:41:11 +00:00
jruoho
5bbfa36d7b Fix obvious bug. 2011-04-13 06:35:48 +00:00
mrg
a8fdd2914b move the include sys/types.h xor stdbool.h to the top of the file,
so that "bool" will be present when used later in the file.
2011-04-13 06:29:30 +00:00
jruoho
9d56ec39d7 Split out from ieee(3) also the remainder(3) and copysign(3) families. 2011-04-13 04:57:10 +00:00
mrg
1ed2588de8 re-include sparc64/sparc64/intreg.h in kernel mode. it's necessary. 2011-04-13 03:40:00 +00:00
mrg
bac0b9ea90 export a bunch of things to _KMEMUSER as well.
XXX: should consolidate the curcpu/curlwp definitions.
2011-04-13 03:35:19 +00:00
mrg
1b8d9011dd port to userspace. this needs db_user.h, stddef.h, stdbool.h and not
promlib.h.  put db_read/write_bytes() under _KERNEL.

XXX: for now, provide an empty db_machine_command_table[].

XXX2: this file puts a lot of it under #ifdef DDB, but i'm not sure
why this is done.  for now it makes it easier to port to userspace :)
2011-04-13 03:34:37 +00:00
mrg
9cd3a0ce28 port to userspace. needs <stdbool.h>, <sys/cpu.h>. delete unused
ULOAD().  implement KLOAD() in terms of db_read_bytes() in userspace.
can't use proc_find_raw() in userspace; disable this functionality
for now.  use db_printf().
2011-04-13 03:32:28 +00:00
mrg
4610955cd4 apply s/TRUE/true/; s/FALSE/false/;. needed for userland. 2011-04-13 03:29:03 +00:00
mrg
769de4c56a this needs db_user.h and stdlib.h in userland. 2011-04-13 03:25:35 +00:00
mrg
e090cbd477 install <machine/intr.h> for crash(8).
(we could avoid this, but it would require a lot of contortions that
make the header files ugly.  maybe someone else can figure out a less
ugly way of doing this later.)
2011-04-13 03:24:28 +00:00
mrg
68a527ebb7 this needs sys/types.h in userspace. 2011-04-13 03:22:49 +00:00
matt
26d2331fcb Add prototypes for mipsNN_cp0_watch{lo,hi}_{read,write} 2011-04-12 22:54:31 +00:00
matt
e3051ddc13 Add mipsNN_cp0_watch{lo,hi}_{read,write} 2011-04-12 22:50:33 +00:00
rmind
d641b7ec3c do_ksem_open: do not leak the file descriptor on error path.
sys__ksem_unlink: fix comment, release one lock ealier.
2011-04-12 20:37:25 +00:00
christos
e6eca274ad Fix SSP builds (Vladimir Kirillov) 2011-04-12 19:49:48 +00:00
matt
a4abc0e6c7 Get rid of an errant KASSERT 2011-04-12 18:53:23 +00:00
matt
3d6322997b Dont bother taking out TLBINFO lock in pmap_tlb_asid_deactivate since the
atomic ops will DTRT with it.  Remove spl calls too.
2011-04-12 18:39:38 +00:00
matt
339f90a29b Add __lwp_getprivate_fast 2011-04-12 18:24:28 +00:00
ahoka
4bac4d7a0b avoid a crash when the display size is reported as 1x1
XXX this is hackish, it should be properly fixed instead
2011-04-12 18:10:15 +00:00
ahoka
316bee4dc6 add NAND_BBT 2011-04-12 18:09:11 +00:00
matt
6a9b230111 Add a CHMU handler to implement __lwp_getprivate_fast. 2011-04-12 18:07:57 +00:00
nakayama
20cb9e7fb5 Fix GENERIC_SUN4U build. 2011-04-12 17:46:38 +00:00
matt
34c0bdea1b Fix MKDEBUG set lists. 2011-04-12 17:10:51 +00:00
matt
960a25c780 Add missing ./usr/libdata/debug/usr/tests/lib/libcurses 2011-04-12 17:07:52 +00:00
matt
f126fa1c9a Add support for TLS relocations.
From Joerg Sonnenberger
2011-04-12 16:40:04 +00:00
matt
9b4a6fec19 Add RCSIDs 2011-04-12 16:19:44 +00:00
tsutsui
f84f67c9f4 Make x68k bootloader to use MI libsa, libkern, and libz Makefiles in
src/sys/lib dirs for maintainability.  Tested on X68030, ok from isaki@.
2011-04-12 14:07:35 +00:00
jruoho
90fb5b4eb9 Put asctime(3) explicitly to SEE ALSO. 2011-04-12 13:48:29 +00:00
jruoho
e615e396bd Split out FUNCTIONS to make this tolerable to read. Also improve readability
with lists. Describe the functions in the order of appearance in SYNOPSIS.
Use CAVEATS instead of NOTES. Remove "man page spam". Etc.
2011-04-12 13:46:38 +00:00
mrg
a057421714 include <sys/cpu.h> when using cpu specific info. fixes building
these as part of sparc64 crash(8).
2011-04-12 08:42:12 +00:00
jruoho
72e27957d4 Xref tm(3). 2011-04-12 08:40:34 +00:00
jruoho
47a900e8bc Move some of the discussion from the messy ctime(3) to tm(3). 2011-04-12 08:39:26 +00:00
jruoho
6b4c2634f4 Add a small summary parge for struct tm from <time.h>. Cf. timeval(3). 2011-04-12 08:22:48 +00:00
mrg
95134ba1e2 make sparc/frame.h idempotent. 2011-04-12 07:54:16 +00:00
jruoho
9305ee0c33 Split the nextafter(3) family of functions to their own page and properly
document these.
2011-04-12 07:29:50 +00:00
jruoho
8ee666bc1f .Dv NULL. 2011-04-12 05:41:22 +00:00
cegger
448664b81b previous fix does not work if there is exactly only one entry where continue
exits the loop.
Apply fix from Konrad Wilke on port-xen@
That makes NetBSD DomU boot on Linux Dom0 with xl.
2011-04-12 05:09:32 +00:00
jruoho
28629a5be1 Use RETURN VALUES rather than DIAGNOSTIC for... return values. 2011-04-12 04:55:05 +00:00
jruoho
4767f8f268 Small rewording. 2011-04-12 04:27:02 +00:00