Commit Graph

169777 Commits

Author SHA1 Message Date
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
ad 1e2d1c67a2 + uint64_t cpu_cc_freq; /* cycle counter frequency */
+       int64_t         cpu_cc_skew;            /* counter skew vs cpu0 */
2008-05-10 14:56:13 +00:00
ad 9ab200719c Merge cpu_counter.h. 2008-05-10 14:53:54 +00:00
simonb dc15915150 Fix a tyop in a comment. 2008-05-10 14:52:55 +00:00
joerg 27acbcf978 Remove #if 0'd code for flashing firmware. It was never active and even
the FreeBSD version of the driver removed it.
2008-05-10 14:36:02 +00:00
jmcneill 688f4b6b9c Cleanup aprint messages, remove unnecessary usage of aprint_error. 2008-05-10 14:27:20 +00:00
jmcneill 11830b6203 Don't use aprint_error in the success path. 2008-05-10 14:08:15 +00:00
jmcneill 0b59054580 Use aprint when reporting AC adapter status. 2008-05-10 14:01:32 +00:00
jmcneill 2b7bb9303a Use aprint 2008-05-10 13:56:54 +00:00
jmcneill 2d069a6c6f Hide a harmless warning about optional fields having zero address or lengths
unless ACPI_DEBUG is defined.
2008-05-10 13:45:13 +00:00
jmcneill 1c1d16a9e9 Use aprint_naive, cleanup error printing. 2008-05-10 13:38:34 +00:00
jmcneill a6a2bdb866 Mhz -> MHz in aprint, use aprint_naive. 2008-05-10 13:35:56 +00:00
tnn 503997e388 Try to adapt the usema driver to new select/poll world order.
Also fix build with DEBUG_IRIX defined.
Fixes PR port-sgimips/38367 and makes GENERIC build again.
Only build tested because something else is still wrong with compat_irix.
2008-05-10 12:57:18 +00:00
degroote d6c75ad916 Fix error handling after m_pullup 2008-05-10 12:56:28 +00:00
martin d6c07702bb Years in license are four digits 2008-05-10 11:52:20 +00:00
martin b46765907d Minor typo in license 2008-05-10 11:49:37 +00:00
isaki 007dbd3e78 Make it retire, because no one refers.
arch/x68k/dev/spc.c includes <dev/ic/mb89352reg.h> instead of
this, since 1999.
2008-05-10 10:37:38 +00:00
martin e033c388a9 normalize license (cosmetics only) 2008-05-10 09:33:31 +00:00
skrll a498c05e5e Fix pasto in RAS_END_ASM_HIDDEN 2008-05-10 08:11:32 +00:00