Commit Graph

57 Commits

Author SHA1 Message Date
tv 5489b30b60 ${MAKE} print-objdir -> ${PRINTOBJDIR} 2001-11-14 00:58:48 +00:00
scw 45e7238a02 Bump the version numbers of all bootloaders which use loadfile_elfXX() now
that it tries hard to avoid backwards seeks.
2001-11-09 19:53:11 +00:00
jmc 51e607ae23 Add nb_progname so this will compile on older NetBSD systems that will be
upgrading to -current via the new toolchain build process eventually.
2001-10-20 06:14:30 +00:00
wiz 4c99916337 va_{start,end} audit:
Make sure that each va_start has one and only one matching va_end,
especially in error cases.
If the va_list is used multiple times, do multiple va_starts/va_ends.
If a function gets va_list as argument, don't let it use va_end (since
it's the callers responsibility).

Improved by comments from enami and christos -- thanks!

Heimdal/krb4/KAME changes already fed back, rest to follow.

Inspired by, but not not based on, OpenBSD.
2001-09-24 13:22:25 +00:00
tv ab11c169b5 objcopy -> ${OBJCOPY}; remove redundant definitions of OBJCOPY?= (it is
now in bsd.own.mk).
2001-09-22 03:34:17 +00:00
tsubai e20342e78d Fix a bug introduced when machine_type.h was removed.
Now the kernel can read symbol table again.
2001-08-23 14:17:27 +00:00
tsubai b1d1120084 Search "/netbsd.gz" and "/netbsd.macppc" in addition to "/netbsd". 2001-08-13 15:38:11 +00:00
bjh21 ad2c12a28d Bump version numbers of all bootloaders that use loadfile/ELF, to account for
my changes to symbol loading.  I should probably have done this at the time,
but it's better late than never.
2001-08-02 12:24:05 +00:00
wiz c5a6be17f4 bcopy -> memcpy, bzero -> memset, bcmp -> memcmp.
Reviewed by Matt Thomas, ok'd by Tsubai Masanari.
2001-07-22 11:29:44 +00:00
matt b499a7d558 Add -Wno-main since this is a standalone program. 2001-07-18 05:37:55 +00:00
soren 945b972563 PPC machine type tags haven't been used for a while. 2001-05-03 13:11:24 +00:00
cgd 8a986b2e96 convert to use getprogname() 2001-02-19 22:48:57 +00:00
matt 9dd26cf7c4 It's hfs.c, not hfs. Add -I${.CURDIR} for objdirs. XXX hfs.c should
be integrated into libsa.
2000-11-16 07:36:04 +00:00
tsubai e3ae93dfd4 Add hfs support. Currently this layer simply throw the request to the OF
(and the OF recognizes HFS).
2000-11-14 11:25:34 +00:00
garbled b7c07855f6 make -> ${MAKE} 2000-10-28 15:41:25 +00:00
tsubai 251bc81879 Change ofwboot entry address to 0x600000. 2000-10-24 12:18:33 +00:00
wrstuden 07a9408ae6 Move ofwboot to 600000 hex. Should make loading better (less likely to
run into OF internals).
2000-10-13 00:19:30 +00:00
jdolecek 49c105ffdb add new macro BOOT_FLAG() (defined in <sys/boot_flag.h>) - this
maps standard boot flags to corresponding RB_* values
use BOOT_FLAG() in port's MD code as appropriate

as discussed on tech-kern, add new boot flags -v, -q for booting
verbosely or quietly, and corresponding AB_VERBOSE/AB_QUIET
boot flags; also add FreeBSD-compatible bootverbose macro and
NetBSD-specific bootquiet macro

for hpcmips, use new bootverbose instead of it's own hpcmips_verbose

Tested on i386, and to limited extend (compile of affected files) also for
mvme68k, hp300, luna68k, sun3.
2000-09-24 12:32:31 +00:00
tsubai 1267826d5d Increase stack size. 2000-08-20 07:04:59 +00:00
tsubai 46ab3e89fb Use libsa alloc(). 2000-07-25 06:26:18 +00:00
tsubai dd54c272e5 Add ofwboot.{mrg,xcf} to CLEANFILES. 2000-07-25 06:22:05 +00:00
tsubai 8dc7633036 Make this compile again. 2000-07-25 06:18:23 +00:00
jdolecek 20933708ec switch to sys/conf/newvers_stand.sh for generation of version file
slighly adjust the Makefile WRT vers.c and SRCS & CLEANFILES
2000-07-21 21:42:25 +00:00
dmcmahill db5c144019 make sure ofwboot.xcf gets installed 2000-07-06 19:42:55 +00:00
matt d3336b64a1 Squeeze a few more bytes so the INSTALL kernel will fit on a floppy.
Use tlp instead of de.  Add in gm[ac].  Remove slip and Gallant 22x12 font.
Compile ofwboot.elf -Os.
2000-06-08 17:35:47 +00:00
matt dca520b4a6 Add fixcoff so an obj dir can be created 2000-06-01 18:33:43 +00:00
mycroft 26d692df9e Use DHCP, not BOOTP. At least with dhcpd, the root path gets dropped due to
lack of space in the reply when using BOOTP.
2000-04-29 22:18:31 +00:00
soren 95054da1a1 Fix doubled 'the's in comments. 2000-03-13 23:52:25 +00:00
tsubai cf532aa7eb Move CFLAGS and CPPFLAGS to {bootxx,ofwboot}/Makefile to compile installboot
without -D_STANDALONE.
2000-02-07 16:26:59 +00:00
mycroft 7b49d242ce Clean up the machine symlink stuff ever so slightly. Needs to be
standardized between files.
2000-01-23 17:04:03 +00:00
thorpej 7ec3575193 Update for BAT{U,L}() changes. 1999-12-22 18:57:47 +00:00
thorpej db1042f3bc Update some comments. 1999-12-22 18:57:12 +00:00
wrstuden e9c570ec77 Now make an ofwboot.xcf, and XCOFF version of ofwboot. Uses the new
fix-coff program.
1999-11-23 01:35:37 +00:00
wrstuden cd6e26a395 Add fixcoff, a program to be used during a build to help make xcoff'
binaries from elf ones.
1999-11-23 01:32:37 +00:00
tsubai 4eb4de3592 Make ``boot kernelname'' work on OF-3.x too. 1999-08-03 07:08:36 +00:00
wrstuden 17900cd587 Install ofwboot.elf in addition to ofwboot. Thanks to Chris for info on how
to do this!
1999-06-21 21:02:49 +00:00
drochner fe310dd299 include <lib/libkern/libkern.h> for intoa()/inet_ntoa() 1999-05-07 16:19:27 +00:00
wrstuden af849de633 MAke this cross-tools happy. 1999-05-06 01:04:48 +00:00
tsubai e4e1fcbaa6 Use MI loadfile(). 1999-04-29 03:16:20 +00:00
ws 5423093850 Modify syncicache on PowerPC from an inline to a real function.
Support different cache line sizes with the same object code in userland.
While here, move the function to implementation name space.
1999-04-17 21:16:45 +00:00
tsubai 5023765f61 Adapt Open Firmware 3.x. 1.x and 3.x are not bug-compatible... 1999-03-05 06:21:17 +00:00
tsubai 4bdf0d9244 Modify parseargs() so that device names can contain '-'. 1999-03-05 06:18:38 +00:00
lukem dcab0210a0 convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
1999-02-13 02:54:17 +00:00
tsubai 7177191d30 Allocate DMA-aware memory area using "dma-alloc" method and use them
for data buffer.
XXX currently only netif_put() uses this.

iMac can use ofwboot.elf now.
1999-02-04 15:41:15 +00:00
tsubai 610a648c7d Use "local-mac-address" property to get MAC address. 1999-02-04 12:14:24 +00:00
tsubai 378f49eff8 Ensure lowest 256MB is mapped by BAT0. 1999-02-02 16:29:25 +00:00
tsubai fed24e89c8 Adapt disklabel_mbr.h change. 1999-01-31 19:56:56 +00:00
pk 8a30c7eaef Assign my copyrights to TNF. 1998-09-05 15:30:24 +00:00
tsubai 5cc05df4ca Comment out "insert root disk..." message.
Remove unnecessary video init.
1998-07-24 15:52:04 +00:00
tsubai 08574665d0 Write (fake) Apple Partition Map when install boot block. 1998-07-17 18:48:37 +00:00