Commit Graph

49502 Commits

Author SHA1 Message Date
tls
3d4146e21f Add asm versions of blowfish and des transforms for i386.
This also involved updating the in-kernel DES functions to correspond
to the versions in our in-tree OpenSSL, because the des_SPtrans table
has changed; the asm code will not work with the old permutation table!

C and i386 asm code for the DES, 3DES, and Blowfish CBC modes is also
included; it is not currently built as the ESP processing in esp_core.c
splits the CBC operation and the cipher transform apart.  Hopefully that
will be fixed as there is a substantial performance improvement to be had
from doing so.  It will remain necessary to use the C version of the
Blowfish CBC function on some i386 machines, however, as the asm version
uses bswapl, which ony 486 and later processors have.  The DES CBC code
doesn't have this problem.

Finally, change esp_core.c to use the ecb3_encrypt function instead of
calling ecb_encrypt three times; this improves performance a bit, in
particular in the asm case.
2001-09-09 11:00:59 +00:00
toshii
7c9e82d6e3 Don't define pcb_* register macros.
pcb_sp macro conflicts with sys/netinet6/ipsec.c.
2001-09-09 10:33:42 +00:00
toshii
9665c1bcc3 Use arm/arm32/vm_machdep.c instead of hpcarm one. 2001-09-09 09:59:24 +00:00
toshii
b45ffd445a Readd sacom to cdevsw. 2001-09-09 09:54:13 +00:00
toshii
17e80273eb #include "sacom.h" for constab[]. 2001-09-09 08:07:36 +00:00
matt
8402e4d93f Fix a missing restore interrupt. disable interrupts around pvo_enter in
pmap_kenter.  Shouldn't be needed but ...
2001-09-09 04:35:22 +00:00
simonb
a41b7a380e Clean up and standardise across MIPS ports. 2001-09-09 04:20:25 +00:00
enami
d182b51372 Don't print extra space when printing information about cpu of unknown vendor.
# and minor stylistic change while i'm here.
2001-09-09 02:10:44 +00:00
enami
ba91e134c8 Fix sample code in comment; pci_conf_print() takes three arguments. 2001-09-09 01:45:29 +00:00
enami
bab65a8da3 Mix random data directly into the pool and increase entropy instead of
estimating entropy with polling based timing.
2001-09-09 00:48:54 +00:00
enami
a1eef7d6a4 Cosmetic changes. 2001-09-09 00:32:52 +00:00
thomas
35ad82f0df Make the bootloader ELF aware.
It can load either a.out or ELF, depending on compile options.
2001-09-08 16:57:09 +00:00
christos
fdad5eb59c Don't trash the ref count of cred. It causes a memory leak. 2001-09-08 15:34:06 +00:00
fvdl
2c344fe7d9 Allow the old-style sockaddr_in6 for v6 addresses for which the
scope id is irrelevant. Makes netscape6 for Linux work again,
which uses v4-mapped addresses to connect to v4 sites.
2001-09-08 14:19:09 +00:00
chuck
1c06d68731 only include opt_compat_43.h if _KERNEL_OPT defined so lkm compiles 2001-09-08 13:23:09 +00:00
chuck
b8a7c35e58 vax1k_subr.c is gone 2001-09-08 13:19:50 +00:00
thomas
b2990af499 ELF adaption. 2001-09-08 11:21:02 +00:00
thomas
f433d91346 Now the default ecexutable is ELF.
Add COMPAT_AOUT_M68K to GENERIC options.
2001-09-08 11:19:06 +00:00
thomas
d059704139 ELF adaption, clockframe must be packed. 2001-09-08 11:16:43 +00:00
thomas
e97e2309f0 ELF abaption. 2001-09-08 11:15:35 +00:00
thomas
eb5341b79a Some ELF adaption. 2001-09-08 11:14:33 +00:00
manu
421be662fc Forgotten file in my last commit for removing PowerPC mmap hack in Linux
emulation
2001-09-08 07:13:04 +00:00
manu
6bbacb9d3f Removed a hack to make PowerPC mmap work. This could have side effects on
alpha and i386. It has been tested and works on i386.
2001-09-08 07:09:43 +00:00
wiz
08d1db8111 Fix typo in variable name. 2001-09-08 02:35:25 +00:00
christos
f556e46298 Hijack the credentials used to evaluate access, to avoid a potential lwp
race by modifying the proc's credentials temporarily. From Bill Sommerfeld.
Thanks for forcing me to do this right :-)
2001-09-08 02:05:39 +00:00
christos
51d673156c Set the credentials to be used in the NDINIT macro so that syscalls can
hijack them.
2001-09-08 02:02:04 +00:00
rafal
ece8acc29b Make the ARCS console work again, by initializing the dev_t on arcbios init
rather than in the open entry point (where it's too late for cnopen).  Being
checked in from my Indy using the ARCS console on the graphics display.
2001-09-08 01:39:11 +00:00
thomas
f34c1c216e Return a useful exit status. 2001-09-07 23:09:36 +00:00
drochner
e6a8d37fdd concentrate screen initialization into vga_init_screen() where it belongs 2001-09-07 17:10:13 +00:00
sato
9545f31823 initial support of vr4131 bcu. 2001-09-07 16:06:03 +00:00
sato
a18f21f23e VR4131 have same restriction as VR4122. 2001-09-07 16:04:03 +00:00
sato
5e44e9de0e add VR4131 releated definisions and change. 2001-09-07 16:02:56 +00:00
mrg
18b82a6732 make this "MI"; nothing different between this and the SPARC version. 2001-09-07 15:50:49 +00:00
haya
c14e80bd30 Bugfix: re-order buffers when they are released. 2001-09-07 11:04:35 +00:00
tsutsui
66187ea9e9 Fix function names in panic messages. 2001-09-07 10:35:59 +00:00
itojun
bc9095e4c7 make CMSG_FIRSTHDR() validat emsg_controllen, as suggested in RFC2292.
from kame
2001-09-07 08:13:01 +00:00
lukem
53156d96d0 let user know current value of MAX_KMAPENT in panic 2001-09-07 00:50:54 +00:00
lukem
cb33448ead use options SPACE TAB 2001-09-07 00:18:27 +00:00
thorpej
b42556773f Driver for the Dreamcast mouse, based on the programming info
on Marcus's web site.

Not yet thoroughly tested, but does appear to generate events
that look okay.
2001-09-06 22:07:39 +00:00
fredette
2468247eff In _bus_dmamap_load, now check the return value of pmap_extract
under DIAGNOSTIC, and fixed a bug where we weren't putting the
right size into a newly valid map.
2001-09-06 21:38:40 +00:00
fredette
7aaa6a4bc4 On the 68010, don't bother with the by-8-longwords loop, instead
only 16-bit align the region and use loop mode with longwords
to do the bulk of the work.

On the 68020+, fixed an optimization bug where all regions that start
on odd addresses would not be properly longword aligned.
2001-09-06 21:30:15 +00:00
nathanw
78d8966e59 Remove the infamous "DANGER WILL ROBINSON: FEN SET in cpu_fork!"
diagnostic. It's not indicative of an error condition.

The code sequence in question calls fpusave_proc(), which ultimately
calls alpha_pal_wrfen(0), which clears the FEN bit in the current
PCB. However, the diagnostic message is based on reading that bit from
the PCB representation in memory, which is not guaranteed to be kept
up-to-date with respect to the real PCB contents. According to the
AARM, third edition, II-B 4.2:

"If the PCB is read while ownership resides with the processor, it is
UNPREDICTABLE whether the original or an updated value of a field is
read."

The Alpha architecture does not provide a way to read the true value
of the FEN bit of the current PCB, so the test is simply removed.
2001-09-06 21:20:43 +00:00
thorpej
2d2a66209d Indent. 2001-09-06 20:04:49 +00:00
fredette
b1b29ae867 Added -D__SVR4_ABI__ to XDEFS. Without it, m68k libkern assembly
functions don't return pointer values in %a0.
2001-09-06 20:04:16 +00:00
augustss
283601a95c Comment out tr at pcmcia. 2001-09-06 13:29:29 +00:00
augustss
0ef77d096d Regen. 2001-09-06 11:45:55 +00:00
augustss
7eed4a548d Add a Todos smartcard reader. 2001-09-06 11:45:33 +00:00
leo
558c39f10c Changes for Chuck Silvers:
implement pmap_k{enter_pa,remove}() correctly.
  remove various checks for impossible conditions.
  other misc cleanup.
2001-09-06 06:27:54 +00:00
leo
975c7a2466 Make this finally compile again. It hasn't worked since the C_LABEL() got in. 2001-09-06 06:24:17 +00:00
thorpej
b6783070d6 Don't require tp->t_dev to be filled in in cold_sccparam(). 2001-09-06 06:18:40 +00:00