235145 Commits

Author SHA1 Message Date
jmcneill
cf61db07b7 arg 2GB causing usb issues, re-add __HAVE_MM_DIRECT_MAPPED_PHYS for now 2015-04-26 18:03:48 +00:00
jmcneill
9e89a84a7d disable __HAVE_MM_MD_DIRECT_MAPPED_PHYS so we can use all 2GB 2015-04-26 17:41:33 +00:00
jmcneill
aa39d1df52 handle PMAP_NEED_ALLOC_POOLPAGE 2015-04-26 17:40:59 +00:00
jmcneill
f9baaa4aab ehci registers start at +0x100 from USB base address 2015-04-26 17:14:24 +00:00
jmcneill
eead432ef2 print "HDA" instead of "SATA" at attach 2015-04-26 16:48:00 +00:00
rtr
89539c0d5f return EINVAL if sin{,6}_len != sizeof(sockaddr_in{,6}) respectively in
in{,6}_pcbconnect().

checking just m->m_len isn't enough because there are various places that
assume sa_len has been properly populated.
2015-04-26 16:45:50 +00:00
jmcneill
5e6699a2cf fix bus space handle for ahcisata 2015-04-26 16:41:04 +00:00
jmcneill
4c7784d04d add AHB_A2 to devmap, print SCTLR value in initarm 2015-04-26 16:24:01 +00:00
jmcneill
258f9ff888 isb between TTBCR write and TLBIALL 2015-04-26 16:22:57 +00:00
jmcneill
2e22f644ae KERNEL_BASE_{PHYS,VIRT} are already defined in std.tegra 2015-04-26 16:11:57 +00:00
mlelstv
6f00c789e1 Use C99-style initializers for struct dkdriver. 2015-04-26 15:15:19 +00:00
christos
e9bc88c818 PR/49859: Kamil Rytarowski: Invalid path to amd64nbsd-tdep.c in a comment 2015-04-26 12:44:08 +00:00
maxv
b3625a90bc Not to add even more confusion in an already overcomplicated subsystem,
remove the FreeBSD code. This code is likely to be outdated, and Veriexec
is in all cases not available on FreeBSD.
2015-04-26 09:45:40 +00:00
maxv
a8a116a51a KNF 2015-04-26 09:38:01 +00:00
martin
47a4f7949a Add a new arg to override the value of the "setlistdir" variable (that is:
where the mtree spec files are created)
2015-04-26 09:21:36 +00:00
maxv
3220cb2ac6 Be a bit more verbose if the kernel rejects a file 2015-04-26 09:20:09 +00:00
maxv
90cc9870a6 If we already have an entry for the file being loaded, return EEXIST, don't
silently skip it.
2015-04-26 09:16:06 +00:00
mlelstv
826a26234a Use verrx with a va_list. 2015-04-26 08:56:19 +00:00
mlelstv
e0bd604ced size output buffer for strunvis to include the trailing NUL character. 2015-04-26 08:03:05 +00:00
maxv
0b096b3626 ffs_superblock_validate(): check the size of cylinder groups. 2015-04-26 06:19:36 +00:00
pgoyette
9d05de2fd5 Remove another debug printf() that snuck in. 2015-04-25 23:55:23 +00:00
pgoyette
eb659e1350 Handle early initialization requirements - thanks martin@ and others 2015-04-25 23:40:09 +00:00
pgoyette
66a3d0a3c8 Correctly check return status when registering with pmf 2015-04-25 23:40:08 +00:00
pgoyette
cdddf9f1e9 Fix typo - thanks, riz@ 2015-04-25 23:16:37 +00:00
pgoyette
768d9729b5 Register the sysmon pseudo-device with power management framework so we
can properly suspend the system.

Thanks, mrg, for pointing this out.
2015-04-25 22:46:31 +00:00
wiz
9b0d6e4299 Sort keywords. From dieter roelants in PR 49855.
Bump date.
2015-04-25 22:03:07 +00:00
christos
0e60b6ed86 put back sed, it fits again (and is needed) 2015-04-25 21:44:34 +00:00
christos
74c7e628de make table smaller in size. 2015-04-25 21:43:53 +00:00
riastradh
8eea28f41a kmem_free the container structure, not a substructure. 2015-04-25 21:00:29 +00:00
mrg
eefa02b0a2 don't apply the "don't set CLUT" to RV280. it isn't necessary for
my PCI 9250 card, and hoses the colours in X when running.

unfortunately, my RV250 does need this to avoid the console being
very very dark on black.

i'm curious what other earlier radeon card (anything matching any
of the card marked as:  CHIP_R100, CHIP_RV100, CHIP_RS100,
CHIP_RV200, CHIP_RS200, CHIP_R200, CHIP_RV250, and CHIP_RS300.)


the RV280 now works again properly, but the RV250 is still having
a problem waiting for commands to complete and it appears as if
X is hung, when infact it is asking the kernel quite frequently
if the job it asked for is complete, each time sleeping for a
short time and thus only appearing to take almost no CPU.
2015-04-25 20:50:04 +00:00
maxv
ba6addd357 Make veriexec_renamechk() more readable. Also add a KASSERT on vte_count.
No real functional change
2015-04-25 19:10:29 +00:00
maxv
c4a1e2f31d Instead of duplicating code, add veriexec_fp_status(). Also reorder a
useless goto.
2015-04-25 18:43:13 +00:00
christos
e14eed55d7 kill sed so we fit on one floppy again. 2015-04-25 18:41:55 +00:00
rtr
69b4af1034 make rip_connect_pcb take sockaddr_in * instead of mbuf *
make rip_connect_pcb static since it appears to be used only in raw_ip.c

moves m_len check to callers which is a small duplication of code
that will go away when the callers are converted to receive sockaddr *.
2015-04-25 15:19:54 +00:00
rtr
403dacccdb fix missed parameter type change in dccp6_accept() to sockaddr * from mbuf * 2015-04-25 14:56:05 +00:00
jmcneill
f4d63a19ea Add Amlogic GPIO driver. 2015-04-25 14:41:33 +00:00
wiz
83b7d402c6 New sentence, new line. Bump date for previous. Various minor changes. 2015-04-25 14:27:02 +00:00
christos
d316037622 make things boot again, from martin. 2015-04-25 14:06:58 +00:00
mlelstv
70f54807e4 Explain how the kernel determines the root filesystem from information
passed by the bootloader.
2015-04-25 14:05:43 +00:00
riastradh
f6ff1e4bbc Use explicit_memset to zero key material. 2015-04-25 13:06:11 +00:00
riastradh
1742e3a843 Sprinkle const into cgd crypto API. 2015-04-25 12:55:04 +00:00
maxv
3a53aa923a Don't mix veriexec lock and file lock in veriexec_file_verify().
Now:
 - 'veriexec_op_lock' needs to be held when calling veriexec_file_verify()
 - the 'file_lock_state' argument indicates if the file is locked
 - add some KASSERTs
2015-04-25 09:08:51 +00:00
pooka
a240365213 Add libkvm to list of userspace libraries.
Even though kvm per se isn't support by rump kernels at least for now,
libkvm contains methods such as kvm_getproc2() which can be necessary for
compiling existing applications with kvm awareness as rumprun unikernels.
2015-04-25 08:48:06 +00:00
maxv
0dbfe729f6 KNF 2015-04-25 08:19:06 +00:00
pgoyette
0a6169f944 Use tabs for indentation. 2015-04-25 02:41:42 +00:00
pgoyette
a57c187695 Release the mutex in the error path. 2015-04-25 00:54:14 +00:00
rtr
a031e45cd5 make at_pcbconnect() take sockaddr_at * instead of mbuf *.
move m_len check into callers which results in small duplication of
code that will go away when the callers are converted to receive
sockaddr * instead of mbuf *.
2015-04-24 23:36:48 +00:00
rtr
eddf3af3c6 make accept, getsockname and getpeername syscalls use sockaddr_big and modify
pr_{accept,sockname,peername} nam parameter type from mbuf * to sockaddr *.

* retained use of mbuftypes[MT_SONAME] for now.
* bump to netbsd version 7.99.12 for parameter type change.

patch posted to tech-net@ 2015/04/19
2015-04-24 22:32:37 +00:00
christos
32027a8eea We only need the _cd when we are a module. 2015-04-24 19:49:24 +00:00
riastradh
bbd932f24f Per discussion with board@, remove inappropriate, hostile acronyms.
This reverts changes by rodent@ made without discussion and without
acknowledgement of objections.  Board's commit guidelines include
that changes that could possibly cause anyone to object should be
discussed, and there have been multiple objections publicly and
privately throughout the week.

This also removes some other entries that have been here for some
time that do not belong.  The acronyms file is not Urban Dictionary.
Nobody should expect to see any of these in use around the NetBSD
community, so there is no need to document them here.  If you want
Urban Dictionary, you know where to find it.

Please run any further changes by dholland@, the games maintainer.
2015-04-24 18:03:38 +00:00