Commit Graph

142960 Commits

Author SHA1 Message Date
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
uwe
e12e03530c dealloc is not "only for consistency check", so remove that comment. 2006-01-27 02:26:16 +00:00
uwe
e8574708b0 WARNS=4 2006-01-27 01:57:29 +00:00
uwe
953e50f4f1 Fix logic botch/typo in prom2boot. 2006-01-27 01:55:34 +00:00
uwe
b04e9bed57 Support 'z' (size_t) and 't' (ptrdiff_t) specifiers.
XXX: ptrdiff_t is only ever defined in <stddef.h> and is defined
unconditionally, without the ifndef dance.  Until we have an expert
opinion, abuse intptr_t for the 't' size check.
2006-01-27 01:53:13 +00:00
uwe
090e596149 Don't omit int arguments in the K&R style function definitions. 2006-01-27 01:11:27 +00:00
uwe
0055f82067 Pacify gcc -Wuninitialized.
Use NULL instread of (struct fl *)0 - especically as this file doesn't
define struct fl.

XXX: there are more references in the comments to the struct fl
inherited from libsa/alloc.c.
2006-01-27 01:03:10 +00:00
christos
b85ba082e0 Sprinkle __UNCONST and fix some casts to make this pass WARNS=4
Note, that we cannot fix this properly because it will break the zlib.h API.
2006-01-27 00:45:27 +00:00
uwe
feedf5e952 Add -ffreestanding to CFLAGS directly. 2006-01-26 23:26:20 +00:00
he
b6517c99d5 Add alloc.c to resolove dealloc() (now used from loadfile_elf32).
Compile with -D_STANDALONE and -ffresstanding so that alloc.c from
libsa builds.
2006-01-26 22:39:08 +00:00
he
d65b8691d7 Follow up the rename of in_cksum.c to ip_cksum.c. 2006-01-26 22:26:52 +00:00
he
54701b2f77 Follow up the renaming of in_cksum.c to ip_cksum.c. 2006-01-26 22:16:08 +00:00
bouyer
a23a0139a9 Note support for PDC20571, PDC20575, PDC20579, PDC40718, PDC40719. 2006-01-26 21:05:45 +00:00
bouyer
ae41171480 Add support for Promise PDC2057x SATA/150 Ide controllers.
From FreeBSD, tested by Douglas Wade Needham.
2006-01-26 20:58:52 +00:00
bouyer
35ab8a8cc8 Regen: Add Promise PDC2057x 2006-01-26 20:54:19 +00:00
bouyer
f946f2d85d Add Promise PDC2057x SATA/150 controllers, from FreeBSD. 2006-01-26 20:53:19 +00:00
rpaulo
035f84616e <netinet6/in6_pcb.h> is not needed. 2006-01-26 20:29:33 +00:00
jmmv
1aa1083c54 Cut a too long line introduced during the conversion to lwps. 2006-01-26 20:07:34 +00:00
bouyer
ea223f367a Fif off-by-one error: the last byte of a packet is at offset len - 1,
not len.
Should fix KASSERT panic reported by Mike M. Volokhov on port-xen.
2006-01-26 19:17:25 +00:00