Commit Graph

152005 Commits

Author SHA1 Message Date
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
wiz
103401b052 Avoid .No if easily possible. 2006-10-03 02:15:16 +00:00
wiz
8c25a2887d No dot in SEE ALSO. 2006-10-03 02:11:19 +00:00
wiz
4e9ee9f1aa Minor English improvements. 2006-10-03 02:09:36 +00:00
wiz
de593fa02d New sentence, new line. 2006-10-03 02:08:16 +00:00
macallan
9be39536c1 don't run clock interrupt stuff as long as we're cold 2006-10-03 02:07:37 +00:00
wiz
5eebb711b9 Use present tense for device scope, like for the others. 2006-10-03 02:06:28 +00:00
wiz
96227bfb22 Bump date for previous. 2006-10-03 02:04:42 +00:00
wiz
caf900a58e Sync usage with man page (correct program name, sort options). 2006-10-03 02:03:33 +00:00
wiz
c0cd11cf40 Some minor fixes. 2006-10-03 02:02:02 +00:00