Commit Graph

213492 Commits

Author SHA1 Message Date
ast
0b98a54c44 Make sure that the "to fix, run: ..." instructions actually work cut-and-paste
By default postinstall has mode 644 so /bin/sh or similar needs to be prepended
2012-09-22 09:20:06 +00:00
matt
c19c02a3a4 Add busaddr to paddr routine and use it.
cleanup the PREREAD sync case.
2012-09-22 01:48:50 +00:00
matt
84bc5974e2 Add interrupt/iwin/owin / netbsd_configure code. 2012-09-22 01:47:46 +00:00
matt
4432170774 PCIE each have 6 interrupts 2012-09-22 01:46:57 +00:00
matt
afa4d29a1a Add a few more PCIE registers 2012-09-22 01:46:31 +00:00
matt
df4c4d2c87 Before testing for VFP, make sure CP10 is enabled. (And CP11 for Neon too). 2012-09-22 01:44:12 +00:00
matt
ee6cde04ff Don't use an asm in pmap_activate to update the TTBR, use cpu_setttb instead
but add a second argument to it to indicate whether the TLB/caches need to be
flushed.  Default cortex to pmap_needs_fixup = 1.  But check the MMFR3 field
to see if the fixed can be skipped.
Use a cf_flag bit 0 to indicate whether the A9 L2 cache should disable (bit 0 = 1)
or enabeld (bit = 0).

With these changes, the A9 MMU can use traverse caches to do MMU tablewalks
Also, make sure all memory has the shareable bit for the A9.
2012-09-22 00:33:36 +00:00
matt
1e069ddadf Add a 'mach fault' command to print DFAR/DFSR/IFAR/IFSR/TTBR 2012-09-21 22:12:35 +00:00
joerg
852c4daa51 Don't use NODEV when comparing against a major number as this is an
impossible type mismatch.
2012-09-21 16:38:54 +00:00
pooka
bf01f875b4 For the rumpsp protocol, don't assume that the bit representation of
errnos match on the client and server platforms (the syscall subprotocol
errnos are handled by the server compat code).
2012-09-21 14:33:03 +00:00
matt
5cb635c383 Switch to the generic bounce buffer support. 2012-09-21 14:21:57 +00:00
ginsbach
e382c60d0d Add APIPA 2012-09-21 14:10:14 +00:00
ryo
4829c4fc5e adapt for _UC_TLSBASE.
Approved by manu@ and msaitoh@
2012-09-21 09:05:08 +00:00
martin
ed03c01997 Fix npf module paths 2012-09-21 08:42:33 +00:00
wiz
79e4d034f8 Mention that gcc-4.5.4 was imported and that 4.7.2 is out. 2012-09-21 08:15:08 +00:00
macallan
8672c8bb4a support anti-aliased fonts, glyph caching etc. 2012-09-21 01:07:44 +00:00
msaitoh
ba5d11d6ea Fix device timeout problem.
- Change the synching order of descriptors. First, sync descriptors except
  first and then sync the first descriptor.
- To recover from an race condition, reduce the if_timer from 5 to 1 and
  when timeout occur write MVGBE_TQC_ENQ bit again.
2012-09-21 00:26:15 +00:00
gdt
d2966f6e1d Fix whitespace (mostly removing trailing).
This commit changes only whitespace (trailing, tabs vs spaces,
removing spurious newlines).  From Bev Schwartz of BBN.
2012-09-20 23:50:05 +00:00
jdf
fb0c167f53 Correct name of the less version.
Patch provided by Snader_LB (Freenode).
2012-09-20 21:16:48 +00:00
christos
9db5ca4e66 add back old options for compatibility, but complain if specified. 2012-09-20 18:56:05 +00:00
matt
240c6212f1 sc_ahci_cap should be uint32_t 2012-09-20 17:53:48 +00:00
pooka
4a0516d44f sort stubs, remove autonamespacing and add some signal-related ones
I missed yesterday
2012-09-20 17:50:42 +00:00
pooka
ef4e0c03f8 regen 2012-09-20 17:47:05 +00:00
pooka
c189ace80c alias rump_sysent to sysent, since the linux compat code wants to
access it (it calls ptrace, so 0 practical impact here, though).
2012-09-20 17:46:21 +00:00
pooka
c978e80017 fix EXTERNAL_TOOLCHAIN build 2012-09-20 15:50:20 +00:00
abs
b094e520e2 strip trailing whitespace - noted by Snader_LB on IRC 2012-09-20 15:48:54 +00:00
abs
d9fad0ab37 regen 2012-09-19 23:40:03 +00:00
abs
5b8d7483de Adjust postinstall recommendation syntax. based on comment from Snader_LB on IRC 2012-09-19 23:31:36 +00:00
wiz
cd3709ae09 Fix string_to_flags prototype. From Brooks Davis in PR 46986.
Bump date.
2012-09-19 23:22:56 +00:00
abs
0d98e4a0de strip trailing whitespace 2012-09-19 23:08:37 +00:00
abs
62356763f1 Fix inverted logic description for MKSTRIPIDENT.
Noted by Snader_LB on freenode IRC
2012-09-19 23:06:22 +00:00
pooka
4020d08ae4 gen (without re) 2012-09-19 21:46:46 +00:00
pooka
fd245ed303 Add the first attempt at rump kernel support for Linux clients. This has
been lightly tested with unmodified networking applications with both
the client and server on a 64bit le host.  Unlike the standard Linux
compat libs where args and syscalls are swizzled around, this compat
lib only massages the arg data types due to the assumption that syscall
numbers come from librumpclient (via librumphijack) and therefore match
the native NetBSD numbers.
2012-09-19 21:45:40 +00:00
bouyer
830daf9925 Note mfi(4) ioctl pass-through 2012-09-19 21:26:17 +00:00
pooka
cc9292b397 regen for ppoll (and, apparently, SYCALL_ARG_PTR) 2012-09-19 21:24:36 +00:00
bouyer
f2b31f39d0 Add a pass-through ioctl for mfi(4), allowing userland to send raw commands
to the controller. This is compatible with the linux and FreeBSD
implementations.
Add the needed conversion for mfi ioctls in COMPAT_LINUX
Allocate a character major number, and create /dev/mfi0 by default
on amd64 and i386.
This allows (along with a hand-created /emul/linux/proc/devices file)
to run the MegaCLI linux binary provided by LSI.
2012-09-19 21:24:28 +00:00
pooka
c44c9c4953 emulate ppoll which is essentially our pollts 2012-09-19 21:19:14 +00:00
jdc
f5f7a747ec Use the PROM mapping for the clock, if it exists.
Allows the clock on the Tadpole SPARCle to attach.
Idea from r1.43 of OpenBSD sys/arch/sparc64/sparc64/clock.c
2012-09-19 20:34:57 +00:00
christos
41a9f0e839 Does not make sense to mount this as NFS, so it is not a bug.
We can now mount multiple instances, but all of them show all the ptys.
2012-09-19 15:38:09 +00:00
blymn
a76c5dee4e * Add scanw family function calls as input functions 2012-09-19 11:51:56 +00:00
blymn
d537772cd3 * Fix mvscanw return
* Fix the *vline family of calls, one argument is chtype not int
2012-09-19 11:51:08 +00:00
martin
b5a8984a94 Define ISCSI_HTONLL6 and ISCSI_NTOHLL6 (6 byte network byte order accessor
macros) dependend on host endianess.
Spotted by mhitch, unfortunately not enough to fix iscsi-target problems
on sparc64.
2012-09-19 08:42:52 +00:00
matt
8837651bdf Use .inst instead of wfe/sev to shut up gas. 2012-09-19 07:57:14 +00:00
bsh
83e4b25f70 make Netwalker kernel compile again.
from Kenichi Hashimoto.
2012-09-19 07:28:38 +00:00
jdc
7d8c465d7e Match the Altera ebus bridge, as found on the Tadpole SPARCle. 2012-09-19 06:55:25 +00:00
wiz
77b80f1a55 less-451 out. 2012-09-19 06:54:04 +00:00
macallan
c7431f2fa3 some older powerbook keyboards use the same scancode for the power button as
later ones send on Fn-Command - now we look for that 'special' scancode only
on keyboards that actually need it
2012-09-19 04:55:06 +00:00
christos
c209ba9c66 let us get mounted multiple times. 2012-09-18 23:42:52 +00:00
christos
7097f02a88 remove -c and chroot option; they are always on now 2012-09-18 21:35:43 +00:00
christos
381769fc11 Always do the chroot filename mapping; it is pointless not to do it. 2012-09-18 21:33:55 +00:00