Commit Graph

212508 Commits

Author SHA1 Message Date
rkujawa c4a9ef4dc0 Update tdvfb(4) man page to match recent update of this driver code. 2012-08-03 21:40:34 +00:00
rkujawa 920a653678 X-Surf attachment changes 2012-08-03 21:25:46 +00:00
matt 09c4ddf597 If any argument of a syscall is a pointer, set SYCALL_ARG_PTR as a flag. 2012-08-03 18:08:01 +00:00
matt b226e13dca include <arm/arm32/machdep.h> 2012-08-03 15:59:04 +00:00
matt 8983b69e7f Remove uneeded declarations. 2012-08-03 15:56:06 +00:00
pooka 932ef25ea7 force-terminate commname 2012-08-03 14:52:31 +00:00
pooka ff9b6e73ac no need to include code which is already provided by the faction base 2012-08-03 14:27:02 +00:00
rkujawa a06ac903b3 Declare physmem extern. It is actually initialized in amiga_init.c
(using RELOC). Discussed with martin@ and is@. Probably similar fix should
be applied to other m68k ports, but amiga is the only m68k machine I have.
2012-08-03 13:14:20 +00:00
pooka 04c76d7616 reregen 2012-08-03 12:42:10 +00:00
pooka 3c09f0a002 Forgot this one from previous commit. It too is needed for syscallargs.h
on rumpclient on !NetBSD.
2012-08-03 12:41:13 +00:00
pooka 0dbefb0fc2 regen 2012-08-03 11:32:55 +00:00
pooka fa3922be63 Make librumpclient compile and work on Linux. This is accomplished by:
1) avoid "NetBSD'isms" in the rumpclient sources
2) do not require the knowledge of unnecessary weird_t's in syscallargs.h
   for rumpclient
2012-08-03 11:31:33 +00:00
christos 3351729a81 only announce fetching vulnerabilities file if we do. 2012-08-03 10:52:46 +00:00
kiyohara ba9c08beed Add ub to KERNEL_SUFFIXES. 2012-08-03 09:11:31 +00:00
matt 8639f283be Adjust ALIGNBYTES32 depending on __ARM_EABI__ 2012-08-03 08:11:40 +00:00
matt 4d4aee085b Initial MKCOMPAT support for ARM EABI. (doesn't quite work right) 2012-08-03 08:02:47 +00:00
matt f8fa482c66 Emit a note for EABI programs. 2012-08-03 08:01:42 +00:00
kiyohara 3c453cf6bc Remove unnecessary property 'xore-irq-begin'. 2012-08-03 08:01:35 +00:00
matt d6c05ec64c Each ARM port needs a copy of this. 2012-08-03 08:00:17 +00:00
matt 9fae3660d0 COMPAT_NETBSD32 support for ARM. Which is strange since ARM is already
32-bits.  But the newer ARM ABI AAPCS changes the alignment of 64-bit
fields so structures need to copied in and out to deal with the alignment
change.  This is a kludge but makes debugging of AAPCS support much easier.
2012-08-03 07:59:22 +00:00
kiyohara 576b2b8edd Fix to assert. We call to strncpy(), if r3 of args is valid from u-boot. 2012-08-03 07:56:37 +00:00
matt 2051fb7586 Add a elf note to describe the ARM ABI in use. If encounters on arm,
set EXEC_ARM_AAPCS bit in exec_package's ep_flags.
XXX kind of gross but it there's isn't a MD hook for notes so ...
2012-08-03 07:54:14 +00:00
matt 0745a95c9d Only do COMPAT_NETBSD32 stuff if _LP64 2012-08-03 07:51:21 +00:00
matt 7a84f3ad29 Only set EXEC_32 if on LP64 platform. 2012-08-03 07:49:18 +00:00
matt 13efa83b82 compat_mod is also needed by compat_netbsd32 2012-08-03 07:41:47 +00:00
matt e8a22c6586 Add a missing .set noreorder 2012-08-03 06:06:44 +00:00
macallan f3a407118e machfb's memsize is in MB, glyphcache_init expects bytes. doh. 2012-08-03 01:23:32 +00:00
rmind c6beecf3ad bpf_filter: remove unnecessary memset(), add a comment. 2012-08-02 20:13:24 +00:00
christos 020a6ad2d4 - move debugging functions to vcoda so modules with -DDEBUG link
- fix writing to coda files. this is probably not the right way to do
  this, but it satisfies the locking protocol:
	1. Sometimes coda_open() is called with an unlocked vnode which
	   does not satisfy the locking protocol. Lock it for now. We
	   need to find out why this happens
	2. VFS_VGET sometimes returns the container vnode unlocked. What
	   is the locking protocol for VFS_VGET? We also lock it here.
2012-08-02 16:06:58 +00:00
skrll 1c15ddd361 Remove irqframe and replace with identical trapframe. 2012-08-02 15:56:06 +00:00
matt 834f7f1974 Also supprese printing fatal traps if the process is being debugged. 2012-08-02 14:07:47 +00:00
matt 5565c9eb97 Also supprese printing fatal traps is the process is being debugged. 2012-08-02 14:06:34 +00:00
matt 333fcdec75 Supress print fatal traps if the process is being debugged of it the signal
will be caught by a signal handler.
2012-08-02 14:03:22 +00:00
matt 331e204f59 Only print fatal trap info if the resulting signal would be uncaught.
(this avoid the messages from libcrypto when it probes for capabilities).
2012-08-02 13:50:14 +00:00
joerg 0645d95b42 Prefer sysconf to obtain number of CPUs. 2012-08-02 12:43:41 +00:00
matt cfc228abff Export <net/bpf_jit.h> and add to the set lists. 2012-08-02 01:16:36 +00:00
rmind 41d7966e90 Add struct bpf_insn tag. 2012-08-02 01:05:05 +00:00
rmind 24e587649b Build fix for some ports. 2012-08-02 00:40:51 +00:00
matt 5737b10fcb Add missing paren. 2012-08-02 00:22:32 +00:00
macallan 96245bbb0f add support for anti-aliased fonts 2012-08-02 00:17:44 +00:00
rmind 020768e659 Mention BPF JIT. 2012-08-01 23:39:12 +00:00
rmind 1f86dc56b4 Add BPF JIT compiler, currently supporting amd64 and i386. Code obtained
from FreeBSD.  Also, make few BPF fixes and simplifications while here.
Note that bpf_jit_enable is false for now.

OK dyoung@, some feedback from matt@
2012-08-01 23:24:28 +00:00
matt 3ed93c309d Move fill to between spsr and r0 so that the registers will be dword aligned.
Adjust PUSH/PULL macros accordingly.
2012-08-01 22:46:07 +00:00
matt c901e54902 bump symtab_space 2012-08-01 22:28:10 +00:00
matt 143ca138fb Add a machine splhist command to give (a incomplete) spl history.
(only the most recent are going to be accurate).

splraise(6) from 0 at 549214603
splraise(7) from 6 at 549214643 (+40)
splx(6) from 7 at 549214691 (+48)
splx(0) from 6 at 549214730 (+39)
2012-08-01 21:30:21 +00:00
matt 73fa065a77 Add diagnostic code emptyidlespin verifying that the current IPL
is IPL_NONE and EE is set in the MSR.
2012-08-01 20:35:52 +00:00
matt 8c3b0a4f45 Export dump_trapframe. 2012-08-01 16:35:50 +00:00
matt 261130358b Fix a problem where the kernel could randomly reset due to a watchdog event.
When an exception happens, the srr0 (exception PC) was being saved in the
normal location of the current callframe.  This was fine except when the
routine was in its prologue after it had saved LR but had not yet updated the
stack pointer or when the routine was in its epilogue after it has restored
the stack pointer but not yet loaded the LR.  In either case this would cause
the LR to be corrupted (either running the routine forever or by branching
to itself forever).  Now we save and restore the contents of that memory
location so the corruption can't happen.
2012-08-01 16:19:42 +00:00
martin 3fb72627c8 Define _POSIX_SPAWN in unistd.h and also provide its value via sysconf(),
as required by posix since we support posix_spawn().
2012-08-01 15:24:22 +00:00
kiyohara d5489b899d Add OPENBLOCKS_A6 (Plat'Home OpenBlockS A6). 2012-08-01 10:50:05 +00:00