Commit Graph

120835 Commits

Author SHA1 Message Date
simonb faf6ed6d51 Fix tyop. 2003-11-11 18:29:58 +00:00
manu b6b7d129a1 Added mach_thread_set_state 2003-11-11 18:12:40 +00:00
manu a2bed85761 Implement mach_thread_get_state.
While we are here, try to tag machine dependent functions in header files.
also transformed darwin_ppc_*_state into mach_ppc_*_state, as this is
what they really are (COMPAT_DARWIN is on the top of COMPAT_MACH, not the
other way around)
2003-11-11 17:31:59 +00:00
dsl 5815f1a577 Line up 'Command' and 'Status' strings,
ensure command text doesn't overflow line.
2003-11-11 17:27:13 +00:00
manu 95cc30edca Correctly implement task_suspend and task_resume: the struct proc is
taked from mp->mp_data.
2003-11-11 17:26:32 +00:00
dsl 6a3a05223d Use [*] to match an explicit '*' in shell pattern matches. 2003-11-11 17:25:45 +00:00
martin 4b0b317837 Remove unused variables. 2003-11-11 16:28:59 +00:00
martin 6354cf63d2 Fix register offset calculations. From Christian Limpach. 2003-11-11 16:24:23 +00:00
martin 3e8ef3d56a Fix ucontext conversion macros. From Christian Limpach. 2003-11-11 16:21:05 +00:00
pk bb69a241e8 Remove ancient DDB-dependent `hide/integrate'.
Simplify lewrcsr/lerdcsr; read-back after write doesn't hurt on sun4 so
skip the cpu type test in generic kernels.
2003-11-11 15:01:05 +00:00
manu 6961fe8c08 Fix an unitialized variable bug that caused a crash in mach_task_suspend().
While we are there, resolved another mystery: the unallocated port described
in the comment removed by this commit was in fact allocated by mach_task_pid().
2003-11-11 15:00:09 +00:00
wiz 234b8c45e9 Sort sections and other fixes. 2003-11-11 13:48:50 +00:00
wiz 6b3137c450 Bump date for last changes; remove duplicate "the"; mark up NULL. 2003-11-11 13:41:37 +00:00
wiz ebe7222a9a Fix two typos, and split file system. 2003-11-11 13:36:33 +00:00
wiz 38df162bff Bump date for previous. 2003-11-11 13:34:36 +00:00
scw 9bf3f153c5 Apply a patch from Richard Earnshaw which fixes a half-word load/store
codegen bug on armeb.
2003-11-11 12:04:13 +00:00
dsl 433a97cc58 Set MKDEP_SUFFIXES to get additional targets in .depend instead of using
sed in .afterdepend.  I don't think .afterdepend is used anywhere any more.
2003-11-11 11:43:45 +00:00
dsl cd01ecc4cd Use -- to separate mkdep options from cc ones.
Avoids problems when the cc options start with -fpic.
2003-11-11 11:36:40 +00:00
dsl 8acea4b2c0 Make {g|s|l}crt0.o depend on crt.o and remove the non-standand .afterdepend
translation.
2003-11-11 11:35:03 +00:00
dsl 016359fc65 Make gcrt0.o depend on crt0.o so that it picks up the dependencies from .depend. 2003-11-11 11:32:39 +00:00
augustss b87f6623d3 Regen. 2003-11-11 10:55:32 +00:00
dsl 60dd40c33a Don't rely on mmap giving a NUL terminated buffer.
Let '--' be used to separate options to mkdep from those to cc.
2003-11-11 10:55:24 +00:00
augustss 7e013f13c6 Add a Cypress USB2 hub. 2003-11-11 10:54:56 +00:00
dsl 7037826394 Let -- be used to separate mkdep options from cc options 2003-11-11 10:50:02 +00:00
scw f99d0398fb The previous commit had a #endif in the wrong place. 2003-11-11 08:27:16 +00:00
sekiya b3023f06a5 Rework the boot loader:
* remove dead code,
	* streamline kernel selection logic,
	* various small bugfixes.
2003-11-11 06:47:00 +00:00
sekiya fdf5374e91 Remove unused variables. 2003-11-11 06:42:15 +00:00
sekiya f87a5a5324 Add getopt.c 2003-11-11 06:28:15 +00:00
christos 6dc8df292b KASSERT was not the right thing here. Instead only set the type if f_type
has been inititialized. Reported by pooka
2003-11-11 00:44:16 +00:00
matt 8c60671ca9 Add thread support. 2003-11-10 21:59:58 +00:00
matt 0ef98a7702 Make version 5.3nb1 2003-11-10 21:49:14 +00:00
matt e2bf0dc236 Enable nbsd-thread.
Make version 5.3nb1.
2003-11-10 21:48:48 +00:00
ross 3d7196f4d4 Simplify set(). No functional change. 2003-11-10 21:40:22 +00:00
ross 714ccc9c51 Refix last delta's string copying edits 2003-11-10 21:37:36 +00:00
jonathan b86d07f435 Allocate sysctl oid for ipv4 sysctl node "ifq", define symbolic name, and
bump IPCTL_MAXID. (Should have been committed with other ifq sysctl changes).
2003-11-10 20:50:29 +00:00
jonathan 88ba77e705 Make per-protocol network input queue stats visible to userland via
sysctl. Add a protocol-independent sysctl handler to show the per-protocol
"struct ifq' statistics. Add IP(v4) specific call to the handler.
Other protocols can show their per-protocol input statistics by
allocating a sysclt node and calling sysctl_ifq() with their own struct ifq *.

As posted to tech-kern plus improvements/cleanup suggested by Andrew Brown.
2003-11-10 20:03:29 +00:00
augustss aca1d6163a Add boot(8) for pmppc. 2003-11-10 18:49:14 +00:00
augustss d030d913db Add boot(8) man page for pmppc. 2003-11-10 18:45:58 +00:00
dsl c934ce564a Fix continuation line handling. 2003-11-10 18:43:15 +00:00
augustss 764e974d4e Mention the com ports. 2003-11-10 18:28:45 +00:00
dsl e6dd2bf0d9 Use modified mkdep(1) (not cat) to merge '*.d' into '.depend'.
Allows some of the postprocessing to be done there instead of a separate
sed script called from 'afterdepend'.
2003-11-10 18:21:55 +00:00
dsl 198a6cd602 Make this support the same new options as recently added to the mkdep program. 2003-11-10 17:57:43 +00:00
dsl cffe183eef Add the following options with a view to using 'cc -MD' to automatically
create dependency files:
	-d	process xxx.d files to generate .depend (don't run ${CC})
	-o	add .OPTIONAL: <headers> to output file
	-q	don't print warnins for missing files (with -d)
	-s suf	list of suffixes to replace ".o"
The -s suf should allow all the 'afterdepend' stuff to be killed.
(christos thought this might be a good idea...)
2003-11-10 17:56:38 +00:00
rearnsha 31a79ddeb0 In vm_phsyseg_find, use u_int for start, len and try when doing a
binary search.  Avoids the need for signed division by 2.  Approved
by thorpej.
2003-11-10 16:13:05 +00:00
thorpej 9a0c12a504 Correct the size passed to a malloc() call when performing command
passthrough for userland management tools.
2003-11-10 15:35:39 +00:00
drochner bc80d3e635 Reading the (non-MII) media status if the card is not running yields
"0xffff" (eg on i386) or a machine check (on alpha).
So don't read the status if !(UP&RUNNING).
2003-11-10 12:30:27 +00:00
wiz 87ca9fd3a6 gdb-6.0 out. Mention that some platforms already use 5.3. 2003-11-10 12:08:21 +00:00
itojun f5c2aa04b0 splsoftnet() on spd/sad-dump-via-sysctl to ensure no 2 threads to go into
the function, or entries being removed during the dump operation.
suenaga@iij
2003-11-10 10:52:13 +00:00
dsl c948aa4152 Ensure we use the target disklabel.h, not the host one.
Read the disklabel directly from sector 2 instead of using DIOCGDINFO.
Expect the label to be big-endian.
Support -o append for real files.
2003-11-10 10:48:30 +00:00
fvdl fe6b4c315f Bring back disklabel -B for now, since hp300 installboot isn't ready
for prime time yet.
2003-11-10 09:22:09 +00:00