169795 Commits

Author SHA1 Message Date
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
christos
2b62cb0e62 add glue 2008-05-10 21:15:01 +00:00
christos
c82bd19f3b replace all assembly. 2008-05-10 21:14:29 +00:00
christos
4c514b977f add assembly stubs for amd64. 2008-05-10 20:14:20 +00:00
mlelstv
2e45fdea28 new openssl returns const method objects. 2008-05-10 19:25:20 +00:00
mlelstv
612cebe300 libcrypto was updated 2008-05-10 19:22:29 +00:00
skrll
40167a09da Make the hp700 cdrom bootable in response to PR/37659. 2008-05-10 19:22:17 +00:00
skrll
06decd2786 Add a cdboot prog.
Derived from OpenBSD.
2008-05-10 19:11:58 +00:00
skrll
a4c3fd710b Fix some debug printfs. 2008-05-10 19:05:59 +00:00
skrll
1f81e345f4 Add TOOL_HP700MKBOOT 2008-05-10 19:01:14 +00:00
skrll
989d6357d3 Add an option to load a generic boot image into the first 32K of the
cd9660 image.
2008-05-10 19:00:07 +00:00
ad
bd60b91d0a If the boot processor's lapic has the wrong ID, reset it. 2008-05-10 17:23:54 +00:00
ad
f372a4ddde This file now unused. 2008-05-10 17:18:48 +00:00
christos
b6c10a6fe5 avoid using free_func as an argument because it is already a typedef. 2008-05-10 16:52:05 +00:00
ad
47f99407d1 Assume that TSC is stable on P-II and P-III Xeons, since systems with those
CPUs are likely to have a TSC-friendly configuration.
2008-05-10 16:44:00 +00:00
ad
c328252caf TSC should also be enabled for intel f03. 2008-05-10 16:37:08 +00:00
ad
95a272a377 Make xen build after tsc changes. 2008-05-10 16:27:57 +00:00
ad
feb38f6706 Take skew into account for cpu_counter(). 2008-05-10 16:21:41 +00:00
ad
75ada79f33 Improve x86 tsc handling:
- Ditch the cross-CPU calibration stuff. It didn't work properly, and it's
  near impossible to synchronize the CPUs in a running system, because bus
  traffic will interfere with any calibration attempt, messing up the
  timings.

- Only enable the TSC on CPUs where we are sure it does not drift. If we are
  On a known good CPU, give the TSC high timecounter quality, making it the
  default.

- When booting CPUs, detect TSC skew and account for it. Most Intel MP
  systems have synchronized counters, but that need not be true if the
  system has a complicated bus structure. As far as I know, AMD systems
  do not have synchronized TSCs and so we need to handle skew.

- While an AP is waiting to be set running, try and make the TSC drift by
  entering a reduced power state. If we detect drift, ensure that the TSC
  does not get a high timecounter quality. This should not happen and is
  only for safety.

- Make cpu_counter() stuff LKM safe.
2008-05-10 16:12:32 +00:00
martin
7734697b2f Simplify some unclear grammar (sync KASSERT and KDASSERT wording) 2008-05-10 15:39:04 +00:00
martin
5d1469bd77 Backout previous: the license sweep touched these files in error, so
restore the old license.
2008-05-10 15:31:03 +00:00
chris
fe50151584 Fix 9.5 year old buffer overflow.
It wasn't noticed till now as it wasn't overflowing onto anything
important (or was overwritten by the correct data).  Recent changes
meant irqstr was placed just before footbridge_intrq and so it trashed
the interrupt linked list, and so caused an alignment fault.

Note that cats still doesn't boot even with the change, as it hangs when
starting userland, I suspect an interrupt issue.
2008-05-10 15:29:25 +00:00
ad
50e2f52a23 Use MI cpu_counter() interface. 2008-05-10 15:11:10 +00:00
ad
9a48c061bc Remove tsc debugging code. 2008-05-10 15:05:01 +00:00
ad
8038b5d5a5 Report: family, model, extfamily, extmodel 2008-05-10 15:01:05 +00:00