Commit Graph

143140 Commits

Author SHA1 Message Date
jmmv
62c98fdb8d When booting an i386 kernel with Multiboot, properly detect the boot device
by looking it up in the x86_alldisks table (instead of trying to match it
to 'wd*' manually).

In order to do this, move the cpu_rootconf function from x86 common code
to amd64 and i386 specific one.  This way, i386 can do an extra step (call
the appropriate Multiboot code) in the appropriate place (after
x86_matchbiosdisks and before findroot()).
2006-02-03 23:33:30 +00:00
riz
288025ff2a Bump date, use "file system" consistently, no hyphen in "soft
dependencies", and sort options under -o.
2006-02-03 22:50:21 +00:00
riz
efb16065b2 Note that softdep and async options can't be used together. From
Dheeraj S in PR#32211, wording and formatting changes by me.
2006-02-03 22:34:11 +00:00
dsl
e94b2828f0 The realall and realdepend bit that regenerates tools needs to be marked
.MAKE otherwise the 'make' it runs has its own list of jobs instead of
using the jobserver of the enclosing make.
2006-02-03 22:07:57 +00:00
dsl
801edd9a37 Use uint32_t and uint16_t not in_addr_t and in_port_t 2006-02-03 22:05:21 +00:00
christos
c83a08de97 bump libopcodes 2006-02-03 21:43:30 +00:00
bouyer
aea4d25db5 Split move interrupt-related PCI functions from pci_machdep.c to
pci_intr_machdep.c. In Xen-3 registers access is done the normal way but
interrupts need custom setup. Proposed on port-amd64, port-i386 and
port-xen a week ago.
2006-02-03 19:58:20 +00:00
bouyer
fc23e0389e Change repne to rep for {ins,outs}{b,s,l} as proposed
to port-amd64, port-i386 and port-xen 2 weeks ago. Under Xen-3, a repne won't
loop (only the first value is read/written) while rep works as expected.
Linux and FreeBSD use rep, and documentation suggests that repne should
not be used with ins and outs instructions.
See http://mail-index.netbsd.org/port-xen/2006/01/22/0000.html for
details.
2006-02-03 19:55:58 +00:00
xtraeme
d736d4967d Enable POWERNOW_K7 now that the main problem was fixed. 2006-02-03 17:36:38 +00:00
christos
ea4d395f13 bump libbfd 2006-02-03 16:33:00 +00:00
christos
209def21c7 bump libbfd, libopcodes. 2006-02-03 16:31:59 +00:00
christos
c71e1a889d bump version. 2006-02-03 16:30:13 +00:00
christos
663f146299 bump version! 2006-02-03 16:29:34 +00:00
skrll
f73b0f41ba ns32k binutils mknative output. Hi Simon! 2006-02-03 16:09:16 +00:00
rpaulo
1e167a0ff0 Remove comments stating the the routine in6_cksum() doesn't support
jumbograms. The routine already uses the ``len'' argument and not the
ip6->ip6_plen which would cause problems with jumbograms.

Spotted by JINMEI Tatuya <jinmei@isl.rdc.toshiba.co.jp>.
2006-02-03 14:40:03 +00:00
tsutsui
a1242109f2 Add commented out file-system TMPFS and UDF.
XXX Is it better to make GENERIC really generic and change GENERIC32
XXX to use "no options" and "no makeoptions" features of newer config(1)?
2006-02-03 13:59:18 +00:00
tsutsui
c0bcc1e045 Add commented out UDF file-system entry in GENERIC-like configurations. 2006-02-03 13:52:14 +00:00
tsutsui
e38cc62439 Sync with GENERIC:
> Add commented out UDF file-system entry in all GENERIC configurations.
2006-02-03 13:48:35 +00:00
apb
fd0db8a416 Fix the iso-image action. These changes were accidentally omitted
from the previous commit.
2006-02-03 12:29:41 +00:00
jmmv
0b879f1cfc Implement support for 'The Multiboot Specification' so that i386 kernels
can be booted directly from Multiboot-compliant boot loaders (e.g. GRUB).
See the added multiboot(8) manual page for more information.

No objections in tech-kern@; only positive comments.
2006-02-03 11:08:23 +00:00
jmmv
47d8ee4167 Implement options string parsing of the form 'a=b c=d ...'. This will be
initially used by i386's Multiboot support but will be useful in other
situations too (think refactoring mount(2)'s API).
2006-02-03 11:04:46 +00:00
skrll
5bb4d25b69 Fix merge botch. 2006-02-03 09:24:20 +00:00
snj
52d8744177 Fix two spelling errors and a typo. From Chris Tribo in PR misc/32715. 2006-02-03 08:28:39 +00:00
skrll
bc532835e9 Note the binutils update. 2006-02-03 08:23:58 +00:00
skrll
cffdc55757 Make sure we generate the right call with -fPIC. 2006-02-03 07:27:05 +00:00
jld
12c1c974f7 Use 64-bit intermediate in get_tsc_offset_ns to avoid overflow.
Discussed (3 weeks ago) on port-xen; okayed by yamt@, bouyer@.
2006-02-03 04:59:03 +00:00
xtraeme
294582997b Fix "hard reboot" problem reported by Rhialto weeks ago on current-users@.
The problem was that pnowk7_init() was called too early in the boot
process, at this point the required calls were not available.

Thanks to Rhialto for testing and cube/christos for comments.
2006-02-03 02:37:57 +00:00
rpaulo
94ef983148 Remove -Wl,-non_shared (same meaing as -static). 2006-02-03 02:01:19 +00:00
reinoud
bbbc766586 On request also add commented file-system UDF it to GENERIC_LAPTOP :) 2006-02-03 01:09:49 +00:00
reinoud
9423fc52a7 Regen GENERIC files 2006-02-03 00:43:32 +00:00
reinoud
be58a98b29 Regen GENERIC config files. 2006-02-03 00:41:26 +00:00
reinoud
f4c2e9d012 Add uncommented file-system UDF for generated config GENERIC files. 2006-02-03 00:40:16 +00:00
christos
1098ee8a76 expose a_num. 2006-02-02 23:42:00 +00:00
christos
ae7a5ee5fc - pass lint
- check errors
- use EXIT_FOO consistently
- use the fattr.h functions, don't duplicate the code
2006-02-02 23:41:43 +00:00
he
470201b8e2 Use PRIu64 instead of ld to print CPU_UPAID. Makes sparc GENERIC_SUN4U
build again.
2006-02-02 23:21:52 +00:00
skrll
21db48e0fd Pull across fix from binutils-current to allow netbsd sh5 to compile. 2006-02-02 22:43:14 +00:00
skrll
ad3568f537 Another conflict I didn't properly resolve. 2006-02-02 22:42:50 +00:00
skrll
7d0a5c3025 Where did that space come from? 2006-02-02 22:39:34 +00:00
skrll
97bb67a75f Oops. Resolve conflict properly.
The standard binutils behaviour wrt to plt entries and relocs is handled
by our dynamic linker so let's do that. Solaris does it this way too.
2006-02-02 22:34:37 +00:00
skrll
ba03cd61c7 Note binutils 2.16.1 2006-02-02 22:31:39 +00:00
skrll
ef26780071 Make the libiberty stuff MI again. 2006-02-02 22:26:50 +00:00
skrll
f8aa39bd9d Run mknative on the new binutils. 2006-02-02 22:22:14 +00:00
skrll
42d4edf85a Pull across the fix for gas/991.
All instructions are assembled correctly with this fix.
2006-02-02 22:19:18 +00:00
skrll
8d40ee0d82 Pull across the fix for ld/1021 and ld/1031.
This has been applied to the binutils_2_16 branch.
2006-02-02 22:14:43 +00:00
skrll
1a673ba65b Resolve conflicts. 2006-02-02 22:03:55 +00:00
skrll
1516e62216 Adapt native-binutils to new binutils. 2006-02-02 22:03:54 +00:00
skrll
ce836c59d8 Resolve conflicts. 2006-02-02 22:03:53 +00:00
christos
d3ef798d46 protect the whole file, not parts of it. 2006-02-02 21:58:40 +00:00
reinoud
a92fdbbc53 Add commented out UDF file-system entry in all GENERIC configurations. 2006-02-02 21:32:08 +00:00
skrll
8d2c6a4e34 Import binutils 2.16.1. 2006-02-02 20:58:06 +00:00