| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Repocopied by: joe
|
| |
|
|
|
|
|
|
| |
- Fix hard sentence breaks.
- Quote argument to the Nd macro.
- Use Pa for filenames.
|
|
|
|
|
|
|
|
|
|
| |
is reserved by the loader, and thus any tunable name with that suffix will
be silently discarded.
Document this in the header and man page so that other developers do not
develop so many bumps on the head after banging it against the wall.
Detective work by: Mark Santcroos, grehan
|
|
|
|
| |
Repocopied by: joe
|
|
|
|
|
| |
- kzip(8) is long dead.
- Clean CLEANFILES.
|
| |
|
| |
|
|
|
|
|
| |
other constributions are compiled.
o Remove powerpc specific additions to CFLAGS.
|
|
|
|
| |
kgzldr.o -- kgzipping with such a loader produces bad images.
|
| |
|
|
|
|
| |
Tested by: marcel
|
| |
|
| |
|
|
|
|
| |
Repocopied by: joe
|
|
|
|
|
|
|
|
| |
(John tells me there were problems when trying this before,
but it appears to be safe these day.)
OK'ed by: jhb
Repocopied by: joe
|
|
|
|
|
|
| |
to other architectures), there is no reason not to strip(1) it.
Tested by: kensmith
|
|
|
|
| |
Submitted by: ru
|
| |
|
|
|
|
|
|
|
|
| |
- Factor out common settings and put them in an upper level Makefile.inc.
- Properly use PROG for real programs, not their products.
- Further reduce diffs to i386 versions.
Tested on: sparc64 (panther)
|
|
|
|
|
|
|
|
|
|
|
| |
- Now that bsd.prog.mk deals with programs linked with -nostdlib
better, and has a notion of an "internal" program, use PROG
where possible. This has a good impact on the contents of
.depend files and causes programs to be linked with cc(1).
XXX: boot2 couldn't be converted as it's actually two programs.
Tested on: i386, amd64
|
|
|
|
| |
Reported by: kris
|
| |
|
|
|
|
| |
- Removed -ffreestanding; it's enforced by ../Makefile.inc.
|
| |
|
| |
|
| |
|
|
|
|
| |
Tested on: amd64 (sledge)
|
|
|
|
|
|
|
|
|
|
|
|
| |
- do not use PROG for what's not a real C program,
- use sys.mk transformation rules where possible,
- only create the "machine" symlink on AMD64,
- removed MAINTAINER lines in individual makefiles,
- added the LIBSTAND defitinion to <bsd.libnames.mk>,
- somewhat better contents in .depend files.
Tested on: i386, amd64
Prodded by: bde
|
| |
|
| |
|
|
|
|
| |
PR: kern/62005
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
assure backward compatibility (conditional on !BURN_BRIDGES), look it up
by its old name first, and log a warning (but accept the setting) if it
was found. If both the old and new name are defined, the new name takes
precedence.
Also export vm.kmem_size as a read-only sysctl variable; I find it hard to
tune a parameter when I don't know its default value, especially when that
default value is computed at boot time.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
use a bounce buffer for the actual transfer to avoid crossing a 64k
boundary. To do this, we malloc a buffer twice as big as we need and then
find an aligned block within that buffer to do the transfer. The check
to see which part of the block we use used the wrong variable for part of
the condition meaning that in certain edge cases we would ask the BIOS to
cross a 64k boundary. The BIOS request would then fail resulting in file
transfers that just magically fail in the middle without any apparent
reason. Specifically, my tests for the splitfs boot floppies managed to
trigger this edge case.
MFC after: 1 week
X-MFC-info: along with fixes to libstand filesystems
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
count.
- Fix the twiddle output so that it actually spins.
- Save %cx around BIOS calls to read in sectors from the disc as at least
one BIOS trashes %cx when called to read off of a USB CD-ROM drive.
Submitted by: Martin Nilsson <martin@gneto.com>
MFC after: 1 week
|
|
|
|
| |
will disable both APIC interrupt routing and SMP.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
the file path. Commonly used on Macs e.g. "hd:9".
- Update the ofw_setcurrdev routine to match libstand setenv prototype
Not objected to by: sparc64
|
|
|
|
|
|
|
| |
in boot/common/bootstrap.h. Having a 32-bit size when a 64-bit param
is declared wreaks havoc on PPC.
Not objected to by: sparc64
|
|
|
|
|
|
| |
happens almost every time at the end of a file when using NFS.
No objection by: sparc64
|
|
|
|
|
|
| |
routine to avoid >4G truncation on 32-bit systems.
no objection by: sparc64
|
|
|
|
|
|
| |
- handle multiple Ofw memory regions when determining mem size
- allow currdev to be set as a loader command-line option.
parse() is used to allow future options to be processed.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
flag rather than explicitly halting if a lookup failed.
- Add a loop around the call to lookup() to traverse an array of
nul-terminated strings for possible paths to the boot loader. A double
nul character denotes the end of the list.
- Add a new message to say that the boot failed if all of the path lookups
for a boot loader file failed.
- Add '/boot/loader' as a second boot path. If you build an ISO using
risky options to mkisofs such as -U then the loader will be called
'/boot/loader' rather than '/BOOT/LOADER;0'. This allows cdboot to work
with such risky ISO images.
- Bump version to 1.2 to denote added functionality.
The basic idea as well as some of the code were provided by the submitter,
but I added some extra code to use a loop rather than hard-code just 2
possible paths.
PR: misc/43543
Submitted by: kientzle
MFC after: 1 week
|
| |
|
| |
|