diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2001-12-06 01:02:51 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2001-12-06 01:02:51 +0000 |
commit | 0968f40508bf056b1f0c7a4c07d73b9883b033e8 (patch) | |
tree | 5fd49f35d3bdaddf4f4f38002af5c2da48d3033d /sys | |
parent | 0d0bb2e2ae206bdb4b7be2f49b7a64c635527f32 (diff) |
Reality updated: no nedd to speak about "old" machines and "current" machines
as the hp300 series are extinct, remove more dead options, clarify other,
etc.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/hp300/DOC/Options | 68 | ||||
-rw-r--r-- | sys/arch/hp300/DOC/Pmap.notes | 44 | ||||
-rw-r--r-- | sys/arch/hp300/DOC/README | 8 |
3 files changed, 27 insertions, 93 deletions
diff --git a/sys/arch/hp300/DOC/Options b/sys/arch/hp300/DOC/Options index 8d8b577352e..6e4d08dbe81 100644 --- a/sys/arch/hp300/DOC/Options +++ b/sys/arch/hp300/DOC/Options @@ -1,48 +1,47 @@ -$OpenBSD: Options,v 1.9 2001/08/19 17:07:02 miod Exp $ +$OpenBSD: Options,v 1.10 2001/12/06 01:02:50 miod Exp $ $NetBSD: Options,v 1.7 1997/09/12 08:04:12 mycroft Exp $ -Here is a list of hp300 specific kernel compilation options and what they +Here is a list of HP300 specific kernel compilation options and what they mean: HP320 - Support for old hp320 machines: 16mhz 68020, HP MMU, 16mhz 68881 - and VAC. Compiles in support for a VAC, HP MMU, and the 98620A - 16-bit DMA channel. + Support for HP320 machines: 16MHz 68020, HP MMU, 16MHz 68881 and VAC. + Compiles in support for a VAC, HP MMU, and the 98620A 16-bit DMA + channel. HP350 - Support for old hp350 machines: 25mhz 68020, HP MMU, 20mhz 68881 - and VAC. Compiles in support for a VAC and the HP MMU. Differs - from HP320 in that it has no support for 16-bit DMA controller. + Support for HP350 machines: 25MHz 68020, HP MMU, 20MHz 68881 and VAC. + Compiles in support for a VAC and the HP MMU. Differs from HP320 in + that it has no support for 16-bit DMA controller. HP330 - Support for old hp330 (and 318/319) machines: 16mhz 68020, 68551 PMMU - and 16mhz 68881. Compiles in support for PMMU. + Support for HP330 (and 318, 319) machines: 16MHz 68020, 68851 PMMU + and 16MHz 68881. Compiles in support for PMMU. HP340 -HP360 - Support for old 340 and hp360 machines: 25mhz 68030+MMU and 25mhz - 68882. Compiles in support for PMMU and 68030. Differs from HP330 - in support for 68030 on-chip data cache. + Support for HP340 machines: 25MHz 68030+MMU and 25MHz 68882. Compiles + in support for PMMU and 68030. Differs from HP330 in support for + 68030 on-chip data cache. +HP345 +HP360 HP370 - Support for old hp370 (and current 345/375/400) machines: 33 (50) mhz - 68030+MMU and 33 (50) mhz 68882. Compiles in support for PMMU, 68030 - and off-chip physically addressed cache. Differs from 360 in only one - place, in dealing with flushing the external cache. +HP375 +HP400 + Support for HP345, 360, 370, 375 and 400 machines: 33 (or 50) MHz + 68030+MMU and 33 (or 50) MHz 68882. Compiles in support for PMMU, + 68030 and off-chip physically addressed cache. Differs from 340 + in only one place, in dealing with flushing the external cache. HP380 HP385 - Support for "current" hp380/425/385/433 machines: 25 (33) mhz 68040 +HP425 +HP433 + Support for HP380, 385, 425 and 433 machines: 25 (or 33) MHz 68040 with MMU/FPU. Compiles in support for 68040. -FPSP - Compiles in support to link with Motorola's 68040 FP emulation - library. Kernel will build and run without this option, but many - binaries will core dump. Should not be defined unless HP380 is. - - USELEDS - Twinkle the hp4xx front panel (or hp3xx internal) LEDs in the HP + Twinkle the HP4xx front panel (or HP3xx internal) LEDs in the HP designated way. Somewhat frivolous, but the heartbeat LED is useful to see if your machine is alive. @@ -52,7 +51,7 @@ DEBUG COMPAT_HPUX Enables HP-UX binary compatibility mode. Allows a variety of - "recent" HP-UX binaries to be run unchanged. Due to the + "recent" HP-UX m68k binaries to be run unchanged. Due to the evolutionary and "as-needed" nature of this code, "recent" is anywhere from release 6.2 to 8.0 of HP-UX. It will run 8.0 shared-library binaries (assuming all the necessary shared-libraries @@ -65,18 +64,3 @@ DCMSTATS WAITHIST Compile in code to collect statistics about the distribution of wait-times for various busy waits in the SCSI host-adaptor driver. - -SCSI_REVPRI - Changes autoconf to start matching logical SCSI devices starting - at slave 6 and working backwards instead of starting at slave 0 - and working up. Later releases of the HP boot ROM search for - boot devices in this manner. This is apparently the order in - which priority is given to slaves on the host adaptor. Define - this if you use wildcarding and want to stay in sync with the - boot ROM's strategy. - -MAPPEDCOPY - Use page remapping to do large copyin/copyouts. When defined - the default is to use mapped copy for operations on one page - or more except on machines with virtually-indexed caches. - See initcpu() in machdep.c diff --git a/sys/arch/hp300/DOC/Pmap.notes b/sys/arch/hp300/DOC/Pmap.notes deleted file mode 100644 index a494683c49a..00000000000 --- a/sys/arch/hp300/DOC/Pmap.notes +++ /dev/null @@ -1,44 +0,0 @@ -$OpenBSD: Pmap.notes,v 1.2 1997/01/12 15:12:10 downsj Exp $ -$NetBSD: Pmap.notes,v 1.2 1994/10/26 07:22:54 cgd Exp $ - -Following are some observations about the the BSD hp300 pmap module that -may prove useful for other pmap modules: - -1. pmap_remove should be efficient with large, sparsely populated ranges. - - Profiling of exec/exit intensive work loads showed that much time was - being spent in pmap_remove. This was primarily due to calls from exec - when deallocating the stack segment. Since the current implementation - of the stack is to "lazy allocate" the maximum possible stack size - (typically 16-32mb) when the process is created, pmap_remove will be - called with a large chunk of largely empty address space. It is - important that this routine be able to quickly skip over large chunks - of allocated but unpopulated VA space. The hp300 pmap module did check - for unpopulated "segments" (which map 4mb chunks) and skipped them fairly - efficiently but once it found a valid segment descriptor (STE), it rather - clumsily moved forward over the PTEs mapping that segment. Particularly - bad was that for every PTE it would recheck that the STE was valid even - though we should already know that. - - pmap_protect can benefit from similar optimizations though it is - (currently) not called with large regions. - - Another solution would be to change the way stack allocation is done - (i.e. don't preallocate the entire address range) but I think it is - important to be able to efficiently support such large, spare ranges - that might show up in other applications (e.g. a randomly accessed - large mapped file). - -2. Bit operations (i.e. ~,&,|) are more efficient than bitfields. - - This is a 68k/gcc issue, but if you are trying to squeeze out maximum - performance... - -3. Don't flush TLB/caches for inactive mappings. - - On the hp300 the TLBs are either designed as, or used in such a way that, - they are flushed on every context switch (i.e. there are no "process - tags") Hence, doing TLB flushes on mappings that aren't associated with - either the kernel or the currently running process are a waste. Seems - pretty obvious but I missed it for many years. An analogous argument - applies to flushing untagged virtually addressed caches (ala the 320/350). diff --git a/sys/arch/hp300/DOC/README b/sys/arch/hp300/DOC/README index 044c85f40ab..33c94691754 100644 --- a/sys/arch/hp300/DOC/README +++ b/sys/arch/hp300/DOC/README @@ -1,4 +1,4 @@ -$OpenBSD: README,v 1.2 1997/01/12 15:12:11 downsj Exp $ +$OpenBSD: README,v 1.3 2001/12/06 01:02:50 miod Exp $ $NetBSD: README,v 1.2 1994/10/26 07:22:55 cgd Exp $ This directory contains random snippets related to various hp300 issues. @@ -13,14 +13,8 @@ Options Kernel configuration options that are either defined in the prototype makefile or that can be specified in a config file. -Pmap.notes Some (mostly HP-specific) observations I made while cleaning - up the hp300 pmap module. - README This. -README.68040 Notes and copyright information for the 68040 floating point - emulation package. - TODO.dev A fairly ancient list of projects related to IO devices. TODO.hp300 A much more up do date list of general hp300 projects. |