Commit Graph

226467 Commits

Author SHA1 Message Date
christos
318c2b5cda PR/48729: Torbjörn Granlund: Avoid negative index in array ref. 2014-04-11 01:49:45 +00:00
pooka
26a5a77234 remove obfuscation macros 2014-04-11 01:03:08 +00:00
christos
7a4471249a PR/48722: David H. Gutteridge: use HOST_SH to execute fixman 2014-04-10 23:28:11 +00:00
pooka
d672154267 Pretend that we have slightly more reasonable stack size limits.
(we don't have stacks, that's why we pretend)
2014-04-10 22:14:03 +00:00
asau
dd8566755f Mark /lib/libnpf.so as a part of NPF to fix builds without NPF (MKNPF=no). 2014-04-10 22:11:57 +00:00
plunky
daae7d153c the value of HOST_MKDEP previously depended on USETOOLS;
make it do so again, and centralise the USETOOLS=no case
into bsd.host.mk
2014-04-10 19:02:18 +00:00
tsutsui
7a138543c8 Fix a botch on switching from apci (and dca) to MI com(4) 10 years ago.
I.e. fix apci device address per FRODO_BASE macro change
in frodoreg.h rev 1.2.  Now bootloader works with serial console
on HP425e (which has only com at frodo).

Thanks to miod@openbsd for providing his 425e.
2014-04-10 18:10:09 +00:00
wiz
49f7bce00f Mention the word 'inode' next to st_ino so it's easier to find.
Bump date.
2014-04-10 17:11:15 +00:00
skrll
6fac70af06 Fix a typo - it's "#define". Use defined(foo) rather than just foo in
preprocessor conditional.

ok matt@
2014-04-10 16:07:50 +00:00
matt
5c53644782 Address PR/48710.
r3 is not trashed during the routine so the level is preserved.
The only two real bugs was not initializing r3 to 0 to start with L1 cache
and the invalid fetching the set count from r3.  The mov r1, #0 should have
been mov r3, #0 and has been corrected.
Instead of two shifts, just use ubfx to extract the set bits and then compare
them to 0.
Add some other minor optimizations that make the code a little clearer.
2014-04-10 02:55:13 +00:00
matt
ffe8c21fa8 change cortex_cpufunc to armv7_cpufuncs. CPU_CORTEX -> CPU_ARMV7 2014-04-10 02:49:42 +00:00
matt
28043ab4c2 emit VERBOSE_INIT_ARM 2014-04-10 02:48:40 +00:00
matt
58a0a0c4d3 Fix pasto. 2014-04-10 02:45:55 +00:00
matt
6950cdf3f9 Fix pmap_extract to deal with non-4KB pages. 2014-04-10 02:45:02 +00:00
matt
829b3baa31 Deal with non-4KB pages properly. 2014-04-10 02:44:05 +00:00
pooka
ef453332be add aio driver as rump kernel component 2014-04-10 00:09:08 +00:00
pooka
885b424da9 regen 2014-04-09 23:57:26 +00:00
pooka
9f45fed20c rump kernel wrappers for aio syscalls 2014-04-09 23:55:37 +00:00
pooka
9c11b5da42 implement lwp_create() and a few related interfaces.
main raison d'impalerment: the aio driver
2014-04-09 23:53:36 +00:00
pooka
0bb4e2ffe3 properly handle forward declarations for pointerpointer arguments 2014-04-09 23:50:45 +00:00
pooka
8866e45838 initialize exec_lock 2014-04-09 23:49:27 +00:00
riastradh
ff5a6b7097 Take vp->v_interlock before vdead_check in lfs_bmapv.
XXX This code is a pile of bodge that needs a serious rototill anyway.
2014-04-09 22:44:15 +00:00
riastradh
418e8d3033 Don't forget ZFS_EXIT after ZFS_ENTER. 2014-04-09 22:41:38 +00:00
riastradh
c83470498f Try vflush, which may fail, before we mark the file system mounted. 2014-04-09 22:40:32 +00:00
hans
48aeb48f14 Fix build of non-debug kernels, mark err __diagused in uart_enable(). 2014-04-09 21:02:31 +00:00
hans
559c010510 Fix build in non-debug kernels, mark eopi __diagused in cpsw_start(). 2014-04-09 20:52:14 +00:00
matt
3e5d1facf8 Use new IRQ_SPI/GIC_MAXSOURCES macros.
Fix comments.
2014-04-09 19:50:01 +00:00
christos
cb8da48e03 Since the objcopy -x removes debugging symbols, delay that if we are building
debugging libraries and do the stripping with the debug symbol separation
step.
2014-04-09 19:23:09 +00:00
matt
5512cc69f8 add helper macros. 2014-04-09 16:59:53 +00:00
christos
eec8658016 change -x to OBJCOPYLIBFLAGS like everywhere else. 2014-04-09 16:29:08 +00:00
apb
288496e5c0 Send a "nop" metadata message to the postprocessor every few seconds,
to flush partial output lines.  This should help with PR 48714.
2014-04-09 12:45:05 +00:00
apb
11bfaf8d26 Add comments about the intended use of each type of metadata message. 2014-04-09 12:38:09 +00:00
hkenken
93a0c86786 delete trailing whitespace 2014-04-09 12:35:34 +00:00
maxv
77641d7c26 'error' is not set on failure. Which means that if copyout() fails, 0
will be returned while the stack is not ready. This is a bug.
2014-04-09 11:40:03 +00:00
msaitoh
85fa0a0ce4 regen 2014-04-09 10:21:35 +00:00
msaitoh
2a1318ce34 Add yet another 82599 device 2014-04-09 10:21:10 +00:00
msaitoh
45e3fc1817 regen. 2014-04-09 08:34:55 +00:00
msaitoh
471bce113d - Add some Ivy Bridge devices from the document.
- sort by device ID.
2014-04-09 08:34:32 +00:00
hkenken
59f1bd2b6a NetWalker kernels boot again.
* Enable __HAVE_MM_MD_DIRECT_MAPPED_PHYS
* Change VM layout
* Use common start-up routine
2014-04-09 04:00:50 +00:00
riastradh
a86b8eb298 Remove FFS_NO_SNAPSHOT from x86/ALL so we do compile the snapshot code. 2014-04-08 22:04:15 +00:00
riastradh
2bc8e883f2 Add COMPAT_NETBSD32 and COMPAT_LINUX32 to amd64/ALL. 2014-04-08 21:51:11 +00:00
martin
984bb88b85 Make it compile again - partly from PR 48727 by Henning Petersen. 2014-04-08 21:51:06 +00:00
riastradh
de767a095e Enable options VND_COMPRESSION in amd64/GENERIC. 2014-04-08 21:08:36 +00:00
christos
b1909c04e2 add ixg 2014-04-08 19:40:57 +00:00
christos
283b2561a0 Add dell's flavor (from uwe, in current-users@) 2014-04-08 19:39:06 +00:00
christos
79c480ed3b From Ilya Zykov: Unbreak kernfs which was broken by this commit
|Make the spec_node table implementation private to spec_vnops.c.
|To retrieve a spec_node, two new lookup functions (by device or by mount)
|are implemented.  Both return a referenced vnode, for an opened block device
|the opened vnode is returned so further diagnostic checks "vp == ... sd_bdevvp"
|will not fire.  Otherwise any vnode matching the criteria gets returned.
|No objections on tech-kern.

The effect was that ls /kernfs appeared empty in most cases.
2014-04-08 17:56:10 +00:00
jakllsch
71ea5458bc Use <sys/stdarg.h> on NetBSD. 2014-04-08 17:55:18 +00:00
njoly
2dbac6d46c Regen. 2014-04-08 16:49:25 +00:00
njoly
903adfd827 Adjust read/write/readv/writev signature to match native versions. 2014-04-08 16:48:01 +00:00
christos
8e3bf1eb2b make this more attractive (to me). 2014-04-08 15:34:18 +00:00