Commit Graph

135401 Commits

Author SHA1 Message Date
martin
9bea68674e Add files additionaly installed for loadable servers. Sort. 2005-03-26 11:37:08 +00:00
martin
60ac75c119 sparc64 needs LOADABLE flags too 2005-03-26 10:31:51 +00:00
martin
cadae0e841 Now that I found out the right conditionals, handle DRI for this driver. 2005-03-26 10:22:27 +00:00
tsutsui
45bd685dbe mips_sdcache_forceinv has been removed.
XXX Should we check MIPS3_CONFIG_SE in mips3_cp0_config_read() and
XXX call r5k_enable_sdcache() accordingly here?
2005-03-26 10:04:29 +00:00
tsutsui
a8d2e55834 Add a workaround to handle virtual alias which may cause data corruption
on R5000/Rm52xx machines:
- Add a new global variable mips_cache_virtual_alias in mips/cache.c,
  which indicates that VIPT cache on the CPU could cause virtual alias
  and software support is required to handle it. (i.e. no VCED/VCEI)
- Add several cache flush/invalidate ops around KSEG0 access which
  might cause virtual alias if mips_cache_virtual_alias is true.
  (note checking mips_sdcache_line_size isn't valid for R5000/Rm52xx
   because only R4000/R4400 with L2 cache have VCED/VCEI)
- Remove a global variable mips_sdcache_forceinv, which is now superseded
  by new mips_cache_virtual_alias.

While here, also change some R4000/R4400 cache ops:
- Don't override mips_cache_alias_mask and mips_cache_prefer_mask with
  values based on MIPS3_MAX_PCACHE_SIZE for R4000/R4400 with L2 cache
  because it's still worth to reduce VCED/VCEI.
- Flush dcache in pmap_zero_page(9) unconditionally on all MIPS_HAS_R4K_MMU
  CPUs and remove cache flush code from cpu_lwp_fork() in vm_machdep.c.

Thanks to Markus W Kilbinger for testing patches on port-cobalt/port-mips.


XXX This fix is just a workaround because it doesn't handle all possible
XXX virtual aliases. As discussed on port-mips, maybe the real fix
XXX for virtual alias is to change MI UVM to adapt it to VIPT cache.
XXX (all VA mappings against the same PA must have the same VAC index etc.)
2005-03-26 09:51:02 +00:00
isaki
5067941219 Avoid the brace expansion on OpenBSD.
approved by sjg@.
2005-03-26 06:02:13 +00:00
fvdl
c487efe4a7 Fix some things regarding COMPAT_NETBSD32 and limits/VM addresses.
* For sparc64 and amd64, define *SIZ32 VM constants.
* Add a new function pointer to struct emul, pointing at a function
  that will return the default VM map address. The default function
  is uvm_map_defaultaddr, which just uses the VM_DEFAULT_ADDRESS
  macro. This gives emulations control over the default map address,
  and allows things to be mapped at the right address (in 32bit range)
  for COMPAT_NETBSD32.
* Add code to adjust the data and stack limits when a COMPAT_NETBSD32
  or COMPAT_SVR4_32 binary is executed.
* Don't use USRSTACK in kern_resource.c, use p_vmspace->vm_minsaddr
  instead (emulations might have set it differently)
* Since this changes struct emul, bump kernel version to 3.99.2

Tested on amd64, compile-tested on sparc64.
2005-03-26 05:12:34 +00:00
christos
049130f10b change some ints to size_t 2005-03-26 04:38:21 +00:00
christos
24ae046714 move an assignment up. 2005-03-26 04:37:04 +00:00
christos
55ef051c47 s/u_int32_t/uint32_t/
kill the rest of u32,u16,u8
2005-03-26 03:48:44 +00:00
christos
b97f63a242 Regen for OpenSSL 0.9.7f 2005-03-26 03:26:46 +00:00
christos
112f814bfd bump libcrypto. 2005-03-26 02:24:10 +00:00
christos
9b98d82f76 s/u32/u_int32_t/ 2005-03-26 02:23:06 +00:00
christos
c6a84da3bd Don't define FIPS_selftest_failed locally. 2005-03-26 02:22:42 +00:00
christos
039caef355 bump minor. 2005-03-26 02:22:01 +00:00
christos
1adff5028c enable FIPS. 2005-03-26 02:21:34 +00:00
christos
01d5ed066a Compile with -DOPENSSL_FIPS 2005-03-26 02:21:11 +00:00
christos
d6b9d6afcb der_chop is minced meat. 2005-03-26 00:33:44 +00:00
christos
375c0a113d der_chop is gone. 2005-03-26 00:32:35 +00:00
wiz
de60b309dc Sort options. Add -C to usage. 2005-03-25 23:55:02 +00:00
wiz
eb0439126c Fix typo and drop trailing whitespace. 2005-03-25 23:49:28 +00:00
cube
2817c9a11a List attimer(4) and cross-reference it. Pointed out by Thomas Klausner. 2005-03-25 23:38:32 +00:00
cube
76083f1d54 Add a manpage for attimer(4), and cross-reference it from pcppi(4). 2005-03-25 23:30:55 +00:00
cube
78f44cbe4f Add attimer(4) configurations everywhere pcppi(4) exists, with the
following rule:
  If a pcppi device is enabled for an attachment, enable an attimer for the
  same attachement, otherwise comment it.
2005-03-25 23:28:43 +00:00
cube
d2d1a8c05c Make pcppi(4) use attimer(4) to set the pitch of the bell.
In case you don't configure an attimer(4) device in your kernel config,
you will simply lose the ability to set the pitch.  It will still beep.
2005-03-25 23:09:00 +00:00
tron
f0c491ff32 Add new files installed after import of XFree86 4.5.0. 2005-03-25 23:08:22 +00:00
cube
ff524d301a Add attimer(4) to the list. 2005-03-25 23:07:17 +00:00
cube
040e3b19e5 Add attimer(4) driver, with ISA and ACPI attachments.
attimer(4) is the new body of the part of pcppi(4) that mapped the TIMER1
register to set the pitch of the bell.  It was necessary to separate them
in order to have a working ACPI attachment (as the two appear as different
devices in the ACPI structures).
2005-03-25 23:06:19 +00:00
christos
514fe26b5c The last broken merge. 2005-03-25 23:03:47 +00:00
skd
4f9669ed8d add --dry-run like gnu patch. 2005-03-25 23:00:55 +00:00
christos
b279845eed Don't free the wrong lock. Pointed out by Konrad Schroder 2005-03-25 22:48:23 +00:00
christos
9b98663df7 add prime.c 2005-03-25 22:36:54 +00:00
christos
2674f87be1 Fix merge issue. 2005-03-25 21:54:20 +00:00
christos
db19fc60e2 Missed 2 #ifdef OPENSSL_FIPS... 2005-03-25 20:19:51 +00:00
perseant
7f73a7b740 "#define lfs_devvp lfs_unlockvp" for readability, since that's what we
use it for in fsck_lfs/newfs_lfs.
2005-03-25 20:17:58 +00:00
christos
a5a29c7f7d mention new openssl. 2005-03-25 20:17:07 +00:00
perseant
dcba0206d6 "#define lfs_devvp lfs_unlockvp" for readability, since that's what we
use it for in fsck_lfs/newfs_lfs.
2005-03-25 20:16:37 +00:00
tron
f1f5ecd1a9 We must check for "${MACHINE}" and not "${MACHINE_ARCH}" of course to
decide about port specific obsolete lists.
2005-03-25 20:15:20 +00:00
perseant
3118a7b178 Make fsck_lfs optimize the inode free list, if it appears to have become
too disordered.  This should improve file creation speed on aged filesystems.
Include code to disorder the list for debugging purposes, though this is
of course not compiled in by default.
2005-03-25 20:14:43 +00:00
christos
4d2554560d Add fips include files, needed for compilation only. FIPS is not enabled
right now, but we will enable it later (adding -DOPENSSL_FIPS).
2005-03-25 20:14:40 +00:00
christos
684dfceb07 Resolve conflicts. 2005-03-25 20:14:24 +00:00
christos
ab5e9c0298 add fips openssl include files. 2005-03-25 20:13:21 +00:00
christos
e72fb54032 import openssl-0.9.7f from ftp.openssl.org 2005-03-25 19:05:51 +00:00
tron
ea41f5798a Add new files installed after import of XFree86 4.5.0. 2005-03-25 19:01:53 +00:00
christos
8e3cd7a471 PR/29682: sigsegv: /usr/bin/file does not seem to understand some fields
of an ELF binary. Someone ate my !
2005-03-25 18:07:09 +00:00
tsutsui
120ecb16f8 Switch cobalt port to use MI pci_configure_bus(9)
with options PCI_NETBSD_CONFIGURE.
Patch from KIYOHARA Takashi on port-cobalt.

This change makes siop(4) (and maybe all other PCI devices
using pci mem space) work on cobalt.
2005-03-25 15:01:57 +00:00
tsutsui
69528d1dad Allow MD PCI code to specify or disable PCI_COMMAND_PARITY_ENABLE
and PCI_CMMAND_SERR_ENABLE in MI pci_configure_bus(9).
Patch from PR kern/27423 by KIYOHARA Takashi with some changes by me,
approved by Allen Briggs.
2005-03-25 14:51:39 +00:00
yamt
2e2956423c don't bother to allocate gdt slots for tss
as we don't actually use them.
2005-03-25 10:27:03 +00:00
perseant
bb7bbb2d16 Don't sleep while holding the vnode interlock. Should take care of the
first panic case in PR #26043.
2005-03-25 01:45:05 +00:00
wiz
2dfd7528cf Bump date for previous. 2005-03-24 22:37:12 +00:00