Commit Graph

239231 Commits

Author SHA1 Message Date
christos
cdf86847f5 refactor the utf code so that it does not leak memory. 2015-12-02 04:07:11 +00:00
christos
d1f209293e split out into smaller functions. 2015-12-02 04:06:47 +00:00
christos
c94670c3be use the utility function. 2015-12-02 04:06:10 +00:00
christos
b8bf2c7dc6 Don't bother calling log for values <= 1... XXX: should use ilog() instead.
Fixes vax.
2015-12-02 02:04:06 +00:00
christos
4270ff4bc4 Skip protective MBR early too. 2015-12-02 01:09:49 +00:00
christos
b732231137 - write a function to set the entity, so that we don't reset to guid.
- entry 0 means create entry.
2015-12-02 01:01:55 +00:00
pgoyette
a1258c3a17 By default, don't display the module load address. Add a -k option
to restore display of this field.
2015-12-02 00:56:09 +00:00
sjg
b35a5f4c5f Fix evaluation of defined(FOO) and ${FOO} > 0
add a unit-test to catch it.
2015-12-02 00:28:24 +00:00
pgoyette
953cd232a2 Ooops, remove a local change that wasn't supposed to be committed. 2015-12-02 00:07:35 +00:00
pgoyette
5097a34028 Add new compat_netbsd32_mqueue module to sets lists. 2015-12-01 23:59:16 +00:00
pgoyette
816dbf35c5 Create new compat_netbsd32_mqueue module, and descend into subdir to
build it.
2015-12-01 23:58:19 +00:00
pgoyette
f25397daa3 Regen for new compat_netbsd32_mqueue module 2015-12-01 23:57:19 +00:00
pgoyette
1a0fa34dd3 Prepare for new compat_netbsd32_mqueue module to be split out of
compat_netbsd32.  Refactor the COMPAT_50 code related to mqueue,
and update the syscall definitions.  Remove dependency on mqueue
from the compat_netbsd32 module (the new module will gain this
dependency).

Continuation of work on PR kern/50489
2015-12-01 23:56:43 +00:00
pgoyette
5151d1f84b Properly mark netbsd32_mqueue.c to depend on 'options MQUEUE'
Yes, MQUEUE is included in all kernels by default, but it can be removed.
If it is removed, the compat_netbsd32 module should not include it, either.
2015-12-01 23:38:34 +00:00
christos
0f004afe33 merge command line parsers and check all memory allocations. 2015-12-01 23:29:07 +00:00
christos
1c8d6ff1b4 Reflect reality better; we don't handle multiple devices anymore, and
the partitions option is only for the commands that support it.
2015-12-01 22:49:25 +00:00
joerg
be2d9aaa80 Don't set TOOL_GREP to something which doesn't exist, just use the host
tool for now.
2015-12-01 22:18:26 +00:00
jmcneill
0faea1444b replace 2292MHz entry with 2316MHz 2015-12-01 22:08:13 +00:00
christos
bbb4a8ab26 refactor more duplicated code. 2015-12-01 19:25:24 +00:00
nonaka
4f3e6067a8 regen 2015-12-01 17:48:41 +00:00
nonaka
8eb23bcb3f Added CENTURY CT-USB1HUB. 2015-12-01 17:47:37 +00:00
christos
6fb89396f8 automatically enforce readonly for the commands that don't need to write. 2015-12-01 16:33:55 +00:00
christos
8ca93e4658 Refactor the command dispatching and help printing logic. 2015-12-01 16:32:19 +00:00
jmcneill
02e69b9876 There is no user space control for this with cpuctl(8) as far as I can tell. Remove all references to it. 2015-12-01 12:07:41 +00:00
roy
62322cbffe Note import of dhcpcd-6.9.4 2015-12-01 10:36:15 +00:00
msaitoh
95bb303660 Add Intel 100 Series chipset's devices. 2015-12-01 10:08:03 +00:00
msaitoh
98758a1b29 regen. 2015-12-01 09:37:17 +00:00
msaitoh
3ea351c27a Add Intel 100 series chipset devices from "Table 2-1. PCH-H Device and
Revision ID Table, Intel 100 Series Chipset Family Platform Controller
Hub(PCI) Datasheet".
2015-12-01 09:36:52 +00:00
pgoyette
888fc8fcff Finish up with the new compat_netbsd32_nfssrv module by adding it to
the sets lists.

This set of commits together should address PRs kern/50410 and kern/50486.

This is also the first of several new modules to be created in response to
PR kern/50489
2015-12-01 09:15:57 +00:00
pgoyette
d8aa6e0165 Descend into new compat_netbsd32_nfssrv directory for new module, and
remove netbsd32_nfssvc.c from the original compat_netbsd32 module.
2015-12-01 09:13:57 +00:00
pgoyette
1b56eccb90 Add MODULE infrastructure to netbsd32_nfssvc.c, remove dependency on it
from netbsd32_mod.c
2015-12-01 09:12:23 +00:00
pgoyette
0e6c55b2f5 Regen. 2015-12-01 09:10:49 +00:00
pgoyette
bbb252d733 Mark the nfssvc syscall as auto-loadable from the compat_netbsd32_nfssrv
module (to be committed shortly).
2015-12-01 09:10:03 +00:00
christos
0b43d398b9 Firs step of refactoring, remove all globals, factor out some common code,
handle alternate usage but not advertise it.
2015-12-01 09:05:33 +00:00
msaitoh
d92e2f3208 regen. 2015-12-01 08:40:34 +00:00
msaitoh
6554242ba8 Add Intel Core 6G devices from datasheets. 2015-12-01 08:40:06 +00:00
martin
868ff37cc2 Remove some diagnostic/debug messages. 2015-12-01 08:22:30 +00:00
sjg
69ecbee5a0 Avoid calling brk_string() and hence Var_Export1() on
empty strings.
2015-12-01 07:26:08 +00:00
pgoyette
ae0a7f84e1 Regen 2015-12-01 02:21:17 +00:00
pgoyette
bc3c0dc251 Adapt to per-emulation syscall_autoload capability (the table of syscalls
that can be autoloaded is currently empty).
2015-12-01 02:20:43 +00:00
christos
68bc3825b8 - use gpt_msg to print informational messages (perhaps these should be printed
only with -v)
- don't print any messages with gpt_msg if quiet
- print a message if we didn't reconfigure the wedges
2015-12-01 02:03:55 +00:00
christos
835e6be8c3 only update the wedge information if it is supported. 2015-12-01 01:49:23 +00:00
pgoyette
69dab31c79 Finish the rename from sc_auto --> sc_autoload
(Thanks, brad harder)
2015-12-01 01:19:02 +00:00
pgoyette
217b023ed5 Rename "autoloadprefix" variable to "emulname" - suggested by christos@ 2015-12-01 00:58:29 +00:00
pgoyette
54a32217dd Regen 2015-12-01 00:27:17 +00:00
pgoyette
176d3ea77e Only cast to (void) if the type is NOERR 2015-12-01 00:25:58 +00:00
sjg
1c3d99f499 Use lstat(2) if we have a link, incase it is a symlink.
Patch from bdrewery at FreeBSD.org
2015-11-30 23:37:56 +00:00
pgoyette
b781d540c9 KNF - Thanks, christos 2015-11-30 23:34:47 +00:00
pgoyette
135af292eb Finish the regen - some of the files from sys/kern got committed
accidentally with the fix to makesyscalls.sh - sorry about that.
2015-11-30 23:28:31 +00:00
pgoyette
08f7ea41a8 And now fix the actual syntax error. :( 2015-11-30 23:27:27 +00:00