grehan
c22bebde69
Remove cache flush, 256Mb 1:1 BAT mapping, and BAT clearing. This doesn't
...
work on a G5 (no BAT registers) or on PearPC (dBAT3 used for mapping
the framebuffer and BATs not re-inited on OpenFirmware calls).
It also hid a number of bugs.
2004-07-08 06:13:05 +00:00
grehan
6001ea5291
All hell breaks loose if the loader image is released before
...
jumping to the kernel. Another bug exposed by removing the
1:1 BAT mapping. Sparc64 doesn't do this either.
Compile tested on: panther (sparc64). Code built, but not used, on sparc64.
2004-07-08 06:09:22 +00:00
grehan
9063ace8b4
Correctly calculate size of memory to be mapped when copying. Removal
...
of the 256Mb 1:1 BAT mapping exposed this as copying into memory that
hadn't been claimed from OpenFirmware.
compiled-tested on: panther (sparc64). Code built, but not used, on sparc64
2004-07-08 06:06:56 +00:00
grehan
ebf9bdd548
Extract entry point from elf header before releasing the heap.
...
This caused a data-miss trap when the BAT init code was removed
on PPC.
Compile tested on: panther (sparc64). Code built, but not used, on sparc64.
2004-07-08 06:04:45 +00:00
ru
9f45c1d92e
mdoc(7) fixes.
2004-07-07 19:57:16 +00:00
stefanf
9dea8aeba1
Consistently use __inline instead of __inline__ as the former is an empty macro
...
in <sys/cdefs.h> for compilers without support for inline.
2004-07-04 16:11:03 +00:00
ru
42b6f36397
Fixed what appeared to be a hard sentence break.
2004-07-02 21:49:22 +00:00
ps
268ac8d0b8
When building a kernel or the loader, let the hostname be overridden
2004-07-01 06:40:12 +00:00
josef
6b22b66f1c
Remove the entry for configuring pcm0 mixer channels.
...
This is accomplished via device.hints now.
2004-06-24 17:49:18 +00:00
brueffer
5775a3d418
Throw out pfsync and pflog, the modules were removed
2004-06-22 22:57:13 +00:00
jhb
030ae438f9
Update the copyright to use a 3 clause BSD license rather than one that
...
is less clear about allowing redistribution of modified copies.
Requested by: Tom Cosgrove tom dot cosgrove at arches-consulting dot com
2004-06-22 21:55:22 +00:00
jhb
a2fca5d60c
Remove a bogus increment of %di when scanning the list of loader paths.
...
%di will already point to the character after the nul char when the
'repnz scasb' terminates.
Submitted by: Tom Cosgrove tom dot cosgrove at arches-consulting dot com
2004-06-22 21:52:20 +00:00
josef
e7c4cf7270
Document the possibility of setting default values for
...
mixer channels via boot loader.
2004-06-20 15:58:24 +00:00
phk
cac15e3814
Save a couple of bytes for the SIO case.
2004-06-17 12:02:25 +00:00
phk
0cf3d6f050
Fix another beak.
...
Seen by: pjd
2004-06-17 11:44:05 +00:00
phk
78e719f581
Unspam sys/boot, the dev_t commit should not have touched these.
...
Spotted by: peter
2004-06-16 18:21:22 +00:00
phk
7a09e3e482
My new keyboard can't spell.
2004-06-16 17:03:18 +00:00
phk
dfd1f7fd50
Do the dreaded s/dev_t/struct cdev */
...
Bump __FreeBSD_version accordingly.
2004-06-16 09:47:26 +00:00
phk
67632d242d
Premptively fix GCC3.4 issue: add break; after empty default: clauses.
...
PR: 65493
Submitted by: Pawel Worach <sajd@telia.com>
2004-06-16 08:12:06 +00:00
phk
31644ac9d8
Merge boot0 and boot0sio so they behave the same.
2004-06-11 09:45:18 +00:00
phk
85f8b889c5
Some embedded platforms have no keyboard controller. Give up waiting
...
for it to react after a timeout.
2004-06-02 09:38:32 +00:00
njl
a26da2bf55
Use the correct location of the EBDA for searching for the RSDP.
...
The EBDA is the 1 KB area addressed by the 16 bit pointer at 0x40E.
Pointed out by: robert.moore AT intel.com
2004-05-25 05:52:48 +00:00
ru
dd2f259ab8
Markup fixes.
2004-05-16 22:51:36 +00:00
cognet
fa3c563dae
Try harder not to compile anything in sys/boot for arm.
...
I wonder how buildworld ever worked for me...
2004-05-16 00:19:12 +00:00
ru
9d75d5e3a5
Back out last revision that unnecessarily changed valid assembler
...
line comments and damaged the CVS history.
Prompted by: bde, jhb
2004-05-14 20:29:30 +00:00
ru
81741e7e6d
Partly back out last revision that unnecessarily changed valid
...
assembler line comments and damaged the CVS history.
Prompted by: bde, jhb
2004-05-14 20:28:31 +00:00
cognet
90fc99220c
Do not attempt to build anything in sys/boot for arm.
2004-05-14 13:34:53 +00:00
jdp
49e7c87fde
Fix a potential stack buffer overflow on systems whose ACPI OEMID
...
fills its field (6 characters). In that case the OEMID is not
null-terminated, and the sprintf that was used would copy up to the
next null byte, which could be pretty far away.
2004-05-14 01:29:21 +00:00
ru
da3845c766
Convert block comments into C-style that is understood by cpp(1).
...
Keep line comments in assembler style. A few lines that match
the '^[[:space:]]+#' regexp still need to be fixed, somehow.
OK'ed by: bde, jhb
2004-04-29 18:58:38 +00:00
nyan
3640f633e3
MFi386: revisions from 1.15 to 1.17.
2004-04-29 08:24:57 +00:00
nyan
b56709bbf0
MFi386: revisions from 1.16 to 1.18.
2004-04-29 08:24:30 +00:00
ru
d6a9edf5bf
Thanks to David's patches, we can now simplify these makefiles
...
further, and just use PROG directly (without FILES).
Suggested by: bde
2004-04-28 21:31:21 +00:00
ru
7285dd0c50
Properly merge boot0sio.s and boot0.s into boot0.S.
2004-04-28 21:14:40 +00:00
ru
34a1e6ae25
Switch to using C99 comments in assembler preprocessed with cpp(1).
2004-04-28 20:55:01 +00:00
ru
e8beb8e0d4
- Properly merge boot0sio.s and boot0.s into boot0.S.
...
boot0sio.s was repo-copied to boot0.S.
- Rename boot0ext.s to boot0ext.S, to stay consistent
with other preprocessed asm files around here, and
for better portability.
Repocopied by: joe
2004-04-28 20:49:17 +00:00
ru
c09b1207a4
Temporary precaution measure until repocopy requests are
...
processed: don't forget to clean generated .s sources.
2004-04-28 16:16:16 +00:00
ru
7094a911cb
After talking to Bruce Evans and reading more standards specs,
...
switch to using C99-style comments everywhere in preprocessed
assembler. The reason is that lines starting with the regexp
'^[[:space:]]#' are treated as preprocessing directives, and
while it seems to work now with GCC, it's not necessarily has
to work. Use C99 comments `//' for the trailing comments to
save whitespace.
2004-04-28 14:31:44 +00:00
ru
e97d62405b
MFi386: Use C (and CPP) style comments for assembler-with-cpp
...
sources, for lines that start with a comment.
2004-04-28 10:15:31 +00:00
ru
f8aacf49b8
Use C (and CPP) style comments for assembler-with-cpp sources,
...
for lines that start with a comment.
2004-04-28 10:09:21 +00:00
ru
affbd94101
Use C (and CPP) style comments for assembler-with-cpp sources,
...
for lines that start with a comment.
2004-04-28 09:57:12 +00:00
ru
66956eb45e
- Use C (and CPP) style comments for assembler-with-cpp sources,
...
for lines that start with a comment.
- Preserve as(1) style comments for the rest.
2004-04-28 09:49:22 +00:00
ru
ccbc6f1994
Removed now redundant CLEANFILES assignments.
...
Not read enough of my patch by: obrien ;)
2004-04-27 19:45:16 +00:00
phk
0a30683aaf
Change from '#' to "//" comment character to allow CPP preprocessing.
...
Merge boot0.s and boot0sio.s into boot0_512.s controlled by "#ifdef SIO".
Add Makefile magic to generate boot0.s and boot0sio.s from boot0_512.s.
The compile boot0 and boot0sio have unchanged MD5 checksums.
2004-04-27 19:07:35 +00:00
obrien
8d22d067c8
Use a more compact syntax for passing the "binary" options to 'ld'.
2004-04-25 20:36:44 +00:00
obrien
05ba732e14
Simplify the building of our i386 'binary' boot components by directly
...
producing them using 'ld' options rather than post-processing with 'objcopy'.
Idea by: Ryan Sommers <ryans@gamersimpact.com>
2004-04-25 19:50:20 +00:00
obrien
333a9bb254
Fix a last second typo in 'vi' that caused a problem.
2004-04-20 13:34:18 +00:00
obrien
9305b3ea2a
White space style cleanup.
2004-04-20 03:15:59 +00:00
obrien
53aab25bce
MFp4: merge version #5 of the 2-sector boot0 from the "jhb boot" branch.
2004-04-19 19:31:48 +00:00
cperciva
70f9067e41
s/atspeaker/speaker/
...
cf. revision 1.2 of src/sys/modules/speaker/Makefile
PR: conf/65195
Submitted by: daichi
2004-04-15 12:12:15 +00:00
imp
b49b7fe799
Remove advertising clause from University of California Regent's
...
license, per letter dated July 22, 1999 and email from Peter Wemm,
Alan Cox and Robert Watson.
Approved by: core, peter, alc, rwatson
2004-04-07 20:46:16 +00:00