Commit Graph

125405 Commits

Author SHA1 Message Date
jdc
34e5b04618 Clarify the getch() family return values.
Add (missing) mvgetch() and mvwgetch().
2004-03-23 21:53:34 +00:00
jdc
3d248dff59 Change the values of ERR and OK.
This makes our getch() and related functions conform to SUSv2.
Also fixes PR lib/15920.

XXX: This causes an API incompatability, but comes less than 27 hours after
     the libcurses major number was incremented, so should have minimal impact.
2004-03-23 21:35:29 +00:00
jdc
92cd5d7a66 We should check against NULL here.
From Brett Lymn.
2004-03-23 21:17:20 +00:00
martti
7103cae5ac Do not install ip_fil_netbsd.c as dist/ipf/ip_fil.c 2004-03-23 21:07:47 +00:00
drochner
ab2eb6de06 put the old and the very old syscall glue into appropriate
COMPAT_ conditionals
2004-03-23 19:39:42 +00:00
drochner
35b8d1d3ff initialize the old "int 0x80" syscall only for COMPAT_16/NETBSD32,
and the very old callgate for COMPAT_10/IBCS2
2004-03-23 19:35:16 +00:00
drochner
be0359e629 -don't refer to oosyscall() unless COMPAT_10 or COMPAT_IBCS2 is defined
-improve diagnostic message on bus errors in the TRAP_SIGDEBUG case
2004-03-23 19:09:01 +00:00
pk
8a0244288a Call PIC_PROLOGUE only once. 2004-03-23 19:07:40 +00:00
drochner
d81255df54 some int->ACPI_INTEGER to make it compile on amd64 again 2004-03-23 19:00:03 +00:00
drochner
ea5ee473a8 bump default data size to 256M, enough to build a "-g" kernel 2004-03-23 18:54:32 +00:00
pk
dc7908cc61 Store the correct boolean value in sc_onstack. 2004-03-23 18:54:03 +00:00
pk
5e5e68672c The sc_g1, sc_o0 members in the jmp_buf aren't used. 2004-03-23 18:47:55 +00:00
pk
de8223fe4d Since libpthread may want to interpose signal handling, we can't directly
invoke the sigprocmask syscall trap. So build a stack frame and call
the signal handling functions by name.
2004-03-23 18:46:47 +00:00
matt
a7913cb227 In alpha_ucode_to_ksiginfo, don't adjust ucode since that's already been
done in the FP_C_TO_NETBSD_MASK macro.  Constify a read-only static array.
This should fix regress/lib/libc/ieeefp/except failures.
2004-03-23 18:44:00 +00:00
martti
c3f78782b9 Make ip6_getpmtu() globally visible. This is needed by IPFilter 4.x. 2004-03-23 18:21:38 +00:00
drochner
a8c94ef1d3 simplify: it doesn't need an i387 to kill a sign bit 2004-03-23 17:11:35 +00:00
drochner
3219cdc550 replace the last occurence of an "int 0x80" syscall 2004-03-23 16:33:47 +00:00
drochner
cd85223ee2 save errno while trying to install a !SA_SIGINFO trampoline -- this
is expected to fail with !COMPAT_16 kernels, and we shouldn't
overwrite errno in this case
2004-03-23 16:19:40 +00:00
pk
d82ce85d20 Fix comment: g6 => o1 2004-03-23 16:13:27 +00:00
pooka
c40b96229f Breate some band-aid here: for some reason new autoconf wants to use
$(mkdir_p) which isn't defined anywhere.  So replace it with good ol'
$(mkinstalldirs) to fix problem with tools installation.
XXX: need to revisit this to discover true lossage.

Problem noted by Nick Hudson.
2004-03-23 15:49:53 +00:00
pk
24bb95542f Add openfirmware() entry point. 2004-03-23 15:36:08 +00:00
pk
bfbcd7cff5 prom_pa_location: re-arrange code a bit; use u_long cast to make this compile on 64 bit systems; to do: openfirmware version of this. 2004-03-23 15:29:56 +00:00
junyoung
ff32ba0bff pmap_copy() and pmap_update() might be defined as macros in <machine/pmap.h>. 2004-03-23 14:15:59 +00:00
kochi
2b5897d796 Don't use ACPI CA internal functions 2004-03-23 14:07:42 +00:00
junyoung
fdc32973e7 - Nuke __P().
- Drop trailing spaces.
2004-03-23 13:22:32 +00:00
junyoung
a222c81884 Nuke __P(). 2004-03-23 13:22:03 +00:00
oster
7dc6ce2f91 Ooops.. this free should come at the end of the loop. Thanks
to Juergen Hannken-Illjes for pointing it out.
2004-03-23 13:09:18 +00:00
simonb
2b5fd0669b Actually compile __longjmp14.c. 2004-03-23 12:31:52 +00:00
simonb
02082ea642 Restore the PC as well; also use mcontext register defines for accessing
the mcontext.
2004-03-23 12:31:17 +00:00
martti
695f848b03 Added ip_pptp_pxy.c 2004-03-23 12:23:54 +00:00
wiz
30f8c01691 .Nd should not end in a dot or start with an article;
there is no sleep(9); use Ar for function arguments; mark up
KCL_IPL* and IPL_* with .Dv; restore a "K" that was lost; use
even more .Dq for double-quoted strings; mark up author with .An.
2004-03-23 11:46:59 +00:00
martin
2a62a8f3dd The function prom_pa_location casts magic spells that probably won't
work on 64 bit kernels (and at least do not compile). Since this function
is not used there, #ifndef _LP64 it for now.
2004-03-23 11:40:29 +00:00
he
9d4a1912c3 Undo last, it has unintended consequences (<sys/systm.h> gets pulled
in too early in <sys/param.h>, causing clockframe/intrframe mixup on i386).
2004-03-23 10:50:31 +00:00
he
0e6e2d76d4 If QUEUEDEBUG is defined, we need to pull in <sys/systm.h> in order
to make the panic() prototype visible.
2004-03-23 09:51:48 +00:00
pooka
2665065f87 * be consistent in writable/executable probing
* use stat info properly when checking for regular file
2004-03-23 08:58:47 +00:00
pooka
403033ed50 Hi Julian, it's 2004 now (like it or not) 2004-03-23 08:46:57 +00:00
pooka
725cac9872 file 4.08 2004-03-23 08:45:36 +00:00
pooka
ae16b8b42b update for 4.08 2004-03-23 08:40:36 +00:00
pooka
dab8aad33e conflicts begone 2004-03-23 08:40:11 +00:00
pooka
e3a02bec05 file 4.08: bugfixes 'n more magic 'n stuff 2004-03-23 08:31:19 +00:00
snj
246c4b1ac6 Remove superfluous Nm. 2004-03-23 06:02:48 +00:00
snj
cc1e906a4d Bump date to match date this file was added. Drop trailing space. Clean
up ugly usage of Fn.  Correct Nm usage.  New sentence, new line.  Use Sq
and Dq for single and double quotes, respectively.  Listify.  Slight grammar
fixes.  Fix Fn usage.  Use Nx instead of NetBSD.  Remove unnecessary comma.

Over to you, wiz.
2004-03-23 06:00:08 +00:00
itojun
3811eef49d typo 2004-03-23 05:31:54 +00:00
uwe
8333a3f671 Comment out RTC_OFFSET as now kernel pays attention to timezone
information passed by hpcboot.exe.
2004-03-23 03:48:39 +00:00
uwe
279286c1ad Pass the symbol table to the new kernel. /dev/ksyms now works after reboot. 2004-03-23 03:39:11 +00:00
uwe
7565621829 Set rtc_offset from bootinfo passed by hpcboot.exe unless overridden
with option RTC_OFFSET.  From hpcmips.
2004-03-23 03:36:32 +00:00
oster
bceb7a2778 bufpool must be accessed at splbio(). 2004-03-23 02:34:10 +00:00
simonb
769814bf89 Use setcontext() instead of sigreturn() to implement longjmp(). 2004-03-23 02:21:49 +00:00
simonb
339695cff5 Put the jmpbuf's FPCR in the ucontext, not the other way around. 2004-03-23 01:42:53 +00:00
simonb
270fda2783 Fix <tab> nits. 2004-03-23 01:41:47 +00:00