Commit Graph

82303 Commits

Author SHA1 Message Date
dogcow
52a142f555 fix typo in utterly uncompilable code. 2006-07-25 00:10:42 +00:00
elad
05eb39fb84 replace magic numbers for strict levels (0-3) with defines. 2006-07-24 21:32:39 +00:00
elad
32e391d158 finally do things properly. veriexec_report() takes flags, not three ints. 2006-07-24 21:15:05 +00:00
manu
a640310a53 typo 2006-07-24 19:01:49 +00:00
gdt
cf30106955 Add UGEN_BULK_RA_WB, requested by cube@. 2006-07-24 17:41:30 +00:00
elad
5d611badde some fixes:
- adapt to NVERIEXEC in init_sysctl.c.
  - we now need "veriexec.h" for NVERIEXEC.
  - "opt_verified_exec.h" -> "opt_veriexec.h", and include it only where
    it is needed.
2006-07-24 16:37:28 +00:00
kardel
587059915b get tickle_tc() prototyped unconditionally 2006-07-24 16:37:24 +00:00
elad
93a2eaef51 prevent removal of monitored files as early as ids mode.
okay blymn@
2006-07-24 16:27:15 +00:00
gdt
f9f3dc0a85 Add UGEN_BULK_RA_WB, which allows users of ugen(4) to request read
ahead and write behind, improving performance for the Universal
Software Radio Peripheral (USRP) used with GNU Radio.

Enable UGEN_BULK_RA_WB in GENERIC and GENERIC_LAPTOP; behavior is
unchanged unless the new ioctl is called.

This code was written by Joanne Mikkelson under funding from DARPA's
ACERT program.

ok'd by christos@, tested by Berndt Josef Wulf
2006-07-24 14:24:48 +00:00
drochner
53f4a934ae revert previous (executable mapping of data needed for secondary CPU
spinup), this is not needed anymore
2006-07-24 10:57:13 +00:00
drochner
b5d3716437 Set the "NXE" bit (if available) early, before the cpu_info struct
is accessed. Without this, the (secondary) CPU chokes on the NX bit in
the PTE.
2006-07-24 10:55:25 +00:00
ad
f474dceb13 Use the LWP cached credentials where sane. 2006-07-23 22:06:03 +00:00
kent
6f99efd46f For ThinkPad T60, make the default value of outputs.linein.dir "output" 2006-07-23 16:05:21 +00:00
bouyer
d252c65e9c Add a /dev/amr* control file for amr(4) devices, which allows sending raw
commands to the controller.
Add a amrctl(8) control tool, which for now only allows to get status
from the adapter (status of adapter, logical volumes and and individual
drives).
From FreeBSD, with some adjustements by Andrew Doran and me.
2006-07-23 12:01:25 +00:00
uwe
68272cc770 tlb_exception: Move and indent TLB_ASSERT to reduce visual clutter.
Fix function name in the panic message.  Print expevt on panic.
Split panic message so that the dumped numbers are on a separate line.
2006-07-22 22:43:43 +00:00
uwe
3ed02eac7c exp_type[] was constified in exception.c but an extern declaration in
db_interface.c was not updated.  Declare it publicly.  While here,
constify the array itself too.
2006-07-22 21:58:29 +00:00
tsutsui
84180e1158 - reorganize bootinfo structures and fix bootinfo handling in bootloader
(mostly based on pmax)
- pass symbol info from bootloader to kernel via bootinfo
  (currently bootinfo is allocated in the bootloader and
   copied by kernel later; maybe we should rethink about this)
- use passed bootinfo to initialize ksyms(4) in kernel
- remove options SYMTAB_SPACE from kernel config files
- bump bootloader version
2006-07-22 18:15:05 +00:00
rpaulo
25ec6d007f revert stuff that shouldn't have gone in. 2006-07-22 17:45:03 +00:00
rpaulo
f5f6aa2ed3 TCP RFC is 793, not 783. 2006-07-22 17:39:48 +00:00
martin
a4cb6f93d2 Remove unused variable to make it compile again. 2006-07-22 15:09:09 +00:00
tsutsui
6efaa65c79 Add "-I${S}/../common/include" to CPPFLAGS for libprop sources in libkern.
XXX: shouldn't this be handled by sys/lib/libkern/Makefile.inc?
2006-07-22 14:11:35 +00:00
elad
e2706baefd kill a VOP_GETATTR() we don't need for veriexec. 2006-07-22 10:40:49 +00:00
elad
a92c1615a4 deprecate the VERIFIED_EXEC option; now we only need the pseudo-device to
enable it. while here, some config file tweaks.

tons of input from cube@ (thanks!) and okay blymn@.
2006-07-22 10:34:26 +00:00
elad
a6e0095c33 oops, no 'p' here. from xtraeme@. 2006-07-22 09:59:24 +00:00
elad
7e7591e119 if LOCKDEBUG, assert that we can sleep in kauth_authorize_action().
discussed with yamt@ on tech-kern.
2006-07-22 09:24:25 +00:00
elad
6f83bb0086 don't call kauth_authorize_generic() when holding a lock, from yamt@. 2006-07-22 09:22:21 +00:00
yamt
54a9d2b0f7 - genfs_getpages: in the case of PGO_LOCKED, check if we can acquire
g_glock as suggested by Chuck Silvers on tech-kern@.
- genfs_rel_pages: handle PGO_DONTCARE so that it can be used for the above.
2006-07-22 08:49:13 +00:00
yamt
f9458a6ba1 - in genfs_getpages, take g_glock earlier so that it can't be
intervened by truncation.
  it also fixes a deadlock.  (g_glock vs pages locking order)
- uvm_vnp_setsize: modify v_size while holding v_interlock.

reviewed by Chuck Silvers.
2006-07-22 08:47:56 +00:00
tsutsui
83d364980f TAB/space cleanup. 2006-07-22 06:58:17 +00:00
tsutsui
ecc22258ee - remove parentheses from return
- remove trailing spaces
2006-07-22 06:42:41 +00:00
tsutsui
999dc402f0 KNF, remove register decls 2006-07-22 06:40:44 +00:00
tsutsui
9b4ab881f1 - include <m68k/m68k.h> for fputype decl
- some KNF
2006-07-22 06:40:20 +00:00
tsutsui
2bf43cdfa1 remove __P(), ANSIfy, KNF, use pmap_t rather than struct pmap * 2006-07-22 06:37:27 +00:00
tsutsui
2895c250c2 KNF, ANSIfy, remove register decls 2006-07-22 06:36:06 +00:00
tsutsui
4d891ed888 KNF and misc cosmetics 2006-07-22 06:34:41 +00:00
tsutsui
f430313b2d - remove unused decls.
- remove parentheses from return arg
2006-07-22 06:32:17 +00:00
tsutsui
c15c158ffc KNF, ANSIfy, de-__P(), bzero() -> memset() 2006-07-22 06:27:00 +00:00
uwe
acfbe0b252 Report traps from user break controller as ksi_code = TRAP_TRACE 2006-07-22 03:22:15 +00:00
uwe
2e7b010133 Minor cosmetics. 2006-07-22 03:06:56 +00:00
uwe
43d9f78e91 Using "irq" in different functions to either x or 1<<x is confusing.
Rename.
2006-07-22 02:13:06 +00:00
uwe
c50fbd7f2b We don't need to update HD6446X_NIMR when (dis)establishing an
interrupt as splx will update it from the recomputed mask anyway.
2006-07-22 01:53:49 +00:00
uwe
485a350c1b hd6446x_intr_priority_update: simplify. 2006-07-22 01:34:55 +00:00
uwe
e8ceae81ee Shave off one instruction in hd6446x_intr_raise. 2006-07-22 01:16:16 +00:00
gdamore
b846198ad4 Initial implementation for Marvell 88E6060 10/100 5-port PHY switch, from
Sam Leffler, used in various products including AR5312-based designs.  This
is not enabled in any configs yet, nor tested by anyone other than Sam.  I
will be testing this more later, and adding it to appropriate configs once
I have verified (unless someone else beats me to the punch.)
2006-07-21 23:55:27 +00:00
tsutsui
b6558b0616 Use bus_space_map(9) and bus_space_vaddr(9). 2006-07-21 18:40:58 +00:00
tsutsui
a75de8e2db Use more proper macro. 2006-07-21 18:11:01 +00:00
tsutsui
3c612311d0 Use bus_space_map(9) and bus_space_vaddr(9) rather than iomap(). 2006-07-21 18:05:30 +00:00
kent
15c376e363 * azalia_init_corb()
No need to confirm CORBRPRST is set even with ICH6/ICH7
2006-07-21 17:30:26 +00:00
gdamore
01f0465721 Regen. 2006-07-21 17:20:59 +00:00
gdamore
e3a079b540 Update ADMtek pci device ids to match data sheets. While here, add the 9513
device (although I've never seen one, I have a datasheet for it. :-)
2006-07-21 17:20:20 +00:00