Commit Graph

209812 Commits

Author SHA1 Message Date
dholland
f5d4142b2d Move locator lists to their own data structure. This can use more tidying;
it is not clear to me at the moment what the "string" and "num" values
pushed around in locator lists are supposed to actually mean.
2012-03-11 21:16:07 +00:00
christos
9b25b03245 include the NULL in the argv conversion 2012-03-11 21:15:25 +00:00
christos
75b1bb5aad use arraycount 2012-03-11 21:14:56 +00:00
dholland
25c56bd707 Add some organizational comments 2012-03-11 20:02:55 +00:00
para
046d9aac76 call kmem_free with the right address in hdafg_detach for sc_widgets
the former code let to memory corruption
2012-03-11 19:39:36 +00:00
jruoho
21ea49cf59 Skip the tests even if modctl(2) does not fail specifically with ENOSYS. 2012-03-11 19:33:17 +00:00
dholland
237116305d More naming improvements. 2012-03-11 19:27:26 +00:00
jruoho
0f39d48365 Skip the "simple timeout" test. This test case is known to fail rather
consistently when run in emulated environments such as Qemu.
2012-03-11 19:03:33 +00:00
jruoho
869580eb48 Adjust set lists and mtree. 2012-03-11 18:45:19 +00:00
jruoho
c140670d99 Deprecate tests/util/awk. 2012-03-11 18:38:15 +00:00
jruoho
d4c54b86b3 Move the existing tests from util/awk to usr.bin/awk. 2012-03-11 18:35:59 +00:00
rmind
cd1964dea0 - Save active config in proplib dictionary; add GETCONF ioctl to retrieve.
- Few fixes.  Improve some comments.
2012-03-11 18:27:59 +00:00
he
7a324bfe36 Point first to 6.0 packages, then to packages for 5.1 or 5.0.
The latter have reduced usefullness in -current or netbsd-6 until
we have a compat50 package.
2012-03-11 17:28:47 +00:00
he
50de5b0f94 Can't use Bourne shell syntax here... (Even in comments, for PKG_PATH.) 2012-03-11 17:23:55 +00:00
jym
5b037abc92 Split the map/unmap code from the sync/flush code: move xpq_flush_queue()
calls after pmap_{,un}map_recursive_entries() so that pmap's handlers
handle the flush themselves.

Now pmap_{,un}map_recursive_entries() do what their names imply, nothing more.

Fix pmap_xen_suspend()'s comment: APDPs are now gone.

pmap's handlers are called deep during kernel save/restore. We already
are at IPL_VM + kpreemption disabled. No need to wrap the xpq_flush_queue()
with splvm/splx.
2012-03-11 17:14:30 +00:00
jym
0fbbe336a4 Alternate PTEs got killed a few weeks ago. Clean up unused prototypes. 2012-03-11 16:28:02 +00:00
jym
9506b7bd53 Typo fix. 2012-03-11 16:16:44 +00:00
nonaka
412ca8ab0d fix mmaped offset.
X works on Yeeloong Notebook now.
2012-03-11 15:58:56 +00:00
nonaka
705817db9f path correct device to wsdisplayio_busid_pci(). 2012-03-11 13:57:30 +00:00
gson
d26e197d58 Fix obvious cut-and-paste-o in error message string 2012-03-11 13:14:04 +00:00
shattered
575f4d696a PR/22405 -- extend du(1) to report inode usage. Patch provided by
Jonathan Perkin.

OK by wiz@
2012-03-11 11:23:20 +00:00
wiz
7a488c1ecf Fix typo, now this has a NAME section. 2012-03-11 10:21:25 +00:00
plunky
4dc9c6884a use character escapes for non-ASCII chars, according to mandoc_char(7) 2012-03-11 08:44:45 +00:00
dholland
a551c5e8b7 Create a struct condexpr type to hold condition expressions, instead
of abusing struct nvlist to make trees.

(These are the a|b and a&b constructs.)
2012-03-11 08:21:53 +00:00
dholland
4fbb702df0 Rename a few more things; try to use the same terminology as config(5). 2012-03-11 07:46:47 +00:00
dholland
bbe96a5ad8 Create a new type struct attrlist to manage lists of attributes,
instead of using struct nvlist.

(struct nvlist holds lists (or trees!) of semi-arbitrary stuff with no
structure and almost no type safety; it should go away.)
2012-03-11 07:32:41 +00:00
dholland
720c7fbc2a Strengthen the logic that wraps allocations going on the parser stack.
(This allows cleaning up when a syntax error occurs, because yacc just
dumps the parser stack on the floor.)

The new logic can handle arbitrary data types instead of being limited
to struct nvlist.
2012-03-11 07:27:02 +00:00
riz
4f660bc31a Add bootxx_fat12 to sets, to fix the build. 2012-03-11 06:53:18 +00:00
jruoho
b0fb6f41df And finally, fix boolean logic in the previous. 2012-03-11 06:36:05 +00:00
jruoho
fdacd78abe Fix previous: curiously enough, i386/qemu is not affected, so use the
"system(3) hack" to identify Qemu.
2012-03-11 06:32:53 +00:00
nakayama
9f0e7f1c56 Remove stray comments for LKM. 2012-03-11 06:11:29 +00:00
dholland
285c15fc92 Remove cf_swap, which hasn't been used in a long time. 2012-03-11 05:31:37 +00:00
dholland
cfffb8a2c1 Write out the expression grammar for dependency constraints instead of
using precedence rules. Precedence rules (besides being a hack) often
lead to unexpected/unwanted behavior in corner cases.
2012-03-11 02:56:25 +00:00
dholland
6df4c5ae47 Sort productions in grammar. No functional change. 2012-03-11 02:43:33 +00:00
dholland
70f2148fe7 Simplify some things. Rename some productions for clarity. 2012-03-11 02:21:04 +00:00
mrg
a8568c930a scsidevdetached ioctl path enters scsipi code without kernel lock
and this upsets the newer kasserts.  take kernel lock here.
2012-03-11 02:16:55 +00:00
joerg
7fb18a4a84 Also kill the module build system for ksem. 2012-03-11 01:30:56 +00:00
dholland
60c605bb74 A bit more of previous. 2012-03-11 01:09:42 +00:00
mrg
d87bfdaff5 minor cleanups from usbmp:
- move usbd_delay_ms() into usbdivar.h in the usb_subr.c section
- minor rcsid fixes
- copyright maintenence
2012-03-11 01:06:06 +00:00
dholland
540fdf9f5e Reformat according to (my) basic standards for yacc grammars.
No functional change.
2012-03-11 00:57:44 +00:00
mrg
3ecaef1d4b pull down from usbmp branch:
- remove usbd_bus{} intr_context member, and replace the checks against
  it with cpu_intr_p() and cpu_softintr_p().
2012-03-11 00:34:45 +00:00
mrg
1223b71a2e move IPI debugging all inside DEBUG, but disable it by default. 2012-03-11 00:32:21 +00:00
dholland
f3063ae30c Comments. 2012-03-11 00:14:20 +00:00
mrg
c42ab07995 normalise RCSID handling some. 2012-03-11 00:02:04 +00:00
dsl
34a326a457 Add support for directly booting from FAT12 filesystems.
This shouldn't really be needed except that Linux wont
mount a small FAT16 filesystem - it always treats it as FAT12
even when you tell it otherwise.
There was enough free space before the main FS on the USB stick
I've been using for an extra small FAT fs to boot from.
2012-03-10 23:59:36 +00:00
mrg
cf1caa71e2 remove checks against "!curproc". 2012-03-10 23:01:07 +00:00
christos
65aaee04ca - better printing of type/code flags/mask
- pass the instruction start pointer, instead of subtracting 1 to account for it
2012-03-10 22:55:28 +00:00
christos
7eb40c0f4e definitions used by the disassembler. 2012-03-10 22:22:38 +00:00
christos
a2855f0d2c Add a small disassembler. 2012-03-10 22:21:50 +00:00
joerg
049fba3c32 No more -lrumpkern_ksem. 2012-03-10 21:58:49 +00:00