211971 Commits

Author SHA1 Message Date
wiz
f1915787a7 Remove weird markup. 2012-07-01 17:00:32 +00:00
christos
a7743d3cd2 bump date 2012-07-01 16:18:00 +00:00
perry
3f1917e0e7 forgot the "7"... 2012-07-01 16:17:06 +00:00
perry
27021da1cf Add reference to rfc6056.7 2012-07-01 16:09:12 +00:00
nonaka
cd7cbaa2da regen. 2012-07-01 04:21:10 +00:00
nonaka
74ab589a0b Add NTT DOCOMO L-02C entry. 2012-07-01 04:20:26 +00:00
jym
6f78ccc10d Use setter to set xenguest_handles. 2012-06-30 23:36:20 +00:00
rmind
de067e16be trap: move out info printing to trap_print() on amd64, reduce the differences
between amd64 and i386, add lowest kernel stack address.
2012-06-30 23:33:10 +00:00
jym
4b5a093d68 Extend the xpmap API, as described in [1]. This change is mechanical and
avoids exposing the MD phys_to_machine/machine_to_phys tables directly.
Added:

- xpmap_ptom handles PFN (pseudo physical) to MFN (machine frame number)
translations, and is under control of the domain.
- xpmap_mtop is its counterpart (MFN to PFN), and is under control of
hypervisor.

xpmap_ptom_map()      map a pseudo-phys address to a machine address
xpmap_ptom_unmap()    unmap a pseudo-phys address (invalidation)
xpmap_ptom_isvalid()  check for pseudo-phys address validity

The parameters are physical/machine addresses, like bus_dma/bus_space(9).
As x86 MFNs are tracked by u_long (Xen's choice) while machine addresses
can be 64 bits entities (PAE), use ptoa() to avoid truncation when bit
shifting by PAGE_SHIFT.

I kept the same namespace (xpmap_) to avoid code churn.

[1] http://mail-index.netbsd.org/port-xen/2009/05/09/msg004951.html

XXX will document ptoa/atop/trunc_page separately.
2012-06-30 22:50:36 +00:00
christos
cc70084500 add -w as an alias to -m 2012-06-30 21:31:15 +00:00
tsutsui
c0aba6b3c5 Use 32KB/4KB for default block/fragment size on >= 128 GB partitions
for modern AFT disks.  No particular comments against PR install/46629.
2012-06-30 15:34:01 +00:00
reinoud
e631798833 Move i386 and amd64 usermode configurations to their respective directories
and make the usermode kernels buildalbe under build.sh.

The resulting kernels are build and packaged correctly as are the associated
modules.
2012-06-30 15:03:56 +00:00
tsutsui
d1cc886ce4 Fix buffer overrun (off by one). PR port-atari/42717 2012-06-30 12:42:37 +00:00
tsutsui
2c05e4d76c Add a sanity check if secsize returned from getdisksize() isn't bogus.
This prevent possible panic "panic: buf mem pool index 23" later in
vfs_bio.c:buf_mempoolidx().
(I'm not sure if it's okay for getdisksize() to assume that
 partinfo taken from DIOCGPART is properly initialized
 on all disk(9) devices or not)

See also:
http://mail-index.NetBSD.org/source-changes/2012/06/30/msg035298.html
2012-06-30 11:01:41 +00:00
tsutsui
4403aae449 Make sure that disklabel of md(4) device is initialized
in the case where it's configured in MD md_open_hook().

Without this, msdosfs_mountfs() (which is called from msdosfs_mountroot())
will be called with uninitialized disklabel (d_secsize == 0) and
it gets "panic: buf mem pool index 23" later on atari.
This is because getdisksize() doesn't check returned d_secsize value
and msdosfs_mountfs() blindly calls bread(9) with size==0 in that case.

Should be pulled up to netbsd-6 (at least for atari).
2012-06-30 10:52:31 +00:00
tsutsui
72647cb972 Add a dirty hack for atari's ancient installation ramdisk:
Forcibly configure md0, md1, and md2 devices before setroot()
 for atari's traditional "auto-load from floppy on open" md_root device
 which loads installation ramdisk image from floppy.
 md(4) has been changed dynamically configured at first open after 5.0
 and md devices won't appear in "root device:" prompt without this hack.
Tested on TT030.

Should be pulled up to netbsd-6.
2012-06-30 10:37:00 +00:00
tsutsui
916bfee100 Simply use "mount -u" to (re)mount root file system read-write
rather than denoting it using temporary /tmp/.root_writable file,
because it will never be removed if root file system is on floppy.
Fixes PR port-atari/37470.

Should be pulled up to netbsd-6.
2012-06-30 10:20:26 +00:00
jdf
6f43071798 Replace wrong variable type (s/ITEMS/ITEM). 2012-06-30 09:25:55 +00:00
yamt
b4228b70f2 implement descriptor passing. 2012-06-29 13:20:25 +00:00
yamt
46583bd0ea handle realloc failure 2012-06-29 12:51:38 +00:00
blymn
74bbb55e87 * Size argument for memset when clearing cbuf was wrong, cbuf is an array
of char not int so memset was stomping memory past the end of the array.
  Use sizeof properly to correctly determine the amount of memory to clear.
2012-06-29 10:40:29 +00:00
rkujawa
df72fa039f Obtain sc using device_private(), cosmetic changes. 2012-06-28 18:55:03 +00:00
tsutsui
cdf2f43563 Fix typo in __KERNEL_RCSID(). 2012-06-28 17:53:42 +00:00
kefren
690d3837f6 add ldpd rc.d script here too 2012-06-28 16:34:06 +00:00
matt
f892497c8e Don't panic if you can't allocate a contiguous stack for system threads.
Just use a mapped a stack.
2012-06-28 15:28:44 +00:00
abs
927d767b2b drop some blank lines - no functional change 2012-06-28 13:59:55 +00:00
abs
d58ef031eb dependent not dependend 2012-06-28 13:59:25 +00:00
abs
0a805bc0a7 Define and use VS_REGS_KA49 rather than magic numbers. From OpenBSD. 2012-06-28 13:58:21 +00:00
abs
6643654a8a Include racd0 and racd1 on ramdisk 2012-06-28 13:53:49 +00:00
abs
f8f196e8f9 Fix the build by adding (unused) flags argument to perfuse_node_setattr_ttl 2012-06-28 13:53:13 +00:00
roy
d56846af22 Don't attempt to parse a termcap/terminfo string ourselves;
always use tputs(3).
2012-06-28 08:55:10 +00:00
rmind
4940c18bab Fix and update npf.conf(5), npfctl(8) and its usage message. 2012-06-27 23:05:28 +00:00
jdf
6e4b17c46b Small fix: Changed 'Nm .' to 'Nm' (introduced by me before). 2012-06-27 22:57:27 +00:00
jdf
ebac77ef57 Various formatting changes:
* Remove superfluous Pp macro (fixes mandoc(1) warning)
 * use Xr macro instead of Nm where appropriate
 * escape punctuation (so Ic actually 'sees' it) (fixed mandoc(1) warning)
 * remove redundant argument to successive Nm macros
 * remove double spaces

Patch supplied by Bug Hunting.
2012-06-27 22:31:26 +00:00
wiz
f5a8bbde20 Bump date for previous. 2012-06-27 22:23:45 +00:00
jdf
dfc0f5280b Add manpage link entries for libmenu, reformat MAN entry.
On the way, sort the mi list for comp alphabetically.
2012-06-27 22:18:06 +00:00
riastradh
9a313cc58d Clean up #includes in progress(1).
Sort them, omit needless ones, and add omitted needful ones.

Omissions revealed by pilfering the code and trying to build it on
Mac OS X.  We ought to have a better way to reveal these omissions...
2012-06-27 22:07:36 +00:00
riastradh
28dbe22a81 Elaborate and clarify rules about #include order.
ok christos
2012-06-27 22:04:02 +00:00
rkujawa
de1cd7309d PCI memory space access is not buggy anymore. At least not as much as earlier. 2012-06-27 21:35:40 +00:00
wiz
db0ea5f9de Bump date for previous, remove trailing whitespace. 2012-06-27 20:30:52 +00:00
wiz
e85f85f6b0 Bump date for previous. 2012-06-27 20:29:38 +00:00
rkujawa
7f2c857092 Fix Mediator 1200 memory space support. Now it's good enough to drive a Voodoo 3. 2012-06-27 18:53:03 +00:00
sjg
7f9f018fd1 gcc 4.2 doesn't like externs inside functions 2012-06-27 17:22:58 +00:00
manu
d1056538cc Pass the FAF flag to handlers:
- setattr_ttl is updated to add a flag argument. Since it was not present in
  a previous release, we can change its API
- write2 is introduced, this is write with an extra flag for FAF.
- fsync already has the FAF information in a flag and needs no change
- for other operations, FAF is unconditional
2012-06-27 13:25:23 +00:00
cheusov
b6b59f4935 Add new action KAUTH_CRED_CHROOT for kauth(9)'s credential scope.
Reviewed and approved by elad@.
2012-06-27 12:28:28 +00:00
blymn
c915e1430c * Corrected menu drawing when O_ROWMAJOR is not set
* Corrected menu item neighbour calculation so it works when O_ROWMAJOR
  is set and unset.  This corrects item navigation which was previously
  broken when O_ROWMAJOR was not set.

This resolves lib/46620.
2012-06-27 11:53:36 +00:00
blymn
e50cb73fff Extraneous whitespace removal. 2012-06-27 11:39:14 +00:00
cheusov
87e5d7b5fb KNF fix. spaces vs. tab 2012-06-27 10:15:25 +00:00
cheusov
af4f78f198 KNF fix. space vs. tab 2012-06-27 10:06:55 +00:00
cheusov
06aa70f732 Fix a typo. s/seperate/separate/ 2012-06-27 10:02:02 +00:00