Commit Graph

169819 Commits

Author SHA1 Message Date
ad
a034c1c5e1 MP + apics are needed now so kill the #ifdefs 2008-05-11 16:26:56 +00:00
ad
bfff830416 Fix typo. 2008-05-11 16:25:46 +00:00
ad
b698c03c2c Don't reload LDTR unless a new value, which only happens for USER_LDT. 2008-05-11 16:23:05 +00:00
ad
5e605a64f7 Disable preemption across LDT mods. 2008-05-11 16:17:38 +00:00
ad
8250c8f097 Disable preemption over LDT modifications. 2008-05-11 16:13:34 +00:00
ad
3cd3c8ccbc Stop using APIC IDs to identify CPUs for software purposes. Allows for
APIC IDs beyond 31, which has been possible for some time now.
2008-05-11 15:59:50 +00:00
ad
f674d9678b Share cpu.h between the x86 ports. 2008-05-11 15:32:20 +00:00
ad
c5fb1571ad Update xen for identcpu changes. 2008-05-11 15:02:34 +00:00
ad
50d8ae9d14 Simplify x86 identcpu code, and share between i386/amd64. 2008-05-11 14:44:53 +00:00
ad
32c5d76875 Fix locking botch. Pointed out by kardel@. 2008-05-11 14:42:18 +00:00
ad
454ba0bbef Don't abuse ci_cpuid - in particular, ci_cpuid != ci_signature. 2008-05-11 14:39:49 +00:00
ad
107b551a56 Include machine/cputypes.h explicitly. 2008-05-11 14:25:48 +00:00
ad
f9a4f0750a Don't use ci_apicid to identify cpus in debug output. 2008-05-11 14:25:02 +00:00
he
e37d711d99 Manually break up the pci_activate() declaration, so that we avoid a
warning from nroff.
2008-05-11 14:15:53 +00:00
ad
058b47f572 Re-base the cpu types at 0 so they can be used as an array index. 2008-05-11 13:36:33 +00:00
ad
da5bd37a49 Expose the 'cpu' variable.: 2008-05-11 13:33:54 +00:00
joerg
1ae05b2bbf Don't use the legacy interrupt when deciding how to route IOAPIC pins.
On some modern systems not all devices have the PCI interrupt line
set, typically the cardbus bridge is affected and it would result in
different interrupt vectors used for the same IOAPIC pin.
To allow this, simplify the code by checking for an existing match first
and only allocate a new entry if that doesn't exist. For the IOAPIC case
don't bother with the reserveration on the primary CPU for ISA
interrupts, just use them.
2008-05-11 13:18:25 +00:00
joerg
8d540374df Sync with libarchive-2.5.3b. 2008-05-11 13:14:32 +00:00
joerg
81815c3c8f Merge after libarchive-2.5.3b update. 2008-05-11 13:10:07 +00:00
joerg
842030a811 Import libarchive-2.5.3b:
- fix bugs in link resolver, mostly affecting bsdcpio [from NetBSD]
- fix bsdcpio -p for hardlinks
- correctness improvements for directory name handling with ustar format
- handle empty filenames correctly
- allow bsdtar -r and -T to be used together as well as --format with -r
and -u.
2008-05-11 13:05:35 +00:00
ad
cc7aa65fd4 +END(tsc_get_timecount) 2008-05-11 12:43:35 +00:00
ad
bd06c33f6e Fix a potential hang during skew detection (not observed). 2008-05-11 12:41:13 +00:00
chris
2d9b8b788b As part of make release copy the miniroot.kmod into installation/miniroot/
and create sums for it.

This means all the pieces to do network installation are easily accessible
following a release build (and will also come out of the build servers).

netbsd-GENERIC is in binary/kernel/
pxeboot_ia32.bin is in installation/misc/
miniroot.kmod is in installation/miniroot/
2008-05-11 12:31:45 +00:00
chris
e4ea82cddb Add support to pxeboot to allow the loading of modules. Changes to main.c
are taken from boot/boot2.c.

This allows an install to be started by running:
load tftp:miniroot.kmod
boot tftp:netbsd-GENERIC

Note that the change to dev_net.c to comment out the network shutdown,
suggests we need to hook the network shutdown in the the common exec code.
If the network is shutdown, it fails to reinitialise and so fails to load
the module.
2008-05-11 11:42:02 +00:00
chris
f10d13fdee Extend tftp_stat to return the size of the file, rather than -1.
It's not very efficient, as it has to read the whole file, and count the
block sizes.  However, this is the only way to work out the size using the
tftp protocol.

This is needed to support loading modules from a tftp server with pxeboot.
2008-05-11 11:29:12 +00:00
isaki
e33e7d58fd Increase ramdisk size. 2008-05-11 09:35:53 +00:00
cegger
2a9c1861c0 aprint_normal -> aprint_normal_dev
sizeof line -> sizeof(line)
2008-05-11 09:31:49 +00:00
kiyohara
2438bca8bf Split device_t/softc. 2008-05-11 08:23:17 +00:00
cegger
31dfb0cf52 regen. 2008-05-11 06:44:16 +00:00
cegger
6cc82eadea add Garmin Forerunner 305, GPS clock device 2008-05-11 06:42:47 +00:00
mlelstv
8944a89578 Use NODOORLOCK quirk to make iBead MP3 players work.
Fixes PR kern/23875.
2008-05-11 05:20:33 +00:00
mlelstv
42e9b7252f Reintroduce the NODOORLOCK quirk. Helps with PR kern/23875. 2008-05-11 05:17:23 +00:00
mlelstv
a4002c76a9 There is also ARP_DEBUG for those who need it. 2008-05-11 04:53:15 +00:00
elric
98059cd502 Add a new keygen method which will execute an external command and
take its output as the key.  I've been meaning to do this for quite
a while...
2008-05-11 03:15:21 +00:00
mjacob
9ce916ad92 Make fc scratch acquisition something that can fail. Remove in_intr flag.
Otherwise synchronize with changes made due to other platforms.
2008-05-11 02:08:11 +00:00
mjacob
49ad2f42b2 Update 2400 f/w to something more akin to what is current. 2008-05-11 02:04:33 +00:00
wrstuden
97003b024b Oops. These are supposed to come alive on the branch, not the head. 2008-05-11 00:18:09 +00:00
wrstuden
dbbab92bc9 Initial checkin of re-adding SA. Everything except kern_sa.c
compiles in GENERIC for i386. This is still a work-in-progress, but
this checkin covers most of the mechanical work (changing signalling
to be able to accomidate SA's process-wide signalling and re-adding
includes of sys/sa.h and savar.h). Subsequent changes will be much
more interesting.

Also, kern_sa.c has received partial cleanup. There's still more
to do, though.
2008-05-10 23:48:44 +00:00
christos
8e11cb8cb8 undo the constification of the argument. Per opengroup. 2008-05-10 22:39:40 +00:00
christos
221cf0b076 remove the const again - per core. 2008-05-10 22:37:42 +00:00
christos
b0010ee77c bump libssh. 2008-05-10 21:50:47 +00:00
christos
dabe785fdd bump this too because of openssl. 2008-05-10 21:49:17 +00:00
christos
e121a2ba4e another missing file botch 2008-05-10 21:44:12 +00:00
christos
de3a0e6cfe handle more assembly stuff. 2008-05-10 21:41:22 +00:00
christos
9808a8475f include the proper source file 2008-05-10 21:41:07 +00:00
christos
b2beddd818 disable cast for now. The tables generate DT_TEXTREL's. 2008-05-10 21:40:51 +00:00
elric
ba6026f365 Add -p flag to retrieve passphrases from stdin. This is mainly aimed
at programatic use where the caller wants to be able to use PKCS#5.

Disable looping on invalid verifications unless both a passphrase method
is in use and the -p flag is not specified.

Update man page to document -p flag.
2008-05-10 21:38:40 +00:00
christos
c76d02d6ce Accommodate more assembly builds. 2008-05-10 21:30:06 +00:00
christos
3e2c07c608 put a file back I removed accidentally. 2008-05-10 21:29:31 +00:00
christos
22c970f986 fix typo. 2008-05-10 21:19:07 +00:00