drochner
d32cf1871e
remove stray .globl declaration for nonexistent cpu_id, from
...
Henning Petersen per PR port-i386/39398
being here, remove some more unneeded .globls
2008-08-26 13:07:48 +00:00
cegger
c701fca25a
Xen: Mark NMI and machine check handlers as interrupt gates.
2008-08-26 08:43:00 +00:00
bouyer
4ff122c83e
Enable ipmi(4) by default in GENERIC and related kernels.
2008-08-21 18:06:17 +00:00
sborrill
5744f667c6
Fix display of "Option X will be chosen in" banner. The letter version of it
...
was always displayed even if number format was selected.
2008-08-20 11:34:32 +00:00
simonb
3c2780094d
Wrap long line.
2008-08-15 03:14:54 +00:00
sborrill
c7b0526b9b
Increase number of menu options to 20.
...
Add support for switching menu format between numbers and letters. Will
prefer numbers, but will automatically switch to letters if > 9 options
and timeout > 0 (i.e. need a single key press to choose).
Menu format can be explicitly set in boot.cfg file.
Add support for reading numeric choices of more than 1 digit.
2008-08-12 17:56:05 +00:00
simonb
c86b901a9e
Don't run off the end of the bootconf.desc[] array when printing out
...
the boot menu choices. Fixes problems with funny display when MAXMENU
or more "menu" items are in /boot.cfg.
2008-08-08 07:48:32 +00:00
drochner
687baea535
Disable interrupts before shutdownhooks are run, as all other ports.
...
shutdownhooks need to use polling functions (and most do).
2008-08-05 17:09:17 +00:00
tls
717f903a98
Add accept filters, ported from FreeBSD by Coyote Point Systems. Add inetd
...
support for specifying an accept filter for a service (mostly as a usage
example, but it can be handy for other things). Manual pages to follow
in a day or so.
OK core@.
2008-08-04 03:55:47 +00:00
cegger
7c9b29a47a
backout rev. 1.175:
...
options VGA_POST already existed which makes config barf.
2008-07-31 23:56:00 +00:00
joerg
ca906ffece
Include VGA_POST by default in GENERIC and ALL on x86 now that the code
...
is conditional.
2008-07-31 14:15:00 +00:00
cegger
e2775dc02b
Add "options WAPBL" to Xen configs
2008-07-31 08:43:13 +00:00
simonb
0751ba4bff
Add "options WAPBL" to standard GENERIC/INSTALL type configs.
2008-07-31 07:40:59 +00:00
martin
1f71bc27ce
Fix previous.
2008-07-20 22:57:19 +00:00
martin
f3b6f1bea8
Explicitly add struct pcib_softc to the softc since the pcib functions
...
we call expect this.
2008-07-20 16:59:53 +00:00
martin
d2849ba366
Rearange softc so it starts with a struct pcib. We reuse the x86 pcib code
...
which assumes this.
2008-07-20 16:52:33 +00:00
perry
7549434e22
Add -DM to the newvers_stand.h invocation.
...
Why is there a "Makefile.boot" used here, and a "Makefile.booters"
used one level up, with redundant stuff between both of them? This all
used to be so clean...
2008-07-16 16:13:38 +00:00
perry
ab1cc5d822
Call newvers_stand.sh with -DM so we don't include the (unused) date
...
and builder in the data segment.
2008-07-16 12:52:37 +00:00
perry
e2eca0cfb3
make vers.c also depend on the script that builds vers.c
2008-07-16 00:16:17 +00:00
perry
ac6f476b2b
Update the version numbers following commit, and make them all identical.
2008-07-15 23:16:26 +00:00
perry
17bba44783
Change the x86 boot blocks so they don't include builder login and date.
...
For now, we include kernel revision as a way of allowing users to
notice that boot blocks have gotten very old, so the first line of the
printout looks like this (depending on the particular block):
>> NetBSD/x86 BIOS Boot, Revision 3.4 (from NetBSD 5.0)
This may be changed a bit pending feedback. (Some people think that
the kernel revision shouldn't be there at all, for example.)
Part of the project to assure that bit-identical sources produce
bit-identical release binaries.
2008-07-15 21:29:37 +00:00
cube
ec7745c68a
device_t split fallout [hi joerg!]
2008-07-11 11:58:37 +00:00
joerg
b92a5f0408
Constify a global variable. Split device/softc.
2008-07-09 20:59:16 +00:00
joerg
713c902ab3
Device/softc split.
2008-07-09 20:54:13 +00:00
joerg
fa4b49dc5e
device/softc split.
2008-07-09 20:50:41 +00:00
joerg
fcdefdcff8
device/softc split
2008-07-09 20:45:33 +00:00
joerg
0ae228380e
Finish device/softc split.
2008-07-09 20:41:02 +00:00
joerg
6bf2b4fab1
device/softc split
2008-07-09 20:40:16 +00:00
gmcgarry
5aa0bc7608
Selector registers are 16-bit and binutils 2.18 insists that only 16-bit
...
accesses are permitted on them. Therefore, change movl to movw. No change to
machine code generated.
2008-07-07 13:01:16 +00:00
cegger
02018c5980
ryo shimizu: gscsehci doesn't work.
...
Correctly initialize softc. Fix from PR port-i386/39109.
2008-07-06 08:01:15 +00:00
drochner
54745077e8
Remove "struct device" from "struct pic", where it was only real
...
for ioapics and faked up for others. Add it to "struct ioapic_softc"
for now, until device/softc get split.
This required all typecasts between "struct pic" and "struct ioapic_softc"
to be replaced, I hope I got them all.
functionally tested on i386, compile-tested on xen, untested on amd64
2008-07-03 14:02:24 +00:00
rmind
160268aca6
Remove proc_representative_lwp(), use a simple LIST_FIRST() instead.
...
OK by <ad>.
2008-07-02 19:49:58 +00:00
drochner
14071b7c24
remove some obviously obsolete definitions
2008-07-02 19:18:52 +00:00
ad
b94f79f0e8
Replce exec_map with a pool. Proposed on tech-kern@, reviewed by chs@.
2008-07-02 17:28:54 +00:00
bouyer
802c7519a2
Raise ci_idepth (and switch to interrupt stack on i386) becore calling
...
xenevt_event().
2008-07-01 18:49:20 +00:00
ad
0a11462fc2
A few more.
2008-06-28 15:09:49 +00:00
ad
698b4a3b27
Fix numerous bugs.
2008-06-28 15:03:27 +00:00
ad
a122ceefb6
Noisy printf.
2008-06-28 14:56:22 +00:00
ad
5fbf4abeea
mutex_spin_enter: xchg is usually cheaper than cmpxchg, so use it.
2008-06-27 18:16:02 +00:00
cegger
c82e679e68
struct device * -> device_t
2008-06-27 11:03:13 +00:00
gmcgarry
e31e503a44
Replace lines beginning with assembler-style comments with c-style comments,
...
since '#' can be interpretted as a preprocessor directive. Remove single
quote ''' from assembler-style comments, as the preprocessor may ignore
everything between them.
Fixes compilation with pcc.
2008-06-27 00:41:39 +00:00
ad
c73fe0bf2d
Replace more __asm
2008-06-24 16:30:09 +00:00
ad
28c7c338ce
Replace inline assembly.
2008-06-24 16:28:44 +00:00
gmcgarry
8cb6efd4df
Add stdargs support for pcc.
2008-06-21 00:56:39 +00:00
christos
a41d00937d
pointless to compile md_root.c without md.c
2008-06-13 17:26:33 +00:00
njoly
11037f4f04
Update linux cpuinfo vendor_id/model_name field, to show expected
...
output.
2008-06-11 21:47:46 +00:00
perry
40e1c73ac2
Add cmos(4). This should probably be added to amd64 as well.
2008-06-11 20:37:38 +00:00
njoly
a06f4beef4
Remove extra column in linux cpuinfo output.
2008-06-11 17:29:56 +00:00
dyoung
3a431966db
Run ctags(1) on some of the ACPI files.
2008-06-11 08:14:14 +00:00
tsutsui
62e807c2fe
Use device_lookup_private() rather than using cd_devs[] directly to get softc.
2008-06-08 18:35:25 +00:00