Commit Graph

143028 Commits

Author SHA1 Message Date
rpaulo ff8e3c8c68 More ktrace-lwp that I got wrong in the first try.
Thanks to Gregory McGarry for pointing this out.
2006-01-29 03:09:19 +00:00
kochi 2564e681ae Merge ACPI-CA 20060113 2006-01-29 03:05:46 +00:00
kochi 13bafec3c5 Import the INTEL ACPI-CA 20060113 2006-01-29 03:02:40 +00:00
rpaulo df794dc9ee Update copyright date. 2006-01-29 02:37:18 +00:00
rpaulo c55faf8987 More ktrace-lwp. 2006-01-29 02:26:27 +00:00
dsl 79bd2ddb02 Update/rewrite to match reality and in a muchmore succinct format. 2006-01-29 00:04:26 +00:00
kleink 2269235d63 Add support for the AMD8111 RNG; from Nicolas Joly in PR kern/32284. 2006-01-28 23:31:24 +00:00
apb c5a4ad0143 Explicitly include ${.OBJDIR} in the definition of CDROM.dir
and CDROM.pathlist.  This probably makes no difference,
but is less confusing.
2006-01-28 21:37:11 +00:00
apb 21078fc390 * Add an "iso-image" target in the top level Makefile,
which invokes make iso-image in the etc directory.
* Add an "iso-image" action in build.sh, which
  invokes make iso-image.
* Document the above in doc/BUILDING.mdoc.
* Re-generate BUILDING.

Approved by christos
2006-01-28 21:34:07 +00:00
dsl db0d69832d Improve disk portability between systems.
- Always look for labels in the first two sectors
- Update all existing labels, but only write new labels to netbsd mbr
  partitions, and the first/second sector of disks that don't have an mbr.
Moving disks between systems still sucks bigtime!
- raw patition is either c or d, if d then c is reserved
- max partitions might be 8 or 16, nothing in the label gives the maximum
- endianness
2006-01-28 19:57:07 +00:00
apb d6b37f8359 No space in "function()", "command;" or "$(command)".
Requested by christos.
2006-01-28 19:01:23 +00:00
apb 13da902879 During an "update" build, if previous versions of a syspkg were already
registered, or if previous versions of the syspkg .tgz file already
existed, then delete them.  Previously, this was a fatal error.

Approved by christos
2006-01-28 18:42:23 +00:00
jdc 80f7b97e43 Wscons terminals only have 8 colours and don't need an NC entry.
Fixes PR misc/32135 by Pavel Cahyna.
2006-01-28 17:38:14 +00:00
jschauma 98cb705797 TMTOWTDI there's more than one way to do it 2006-01-28 16:19:19 +00:00
darrenr 5987976cc1 if db_onpanic is -1, do not invoke any ddb functions at all when handling
a panic.  This allows ddb's behaviour on a panic to be controlled via
sysctl rather than just compiling it in/out.
2006-01-28 14:37:31 +00:00
kleink 39963806e0 Since NULL isn't necessarily available, change CMSG_*() to use the
integer constant expression directly instead.

Fixes a problem in the build of rxvt-unicode-7.2, as reported by
Thomas Klausner.
2006-01-28 13:20:18 +00:00
tsutsui 438f912c45 Fix botch on ANSIfy. 2006-01-28 12:00:56 +00:00
bouyer 8e24dbfd8a Note DDB_COMMANDONENTER option. 2006-01-28 11:54:48 +00:00
dsl 286b8b3f54 Use ${OBJCOPY} -[xX] ${.TARGET} instead of getting the file written to
${.TARGET}.tmp and running ${LD} -[xX] ...
I don't believe there are any architectures where objcopy can't delete local
symbols.
2006-01-28 11:10:18 +00:00
darrenr 04ceeecf05 another documentation update for ddb.onpanic. this time, rewrite it to
refer to options(4) rather than add a new description of what its values
can be.
2006-01-28 08:38:10 +00:00
darrenr 434c8e8a28 document newly introduced behaviour for ddb.onpanic=2 2006-01-28 08:23:28 +00:00
darrenr 76f9e99eec Introduce a new style of behaviour for ddb_onpanic == 2.
When set to 0 or 1, behaviour is normal (today)
When set to 2, kernel will display a stack trace and then enter ddb.
2006-01-28 07:23:37 +00:00
rpaulo e4a54dec0a Reflect reality (ktrace-lwp). 2006-01-28 01:49:58 +00:00
uwe 2894b52ffd Add relevant #include's to get prototypes. 2006-01-28 01:23:16 +00:00
gdamore 75b115aca3 Note that the Au1550 is now a supported CPU. 2006-01-27 23:27:49 +00:00
gdamore de4cbc1b05 Fix improper USB clocking (makes USB work on DBAu1550).
Closes PR port-evbmips/32355.
2006-01-27 23:05:16 +00:00
rpaulo 0c00fd29c5 PR 32653: mrt@notwork.org: remove 'sum += w[0]' left in previous revision. 2006-01-27 20:08:11 +00:00
cdi 4c2e4320bd Alter sparc64 bootstrap, catch up to ofwboot v1.9:
- Accept bootinfo structure passed down from ofwboot v1.9
 - Drop kernel re-mapping code
 - Use permanent 4MB mappings provided by the loader instead
 - Change kernel entry address to point directly at the code instead of pointing
   at the trap table's first slot. This allows the bootloader to detect
   those kernels which are aware of the new boot scheme
 - Due to the changes in kernel mapping code, alter secondary CPU bootstrap
   code to use trampoline just like FreeBSD does (some FreeBSD code is used
   here as well)
2006-01-27 18:37:49 +00:00
cdi 97aa1417ff Alter sparc64 bootstrap:
- Map kernel with permanent 4MB pages to ease kernel's life
 - Pass mappings down to the kernel as part of bootinfo structure
 - Try to detect whether kernel is aware of the new boot scheme or not and
   in the former case map the kernel using OpenFirmware and do not pass
   bootinfo structure
 - Provide -C switch to force compatibility mode if autodetection fails
 - While on this, fix PR #25763: If load of default kernel fails, try one by
   one those specified in compiled-in list

Much inspired by the bootloader of FreeBSD, with some imported code from there.
2006-01-27 18:31:11 +00:00
he a9950f604e Track latest changes elsewhere: free() is now dealloc(), and alloc/dealloc
size argument is now a size_t.
2006-01-27 07:33:47 +00:00
dogcow 957820f961 Regen. 2006-01-27 06:12:55 +00:00
dogcow 23c23e5330 add vendor, Zydas, and product Zydas ZD1211 802.11abg 2006-01-27 06:11:58 +00:00
uwe 991ac5aec7 Call freeall() from chain() to match the code for other ofw platforms.
freeall() is a no-op.
2006-01-27 04:53:22 +00:00
uwe ee90a05a3e Move #ifdef __notyet__ inside freeall() to match sparc and ofppc. 2006-01-27 04:51:47 +00:00
uwe 00323232f7 Sync clean up changes with other copies of ofwboot/alloc.c.
Expand copyright/license by Jason R. Thorpe as in others too.
2006-01-27 04:40:50 +00:00
uwe cfaf325346 Constify kernel names. 2006-01-27 04:34:38 +00:00
uwe 8499e252a7 Use the same code to create machine, sparc and sparc64 symlinks that
../Makefile.buildboot uses.
2006-01-27 04:29:02 +00:00
uwe 257b602df3 Sync with macppc version. Cosmetic changes mostly. 2006-01-27 04:18:39 +00:00
uwe 3182891154 Tell gcc that startup and stack are used. 2006-01-27 04:11:41 +00:00
uwe f77271b258 Get rid of unused variables. 2006-01-27 04:01:04 +00:00
uwe 0ccdbf50cf Include relevant libsa headers to make WARNS=4 happy. 2006-01-27 03:58:27 +00:00
uwe 31affa1b85 Return 0 from net_close. 2006-01-27 03:48:15 +00:00
uwe 6c00e44048 Mostly make WARNS=4 happy.
Same object code generated, except for return 0 in devclose.
2006-01-27 03:43:54 +00:00
elad 2f934347d3 remove security node sysctl objects; they are now created using CTL_CREATE. 2006-01-27 03:14:56 +00:00
uwe bcb1033b34 Make WARNS=4 happy. 2006-01-27 03:11:33 +00:00
uwe f75f446e52 More constification. 2006-01-27 03:07:31 +00:00
uwe d9fda226fc Tell gcc that startup and stack are used.
In startup remove declarations of unused symbols.
This file now compiles with WARNS=4.
2006-01-27 02:58:50 +00:00
uwe f62a1602ab Make -Wcast-qual happy. 2006-01-27 02:54:15 +00:00
uwe 967fd50006 Pull cleanup fixes from sys/arch/shark/stand/ofwboot/alloc.c.
These files are now almost identical.
2006-01-27 02:39:07 +00:00
uwe fe55d8a997 /* fall through */ -> /* FALLTHROUGH */ 2006-01-27 02:28:36 +00:00