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
6f95f80c91
It's free -> dealloc, not free -> size_t (hi, Christos :).
2006-01-25 22:42:16 +00:00
christos
606bb2caed
free -> dealloc
...
unsigned -> size_t for alloc/dealloc
2006-01-25 18:28:25 +00:00
dsl
37bad86d4f
Add an explicit -I for sys/lib/libsa so that we find the <iodesc.h>
...
requested inside sys/lib/libsa/net.h
This used to be "iodesc.h" but another build needs to override it with
a local copy.
2006-01-22 09:17:14 +00:00
perry
50a256a3a0
__asm__ -> __asm
...
__const__ -> const
__inline__ -> inline
__volatile__ -> volatile
2005-12-24 23:23:59 +00:00
christos
95e1ffb156
merge ktrace-lwp.
2005-12-11 12:16:03 +00:00
sekiya
bfa9ff2e95
sparc needs mostly the same compilation flags for standalone build as does
...
sparc64. Move them out of the sparc64 conditional.
Okayed by martin@
2005-10-30 07:50:31 +00:00
uwe
271a46653f
Constify. Make (the only) submatch function static.
...
Prettify some comments.
2005-08-14 19:38:21 +00:00
macallan
ff06d987cb
add a prom patch that creates a device node for the Krups' audio chip
...
in case it's missing ( like with OF 3.11.10 ) - makes audiocs at ebus work
on these machines.
2005-08-14 16:05:56 +00:00
martin
ba7a82bf5c
Add SUPPORT_DHCP - otherwise bootp does not work (packet is too short for
...
root-path). From Christos.
2005-07-10 08:40:21 +00:00
christos
9f68247977
Turn on dhcp support.
2005-07-10 06:40:35 +00:00
junyoung
17670568fe
Use FS_OPS() macro.
2005-06-23 19:44:00 +00:00
junyoung
600b956be0
Remove trailing spaces.
2005-06-22 16:35:58 +00:00
thorpej
15adcb96b8
Move common Sun ID PROM definitions into <dev/sun/idprom.h>.
2005-06-19 20:00:28 +00:00
martin
c111fbbb32
constify
2005-06-03 07:11:20 +00:00
martin
cb09c74620
constify
2005-06-03 03:58:36 +00:00
martin
3829274a1e
Adapt to constification
2005-06-01 03:51:58 +00:00
thorpej
db352e3490
Use TOOL_GENASSYM. Part of PR toolchain/30350
2005-05-30 23:30:57 +00:00
martin
3132f37cb4
Ooops, missed this file when changing the bootdevice signature.
...
Pointed out by Juergen Hannken-Illjes.
2005-04-28 12:47:45 +00:00
martin
0ad90d21c9
Do not rely on strings to which pointers are returned by promlib functions
...
to persist accross further promlib calls.
This fixes (at least) bootjs.net.
2005-04-27 07:59:47 +00:00
christos
0ed5e83fbf
Don't always increment i, because when we reach the end of the array we'll
...
die.
2005-02-15 16:10:02 +00:00
pk
dca752e34a
Make pmap_map() work on sun4 machines.
...
Thanks to Matthew and Julian for finding this.
2005-01-23 17:04:26 +00:00
he
c05b6145f4
Remove extraneous parenthesis, so that this compiles again.
2005-01-18 23:04:40 +00:00
chs
831b9cc380
remove some dead code, simplify and wrap some long lines.
2005-01-16 23:26:19 +00:00
grant
068c31fe44
tweak an error message.
2004-11-13 08:12:50 +00:00
simonb
e25bd305b6
Define LIB{CRT0,C,CRTBEGIN,CRTEND} as nothing, we don't need to link
...
against them.
2004-07-28 01:05:35 +00:00
jmc
84fafa3db5
Ignore errors on some rm -rf's for platforms that aren't quite
...
POSIX compliant
and return errors on r/o source (FreeBSD) for -rf. Fixes PR#25022
2004-06-21 18:20:08 +00:00
martin
4c2f43b8cf
Better support for booting from partitions != a or at the start of the
...
disk, allow commands like "boot disk:d disk:d/netbsd" to work.
Use the real RF_PROTECTED_SECTORS define instead of a local magic number.
While there, minor cosmetics in diagnostics/output format.
2004-06-18 21:04:39 +00:00
martin
31895478bc
Use RF_PROTECTED_SECTORS instead of a (wrong) magic value.
...
The bootblock now is able to load ofwboot from a raid1 root.
2004-06-18 18:42:15 +00:00
martin
9c57555f1b
When calculating the allocated symbol table size, round up the section
...
sizes with ELF_ALIGN().
Fixes PR port-sparc64/25429.
2004-05-02 19:45:55 +00:00
pk
f95fd4f56f
compat mode: skip double map at VA 0 if the physical load address is 0.
...
This allows a much wider range of historic kernels to be booted (w/ `-C').
2004-04-08 07:35:34 +00:00
pk
24bb95542f
Add openfirmware() entry point.
2004-03-23 15:36:08 +00:00
martin
fe91b9b277
Create a symlink for <sparc/...> include paths as well, the new openfirm.h
...
needs it.
2004-03-21 23:41:21 +00:00
hannken
ac4d48d92e
Rename PROM_getpropstring* => prom_getpropstring*
2004-03-18 12:26:51 +00:00
pk
0c91b926ac
Replace myetheraddr() by prom_getether(). Convert the file descriptor to
...
deivce tree node (if possible) to support the "local-mac-address' property.
2004-03-15 23:57:27 +00:00
wiz
d20841bb64
Uppercase CPU, plural is CPUs.
2004-02-13 11:36:08 +00:00
jmc
d9948df6dd
Clean up tmp files on exit. Fixes PR#23723
2003-12-15 20:07:39 +00:00
martin
170c19e9bf
Rename the JavaStation network boot loader: bootjs.elf -> bootjs.net.
2003-12-15 17:34:36 +00:00
martin
ef9590543d
Add support to build bootjs.elf - the secondary bootstrap used to netboot
...
JavaStations. Based on patches from Valeriy E. Ushakov.
2003-12-12 22:15:59 +00:00
mrg
a777988c2a
ofwboot.net is gone. from hannken@
2003-12-07 23:16:03 +00:00
mrg
8ae92b7455
merge ultrasparc ofwboot / ofwboot.net.
2003-12-07 09:05:18 +00:00
keihan
29c72c57f0
netbsd.org -> NetBSD.org
...
All "netbsd.org" is now gone from src/sys/arch.
2003-12-04 13:05:15 +00:00
keihan
8476e6755a
NetBSD.ORG -> NetBSD.org
...
Now all "NetBSD.ORG" are gone from src/sys.
2003-12-04 12:42:54 +00:00
wiz
ee1b406595
Spell address with two d's. Inspired by similar changes in OpenBSD,
...
originating from Jonathon Gray and forwarded by jmc@openbsd.
2003-11-10 08:51:51 +00:00
lukem
f85d2d1c14
Use ${HOST_SH} instead of `sh'.
...
If necessary, pull in <bsd.sys.mk> to get the definition of HOST_SH;
Makefiles that pull in one of (most of) <bsd.*.mk> will get this anyway.
2003-10-26 07:25:33 +00:00
pk
48b10bb77d
pmap_map_srmmu: use the `map-pages' Forth word to let prom map all pages
...
at once.
2003-10-24 09:48:08 +00:00
agc
aad01611e7
Move UCB-licensed code from 4-clause to 3-clause licence.
...
Patches provided by Joel Baker in PR 22364, verified by myself.
2003-08-07 16:26:28 +00:00
mrg
8a8d2aa063
sprinkle some: libkern.h, some -ffreestanding and some cast-y goodness,
...
all for the pleasure of the gcc 3 :-)
2003-07-30 15:58:36 +00:00