Commit Graph

116653 Commits

Author SHA1 Message Date
matt
56f115e896 Switch back to adjusting stack by addi instead of ldptr until I can locate
who's setting up the stack wrong.
2003-08-27 19:45:28 +00:00
heas
6333112bb9 plural "characters" for ret of {v}snprintf 2003-08-27 18:47:14 +00:00
uwe
9267b09572 Include "config.h" if building as a host program.
Need this to get SIZE_MAX defintion from compat_defs.h on FreeBSD.
2003-08-27 18:36:19 +00:00
uwe
3f02ec91cd If SIZE_MAX is not defined, but SIZE_T_MAX is defined (e.g. FreeBSD),
define SIZE_MAX as SIZE_T_MAX.
2003-08-27 18:33:26 +00:00
drochner
1b88840c66 update for the protocol used by coda>=6,
patches supplied by the coda-6.0.2 distribution,
with small changes to support the old protocol optionally
(options CODA_COMPAT_5)
2003-08-27 17:49:48 +00:00
matt
4a33fdce54 Actually the right instruction to fill a half-word.
From Juergen Hannken-Illjes hannken at eis dot cs dot tu-bs dot de
2003-08-27 17:37:43 +00:00
junyoung
523866566b Add missing "." 2003-08-27 16:27:35 +00:00
mrg
1a086c6b25 introduce an additional switch to enable building GCC3 instead of GCC2:
HAVE_GCC3.  if this is set, we also set USE_TOOLS_TOOLCHAIN=no.  change
the definition of the former to be restricted to whether tools/toolchain
is used or not.
2003-08-27 16:03:17 +00:00
lukem
668e6c5574 s/exitisting/existing/ 2003-08-27 16:00:30 +00:00
mrg
9e599bdb11 change PROM_getprop() from taking a "void **" for the storage, to a
"void *", and do the extra de-reference directly in the function.  this
avoids having to cast dozens of different types to "void **", which sets
of GCC3's strict-aliasing.  testing by martin@
2003-08-27 15:59:49 +00:00
mrg
9ff45a46f3 x[yd]_dmamem_alloc() takes a bus_addr_t *. don't pass the address of a
long!  found by GCC3.
2003-08-27 15:41:03 +00:00
dsl
f25691d97c Increase maximum terminal size from 500x500 to 4000x4000.
Add a 'matchchars' option to set the character pairs that % looks for.
Traditionally this was []{}() but someone added <> to nvi - probably
for editing html, but it is a pain for C. :set matchars=[]{}() will
restore the traditional behaviour.
If the 'open' and 'close' characters are the same (eg "" or '') then % will
alternate forwards and backwards searches.
Use common code to detect options that must have an even number of characters.
2003-08-27 15:15:13 +00:00
uwe
2194ee2027 Add a comment that explains that
. this function cannot have _PROF_PROLOGUE
  . this function cannot be called via PLT

Change ENTRY to NENTRY for the former.

XXX: The latter is important in the gcc3 world, that have shared
libraries.  We will need to play tricks with .hidden to make sure
every shared library gets its own private __udivsi3 that it can call
directly, without going through the PLT.
2003-08-27 15:03:06 +00:00
thorpej
c171c20800 Fix-up a few things missed in the rijndael_set_key() change. 2003-08-27 14:55:36 +00:00
thorpej
d5d0a860bc Add missing RCS ID. 2003-08-27 14:49:44 +00:00
kleink
7433b99634 Regen. 2003-08-27 14:27:12 +00:00
itojun
725b73043b simplify rijndael.c API - always schedule encrypt/decrypt key.
reviewed by thorpej
2003-08-27 14:23:25 +00:00
kleink
e33a696688 While here, add the AMD8111's ACPI controller. 2003-08-27 14:21:51 +00:00
kleink
bfd961d6f6 Add AMD8111 USB and SMBus controller IDs; from Nicolas Joly in kern/22617. 2003-08-27 14:13:10 +00:00
dsl
9290245176 Coorectly sort options table (it is searched with a binary chop). 2003-08-27 13:47:51 +00:00
tron
feb2a2aee7 Rewrite for new CAST-128 implementation. 2003-08-27 12:37:09 +00:00
tron
710886efc2 Fix build problem caused by adding "const", remove "register" usage. 2003-08-27 12:17:18 +00:00
itojun
ffb2df7cd0 variable 'sc' needed in MPACPI case (what should we do about NIOAPIC?) 2003-08-27 11:38:54 +00:00
dsl
41fc0f3e23 No need to build sysinstmsgs.en (they are compiled into the program).
(I'd failed to persuade make to do this before...)
2003-08-27 10:23:53 +00:00
itojun
4572e734b1 plug memory leak. openbsd-pr-3416 2003-08-27 08:15:16 +00:00
bsh
7726d33fed + fix the definition of timer #4 observation register. This change fixed
delay() bug.

+ match the names of timer registers to those in user's manual.
2003-08-27 03:57:05 +00:00
bsh
13543d215c move some definitions of register block size from s3c24[10]0reg.h
to s3c24x0reg.h when they are same for S3C2410 and 2400, and rename them as
S3C24X0_FOO_SIZE.
2003-08-27 03:46:05 +00:00
itojun
000061139d typo 2003-08-27 03:35:35 +00:00
itojun
880bf51285 check and panic if key with wrong dir is passed 2003-08-27 02:44:19 +00:00
itojun
fb5acbcfc6 rijndael encryption context/scheduled key is assymmetric; need to setup two
(one for encryption, one for decryption)
2003-08-27 02:42:09 +00:00
itojun
5c39f4aaa7 don't intiialize m by m0, m0 is not initialized (by introduction of ip_fragment) 2003-08-27 02:09:59 +00:00
uwe
3a942f1015 cc_callout does not belong to struct cons_channel, as it's only used
by sparc for PROM console input channel.  Demote it to kd.c as a
static variable.

While there, use callout_schedule instead of callout_reset to
reschedule the PROM polling callout, and init prom_cons_channel
statically.
2003-08-27 01:37:38 +00:00
uwe
68f362b713 Kill __P(). 2003-08-27 00:23:32 +00:00
thorpej
7e87fbb23b Some const poisoning. 2003-08-27 00:20:56 +00:00
thorpej
538c811bc6 Tidy up the namespace of this a little. 2003-08-27 00:12:37 +00:00
thorpej
7b613a568e Use BF_ecb_encrypt() instead of using BF_encrypt()/BF_decrypt()
directly.  Reviewed by itojun.
2003-08-27 00:08:31 +00:00
thorpej
24b18cc20a Use the Blowfish in crypto/blowfish, which has hooks for using tuned
assembly for the transform.
2003-08-27 00:05:26 +00:00
thorpej
e77423d998 * Const poison, ANSI'ify, like newer OpenSSL Blowfish code.
* Add a BF_ecb_encrypt(), which makes for a prettier interface than
  using BF_encrypt()/BF_decrypt() directly.
2003-08-26 23:51:12 +00:00
chris
cdef31d5ce Update the other reference to libc to version 101. 2003-08-26 23:14:18 +00:00
manu
41a89bc98d Fix a buffer overflow that was leading to various kernel crashes 2003-08-26 21:52:18 +00:00
manu
e3ce76f536 Added a malloc freelist sanity check function, for debugging purposes 2003-08-26 21:48:53 +00:00
jdolecek
5d07f1b919 retain the FreeBSD RCS Id for xmaciireg.h for reference 2003-08-26 21:14:08 +00:00
jdolecek
98c6c56281 add commented out entries for skc/sk SysKonnect SK9821 driver 2003-08-26 21:12:48 +00:00
jdolecek
00603e639b Add driver for SysKonnect SK-9821 and 3COM 3C940 gigabit ethernet boards
From FreeBSD via OpenBSD, port to NetBSD done by Stephen Degler

Changes relative to submitted version:
* yukonreg.h and xmaciireg.h merged into if_skreg.h
* bhack[] constified + other small editing changes
* use 'Ethernet address' rather than 'address' in attach message

XXX completely untested by me, needs further cleanup

Driver provided in PR kern/22511 by Stephen Degler
2003-08-26 21:11:00 +00:00
jdolecek
72e5c7ee1b regen: add SysKonnect 9821 2003-08-26 21:02:22 +00:00
jdolecek
a22db7c69f add SysKonnect SK9821 2003-08-26 21:01:35 +00:00
thorpej
c8a0fb53df In Blowfish_initstate(), make the initstate static, otherwise the
compiler will emit code to first copy it onto the stack before
copying it into the destination context structure.  With this change,
it will only be copied once.
2003-08-26 20:20:17 +00:00
thorpej
850a45bf66 const an array. 2003-08-26 20:15:13 +00:00
thorpej
e6430e4cf8 Const poison, use ANSI-style. 2003-08-26 20:12:22 +00:00
thorpej
793bc7ea32 Take a couple more opportunities to const poison. 2003-08-26 20:07:59 +00:00