Commit Graph

93612 Commits

Author SHA1 Message Date
lukem c8200aaa83 remove unnecessary stuff 2002-03-06 13:25:49 +00:00
lukem 87e13d110a Convert to new common ramdisk build infrastructure, which supports
unprivileged cross builds.

XXX: untested as yet; probably needs minor image sizing tweaks
2002-03-06 13:21:00 +00:00
lukem 29173b1fb0 add more IMAGEDEPENDS, and some more cosmetic tweaks 2002-03-06 13:17:01 +00:00
tsutsui 07b8153219 Change type of dumpmag and newdumpmag from int to u_int32_t
since they hold 32bit unsigned magic numbers. (sync with kernels)
2002-03-06 13:13:08 +00:00
lukem b627dc63c4 cosmetic tweak 2002-03-06 13:11:34 +00:00
tsutsui 3c8b0446fe Change type of dumpmag to u_int32_t since it is actually
a 32bit unsigned magic number.
As per discussion on tech-kern, and fixes port-sparc64/11949.
2002-03-06 13:10:18 +00:00
lukem 0a7bf05cec clarify why we avoid gethost.o from libhack 2002-03-06 13:09:34 +00:00
lukem b86c835122 replace local ${REV} with ${DISTRIBREV} from distrib/Makefile.inc 2002-03-06 12:39:10 +00:00
tsutsui c155b0375f Major overhaul of trm(4) driver:
- Change structures for each device to make them more suitable with
  our scsipi mid-layer.
- Use ADAPTER_REQ_SET_XFER_MODE callback.
- Cleanup misc functions/structures/style.

XXX Tagged queuieng support is disabled for now.
XXX Maybe we should have common library of the scsi protocol engine
XXX to share it among all other drivers..
2002-03-06 12:32:49 +00:00
lukem 92208672a9 don't need to provide ${REV} here anymore 2002-03-06 12:32:02 +00:00
lukem 044bc4a6c1 replace local ${REV} with ${DISTRIBREV} from distrib/Makefile.inc 2002-03-06 12:27:08 +00:00
lukem 49b82438e7 replace local ${REV} with ${DISTRIBREV} from distrib/Makefile.inc 2002-03-06 12:14:26 +00:00
lukem a8025d95ae Commit work-in-progess rototill of distrib/miniroot and associated machine
dependent files:

- Use infrastructure from distrib/common to build file system images with
  crunchgen-ed programs from a list file.

- Non root ("UNPRIVED") builds from a read-only source tree are possible,
  as makefs(8) replaces vnconfig(8)/vnd use, devices are generated using
  common/makedev2spec.awk, etc.

- Cross builds should be possible, except that some ports need cross-compile
  host tool versions of installboot and any appropriate host disk labelling
  tools.
	XXX: pmax, sparc and vax need fixing for this!

- This code has NOT YET BEEN TESTED on most of the ports.
  It should work, but it is extremely likely that the file system
  parameters may need tweaking to get things to fit.
  See MAKEFS_FLAGS in sparc/miniroot/Makefile.inc for an example.
  If assistance is required, please ask!
2002-03-06 12:04:48 +00:00
ad 01b2cec5c5 - System processes will never be matched.
- A dash given to `-t' matches processes with no controlling terminal.
2002-03-06 12:03:48 +00:00
ad eabe280b0e Exclude system processes when the match is inverted. 2002-03-06 12:02:18 +00:00
ragge 744110b40b License change; patch.c now has a BSD license.
From Larry Wall via Niklas Hallqvist, <niklas@appli.se>.
2002-03-06 12:01:03 +00:00
chris 09b5f7b740 Mostly style changes to stop us directly referencing tqh_first, and use TAILQ_FIRST instead. Based on rev 1.130 of the i386 pmap.c. 2002-03-06 10:55:21 +00:00
simonb 1c904f9d33 Use MIPS_PHYS_TO_KSEG1 instead of cfe's PHYS_TO_K1 macro. 2002-03-06 09:32:04 +00:00
martti c28dc34f7b Removed g711conv 2002-03-06 08:06:40 +00:00
simonb 4025359daa cgd notes that we shouldn't use the CPU xtal for calculating wall-clock
time - but as yet we don't attach the RTC becuase it's on an SMbus.
One for later...
2002-03-06 08:02:12 +00:00
simonb 52bf6c669b Neaten slightly. 2002-03-06 07:51:02 +00:00
simonb 2bf916e97d Implement a clkread() function for microtime() using a multu/mfhi
sequence using the reciprocal of the delay divisor to perform the
division.
Set the cp0 compare register so that it doesn't trigger interrupts and
reset the cp0 count register in the hardclock interrupt handler.
2002-03-06 07:47:57 +00:00
simonb 86cb239e4f Add a "clkread" function to the systemsw. 2002-03-06 07:35:13 +00:00
simonb 465e846051 Calculate the reciprocal of the divisor delay. From the comments:
To implement a more accurate microtime using the CP0 COUNT
	register we need to divide that register by the number of
	cycles per MHz.  But...

	DIV and DIVU are expensive on MIPS (eg 75 clocks on the
	R4000).  MULT and MULTU are only 12 clocks on the same CPU.
	On the SB1 these appear to be 40-72 clocks for DIV/DIVU and 3
	clocks for MUL/MULTU.

	The strategy we use to to calculate the reciprical of cycles
	per MHz, scaled by 1<<32.  Then we can simply issue a MULTU
	and pluck of the HI register and have the results of the
	division.
2002-03-06 07:34:36 +00:00
simonb feb24029e7 Add the offset of ci_divisor_delay in struct cpu_info. 2002-03-06 07:32:15 +00:00
simonb 78c9211fca Add a field for the reciprocal of the divisor delay for use by microtime. 2002-03-06 07:31:38 +00:00
itohy 1990961dc9 Fix ADPCM playback/recording. 2002-03-06 07:12:02 +00:00
thorpej 06c97a1e94 Make sure to pass $MACROS to the roff command. 2002-03-06 06:43:02 +00:00
nathanw 3be9fbe42e Move #include <dev/sysmon/sysmonvar.h> inside #ifdef _KERNEL. 2002-03-06 06:37:17 +00:00
nathanw 2a72ef3147 Remove a variable that is unused after the previous ALTQ commit. 2002-03-06 05:33:05 +00:00
lukem a0ce988331 COPYDIR: output "./destdir" not "./destdir/." for the first entry 2002-03-06 04:47:58 +00:00
lukem 23a0a8fb2e replace ${_SRC_TOP_}/distrib with ${DISTRIBDIR} 2002-03-06 04:29:35 +00:00
simonb be6459cce6 Use the divisor delay from curcpu() in the implementation of delay(). 2002-03-06 03:29:16 +00:00
simonb 8eb960909e Determine and display the CPU clock frequency from the "System
Identification and Revision Register", and set the frequency
related variables in curcpu info structure.
2002-03-06 03:27:34 +00:00
simonb 3fe666190f Wrap long line and remove a bogus XXX comment. 2002-03-06 03:25:09 +00:00
simonb f3e2fe6731 Add entry for sbmips. 2002-03-06 02:42:30 +00:00
simonb 24e9625626 Add entries for sbmips. 2002-03-06 02:41:00 +00:00
wiz 872e77e22e Remove some unnecessary lines. 2002-03-06 02:40:06 +00:00
simonb 5f24b78e43 Add "sbmips". 2002-03-06 02:37:51 +00:00
simonb 4b7a128684 A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm").  Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial.  Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
2002-03-06 02:13:37 +00:00
simonb 2c68c156c5 Only include <sys/exec_ecoff.h> if EXEC_ECOFF is defined.
Note that ELF is mandatory.
2002-03-06 00:22:09 +00:00
itojun e4446468a6 s/IPSec/IPsec/. 2002-03-06 00:21:36 +00:00
simonb 3ab34324e9 Remove a few unneeded include files. 2002-03-06 00:05:06 +00:00
wiz da6ea33f69 Remove g711conv (hi martin!) 2002-03-05 23:57:49 +00:00
simonb 1b5ddfe411 Add support for the on-chip peripherals on the Broadcom SiByte SB1250 CPU
and support routines for the Broadcom CFE (Common Firmware Environment).

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
2002-03-05 23:46:40 +00:00
nathanw 3f0d660168 Make the debugging printfs compile:
- printf format checking doesn't like %x for pointers; use %p like we should.
 - LP64 fixes.
2002-03-05 23:28:58 +00:00
martin c212a52a1e This tool is ~never used in reality.
There are far better alternatives in pkgsrc, for example audio/sox.
2002-03-05 22:36:58 +00:00
thorpej fe9b2e2bd7 No need to reference .OBJDIR here. 2002-03-05 22:07:13 +00:00
eeh 2f0ba3e1a2 More walnut-isms. 2002-03-05 22:02:25 +00:00
thorpej ae1b9528dc No need to reference .OBJDIR here. 2002-03-05 21:56:59 +00:00