188397 Commits

Author SHA1 Message Date
darran
0311cbad04 DTrace: remove kern_dtrace.c, no longer used 2010-02-23 22:21:25 +00:00
darran
383b7f700b DTrace: Get rid of the KDTRACE_HOOKS ifdefs in the kernel. Replace the
functions with inline function that are empty when KDTRACE_HOOKS is not
defined.
2010-02-23 22:19:27 +00:00
bouyer
d3b2fb89de Move ahci_channel_start() after BSY has cleared (what seems to matter
here is not touching SError while BSY is asserted). Fix random
behavior (serial console corruption/misfunction, misbehavior of USB
controllers, crasy interrupts crashing the Xen hypervisor, ...)
of Intel ESB2 controller with some brand of hitachi drives.
2010-02-23 21:38:36 +00:00
mlelstv
b4d69db7b5 Use correct offset to block number calculations.
Also change access to filesystem blocks to be done by fragment instead
of by physical block. Fragments are the fundamental blocks of the
filesystem.

For a theoretical filesystem that accesses the disk in smaller units
than stored in mp->mnt_fs_bshift, the assumption might be wrong. But
this will also break other subsystems. The value mp->mnt_dev_bshift
which formerly represents the physical sector size is currently only
virtual in NetBSD (always DEV_BSIZE).
2010-02-23 20:51:25 +00:00
drochner
7abc5be2ce adjust INTERP path for NetBSD (needed eg for -static -pie) 2010-02-23 20:42:40 +00:00
mlelstv
6d6d11f709 Replace individual queries for partition information with
new helper function.
Use this information to query physical sector sizes for WAPBL
instead of hardcoded defaults.
No longer limits physical sector sizes to 512 bytes.
2010-02-23 20:41:41 +00:00
drochner
452834f264 misc fixes and improvements:
-call setlocale(LC_CTYPE, "") before nl_langinfo(CODESET) if the
 locale settings is (still) at "C" - otherwise the CODESET doesn't work
-fix the type of the WACS_* symbols -- this needs to be cchar_t*
-add safeguards where the return value of wcwidth() is used for
 loop counters or indexing -- it can be -1
-use more common code in the widechar support case -- in particular
 let the wchar functions do the work even if chtype ones were called
-implement wcursyncup/wsyncup/wsyncdown
-somewhat experimental: allow ACS_* variables to refer to WACS_*
 table entries -- this way, programs using the old chtype using API
 can use UTF8 line drawing on terminals which support UTF8 but not
 ACS switching
-fix some logics bugs in UTF8 recognition and ALTCHARSET handling
2010-02-23 19:48:26 +00:00
dyoung
d2fb16224c Remove unused functions pci_disable_retry() and cardbus_disable_retry(). 2010-02-23 19:28:00 +00:00
jnemeth
c686421e4b PR/42874 - Henning Petersen -- misplaced } 2010-02-23 16:41:01 +00:00
jnemeth
b006902069 PR/42873 - Henning Petersen -- missing ) 2010-02-23 16:35:06 +00:00
pooka
546515e65b * abort correct endpoint in bulk xfers
* actually free memory in the freem method (well, usually stick
  it to the usb freelist, but same thing)
2010-02-23 14:05:04 +00:00
cegger
14bab12404 check for svm feature flags if cpuid function 0x8000000a is available. 2010-02-23 08:46:33 +00:00
skrll
4931e61023 Mark each object as printed as visited and then print.
Fixes PR/42811.

As a side effect the libraries are printed in, imo, a better order.
2010-02-23 08:23:24 +00:00
martti
f5c6a0c8fd Note that the physical interfaces must not have any (IPv4 or IPv6) address
before attaching them to agr.
2010-02-23 07:02:23 +00:00
cegger
71e3b44a06 dtrace kernel hooks
ok darran@
2010-02-23 06:27:40 +00:00
mrg
fb94e19ed4 change print_dtlb() and print_itlb() to take (tlb_size, tlb_selectbits).
for cheetah, print the 3 dtlb's and 2 itlb's.

now "mach dtlb" and "mach itlb" work for cheetah.
2010-02-23 05:32:08 +00:00
mrg
9b94dc89ff add some bits to set to access all the cheetah dtlb/itlb's. 2010-02-23 05:24:50 +00:00
agc
156f140565 fix a bug in verifying memory.
add two examples to the netpgp(1) manual page outlining how to sign
and encrypt via a pipeline, and how to decrypt and verify/cat using a
pipeline.
2010-02-23 01:24:44 +00:00
cegger
6db342e072 include opt_xen.h 2010-02-23 00:23:36 +00:00
pgoyette
3bb3920ad0 Correct calculation and display of SDR DRAM speed. From OpenBSD.
Fixes PR kern/42736
2010-02-23 00:13:06 +00:00
joerg
839c0958b5 PR 36988: ISO C99 mandates that HUGE_VAL, HUGE_VALF, HUGE_VALL and
INFINITY are constant expressions.

Use the GCC builtins if possible to implement them.
2010-02-23 00:03:09 +00:00
jym
7017a033c7 Remove a duplicate entry for PTE_BASE.
While here, introduce PDP_SIZE and PDE_SIZE. They will be used by asm code
to make it more generic (PAE related).
2010-02-22 23:52:17 +00:00
roy
fde317d2b1 libterminfo can now compile a single terminfo description which allows
$TERMINFO to be a terminfo description as well as a file reference.

This enables the user to modify the terminfo description on read-only
media.
2010-02-22 23:05:39 +00:00
mrg
24e08ad36b move {dump,print}_[id]tlb() into a separate file. 2010-02-22 22:28:57 +00:00
skrll
9882ad0204 Deal with PA2.0 cache move-in rules by purging the TLB as well as
flushing/purging the cache.
2010-02-22 21:32:55 +00:00
wiz
1672306ed2 Punctuation nit. 2010-02-22 20:13:01 +00:00
wiz
959f293b16 Use standard section headers and mark up author with An. 2010-02-22 20:12:23 +00:00
haad
a7a3d3b216 Revert lib_nvpair hack now when it is not needed when njoly@ commited his fix to
bsd.lib.mk.
2010-02-22 20:05:03 +00:00
drochner
ec0c8f12ca Run binaries with ELF_TYPE==DYN at virtual address PAGE_SIZE rather
than 0. This is still not the intent of PIE, but it allows them to
run with VA 0 disabled.
(The PAX_ASLR stuff which should deal with this needs work.)
CV: ----------------------------------------------------------------------
2010-02-22 19:46:18 +00:00
joerg
87faf7cb4f \\ -> \e 2010-02-22 19:20:33 +00:00
pgoyette
4950ef9e4e Forgot to add smscmon here... 2010-02-22 17:27:04 +00:00
pooka
da9a2c25a9 * get UDESC_CONFIG for proper config index
* support UR_SET_CONFIG for root hub
* set port change bits for root hub interrupts
+ cosmetics
2010-02-22 14:47:40 +00:00
pgoyette
ad945e1f49 Correct spelling of smscmon and add (commented out) to GENERICs 2010-02-22 13:42:04 +00:00
njoly
d4da917501 Note shared objects extension change, and stalled files. 2010-02-22 12:35:32 +00:00
njoly
e9915f3b1e Change shared object file extension from .so to .pico, to avoid
conflicts with shared libaries names libXX.so; as recently seen with
MKUPDATE=yes builds for libelf and libnvpair.

All now stalled regular .so files need to be manually removed from
object directories.
2010-02-22 12:33:22 +00:00
tron
c76e590d3d Disable stack protection warnings for "dtrace.c" which uses alloca(3). 2010-02-22 12:21:27 +00:00
darran
e171441276 Prep for building as part of the toolchain. 2010-02-22 11:01:29 +00:00
darran
9583b24e87 Get rid of extra include files added while debugging the toolchain build
problem.
2010-02-22 10:59:08 +00:00
darran
97d3245ff3 Get libelf building in the toolchain again. 2010-02-22 10:48:32 +00:00
tsutsui
5897daadc4 - note about support for the large_file option of ext2fs rev 1
- 32 bit UID and GID support on ext2fs has been added since 5.0
  so remove description about the limitations from BUGS section.
2010-02-22 09:51:11 +00:00
tsutsui
62936fc84a 32 bit UID and GID support on ext2fs has been added since 5.0
so remove description about the limitations from BUGS section.
2010-02-22 09:45:02 +00:00
wiz
08ca7edf14 Comment out crash(8) reference, per PR 10708, until a MI one exists. 2010-02-22 08:41:10 +00:00
dsl
02b1580f48 Fix check for old trap frame layout. 2010-02-22 08:19:38 +00:00
jnemeth
b7e618d6f3 smcsmon.4 -> smscmon.4 2010-02-22 07:55:32 +00:00
jnemeth
b127a52e41 remove accidentally committed et.4/etphy.4 2010-02-22 07:52:52 +00:00
jnemeth
dca0e547d3 fix build breakage -- add new smscmon.4 man page 2010-02-22 07:48:43 +00:00
darran
ec6b20a273 DTrace: missed the opt_dtrace.h include for these. 2010-02-22 06:42:14 +00:00
ahoka
f77631e1d8 Describe SPLASHSCREEN and SPLASHSCREEN_PROGRESS. 2010-02-22 06:10:30 +00:00
ahoka
4c65a125fc Add SPLASH example, like in i386. 2010-02-22 05:59:04 +00:00
ahoka
c14889048f Mention splash need genfb or radeonfb 2010-02-22 05:57:10 +00:00