cube
c72f004e7c
Rework the way PowerNow! and Cool'n'Quiet features are detected and
...
displayed, to make the code much simpler and easier to follow. Also, use
bitmask_printf() to make output consistent with other stuff. Use
CPUID2FAMILY() where appropriate.
2006-10-04 13:18:10 +00:00
reinoud
14573dd3a8
Fix panic on unmounting VAT file systems. The VAT table was allocated and
...
freed on the wrong malloc type.
2006-10-04 13:03:17 +00:00
pooka
d6ced1d27a
fix slight ooops in previous
2006-10-04 12:39:05 +00:00
reinoud
64f9244532
Fix confusing statement on locking and contradiction in the VOP_RECLAIM()
...
explanation.
It told the node vp would be locked on entry and later told that the vnode
is unlocked on entry and should remain unlocked on exit.
2006-10-04 12:32:53 +00:00
pooka
9852bfb57e
ucred -> kauth sweep
2006-10-04 11:35:47 +00:00
pooka
d3d83351d8
obsolete uvm_coredump.9
2006-10-04 11:29:35 +00:00
pooka
ecf7acf05b
and lo, the uvm_coredump() peril was no more (since almost 5 years ago)
2006-10-04 11:27:45 +00:00
dbj
a8e91bcbd6
fix build issue for !_KERNEL
...
fixes pr lib/34708, credit Henning Petersen via t-online.de
2006-10-04 09:43:45 +00:00
skrll
fa1866d1ca
Sync with the OpenBSD diskubr.c and fix some of our own bugs:
...
- copyright maintenance
- remove all the endian stuff - it didn't work
- correct a comment spello
- use the correct blkno when writing a disklabel
- don't pass garbage from the stack as the disklabel when trying to read
the LIF label in the write label case.
Fixes PR 34547 from David H. Gutteridge
2006-10-04 07:28:00 +00:00
mrg
6ea0a43f25
use call instead of set/jmpl. add an entry point for idle that expects
...
sched_lock to be unlocked, and use this for non-boot cpu's. complete a
comment describing how registers in idle_switch are expected to be set.
2006-10-04 05:00:39 +00:00
mrg
0b76b71214
redo previous: print these int64_t with PRIx64.
2006-10-03 23:39:03 +00:00
mrg
c8ead6a43b
use the same SAVE_LOCALS_INS definition for 32 bit and 64 bit kernels.
...
refactor TRAP_SETUP() a little between these two versions to be more alike.
2006-10-03 23:34:52 +00:00
bjh21
d98bf2904c
Fast write_region_2, which is just the fast read_region_2 with different
...
inner loops.
2006-10-03 23:15:18 +00:00
mrg
ca8f51da8c
use the correct size/type for MP variables (pointers and longs).
...
a 32 bit MULTIPROCESSOR kernel now builds (and crashes quickly.)
2006-10-03 23:05:53 +00:00
mrg
9c88746805
need a (u_long) in the middle to go from 64 bit value to pointer value.
2006-10-03 22:37:51 +00:00
mrg
5552365a11
in pmap_mp_init(), tag & data are 64 bit int's, print them as such.
...
also, fix up some comments and function names.
2006-10-03 22:36:21 +00:00
bjh21
9dc368e353
Clean up read_region_2 code to use fast version under more circumstances, and
...
to always use it aligned on a 4-word boundary. The setup code feels like
it could be sleeker, but I can't currently see how.
2006-10-03 22:27:02 +00:00
mrg
4171072ea1
need an extra (u_long) to convert a 32 bit pointer to a cell_t.
2006-10-03 21:06:58 +00:00
mrg
5e4d079944
ddb_suspend() takes a struct trapframe64 *.
2006-10-03 21:05:46 +00:00
mrg
7aeb862201
cb_cpuinfo member is a paddr_t - make it printable as 64bits in 32bit mode.
2006-10-03 21:05:22 +00:00
mrg
09e5a0bb3a
make get_ncpus() set sparc_ncpus = 1 in the !MULTIPROCESSOR case.
2006-10-03 21:04:47 +00:00
manu
20d3dfdcfa
fix endianness issue introduced yesterday
2006-10-03 20:43:10 +00:00
mrg
71bff15ee0
in the 64bit version of SAVE_LOCAL_INS, s/BIAS/STKB/ to allow future
...
sharing of the 32 and 64 bit versions of the {TRAP,INTR}_SETUP macros.
2006-10-03 20:01:19 +00:00
christos
40a354528b
Coverity CID 3692: Prevent use after free (from Arnaud Lacombe)
2006-10-03 19:06:05 +00:00
christos
45234b0cee
Coverity CID 3690: Add KASSERT to check for reverse INULL.
2006-10-03 19:04:25 +00:00
christos
df9ed85b34
redo previous: It is better to add a KASSERT, since this is code is same
...
with ufs.
2006-10-03 19:01:29 +00:00
christos
b6bf786e1c
Coverity CID 3690: Reverse INULL: Add KASSERT.
2006-10-03 18:59:22 +00:00
christos
e11b3365c9
Coverity CID 3689: dp cannot be NULL at this point, so don't check for it.
2006-10-03 18:54:08 +00:00
christos
b01cc3ff0a
Coverity CID 3170,3171: Add KASSERT.
2006-10-03 18:26:03 +00:00
christos
2b372f902d
Coverity CID 3156: async = TRUE when LFS_READWRITE is defined, leading to
...
dead code. Ifdef the dead code appropriately (from Arnaud Lacombe)
2006-10-03 18:24:48 +00:00
christos
894062c90e
Coverity CID 3061: Add KASSERT (from Arnaud Lacombe)
2006-10-03 18:21:53 +00:00
christos
5dd246492d
Coverity CID 3014: Don't check for NULL after deref (from Arnaud Lacombe)
2006-10-03 18:20:57 +00:00
christos
1bb7c537ad
Coverity CID 3013: Don't check for NULL after deref! (from Arnaud Lacombe)
2006-10-03 18:18:18 +00:00
christos
899418fb0f
Coverity CID 2961: Add KDASSERT (from Arnaud Lacombe)
2006-10-03 18:16:31 +00:00
elad
5cb38e5a6c
Back out previous (p_flag2).
...
In 30 minutes from now Jason Thorpe will come up with an implementation
of a proplib dictionary in struct proc, so adding an int doesn't really
make any sense.
2006-10-03 16:07:12 +00:00
reinoud
21d692155a
Fix memory leaks on mounting and dismounting UDF volumes.
2006-10-03 15:54:03 +00:00
thorpej
eb2acb850f
- Add a reader-writer lock to array and dictionary objects that ensures that
...
the data structure is internally consistent in the face of multiple threads
accessing it concurrently. This is not designed to provide application-
level semantic consistency; applications are responsible for that locking
protocol should it be necessary.
- Rename _PROP_MUTEX_DECL() to _PROP_MUTEX_DECL_STATIC().
2006-10-03 15:45:04 +00:00
tsutsui
c207dcd880
- change find_prom_map() to take paddr_t and return vaddr_t rather than
...
bus_space_handle_t since bus space handle without bus space tag looks weird
- replace old sun3 obio_find_mapping() with new common find_prom_map()
- add bus_space_vaddr(), from hp300
2006-10-03 13:02:32 +00:00
he
adb2b00a4a
Restore inadvertently deleted close-brace by previous change.
2006-10-03 12:50:12 +00:00
elad
f346fbdce9
Until we figure out the Perfect Way of adding flags to processes, add
...
a p_flag2. No objections on tech-kern@.
Input from simonb@, thanks!
2006-10-03 11:23:32 +00:00
elad
b4da713cf5
Back out socket credentials for now, until we figure a better way of
...
handling the reference counting from interrupt context.
2006-10-03 11:15:03 +00:00
yamt
973c582193
sa_switchcall: when giving up an upcall, backout operations correctly.
2006-10-03 09:38:29 +00:00
yamt
41cc94b9f0
remove unused IDLESPINS.
2006-10-03 09:37:07 +00:00
mlelstv
05f80f69b3
avoid signed/unsigned error when computing mask lengths for empty
...
masks with sa_len == 0 (happens for inet6 default route).
2006-10-03 08:30:12 +00:00
simonb
bca6df8e18
Add standard TNF copyright boilerplate.
2006-10-03 08:20:03 +00:00
vanhu
2b72a4f236
remoteid/ph1id support
2006-10-03 08:04:31 +00:00
vanhu
b45c893ef4
Added remoteid/ph1id syntax
2006-10-03 08:03:59 +00:00
vanhu
7d2c6acefd
Parses remoteid/ph1id values
2006-10-03 08:03:33 +00:00
vanhu
dd3c365568
Uses remoteid/ph1id values
2006-10-03 08:02:51 +00:00
vanhu
80d5a8a518
Added remoteid/ph1id values
2006-10-03 08:01:56 +00:00