Commit Graph

93452 Commits

Author SHA1 Message Date
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
thorpej
547d71b6c7 Use ${PRINTOBJDIR}. 2002-03-05 21:53:56 +00:00
thorpej
5ab89c4a4a No need to reference .OBJDIR here. 2002-03-05 21:29:56 +00:00
tv
d26369c142 Historic typo: "unfo" -> "undo" 2002-03-05 21:29:32 +00:00
wiz
ae38aa875b Use warn() instead of perror(). 2002-03-05 21:29:30 +00:00
thorpej
0e02b70640 No need to reference .OBJDIR here. 2002-03-05 21:28:12 +00:00
thorpej
84be4d4719 Fix size/padding of .data. From Nick. 2002-03-05 21:26:11 +00:00
thorpej
9656b77394 No need to reference .OBJDIR here. 2002-03-05 21:25:08 +00:00
thorpej
1d1d02da94 Make sure <bsd.own.mk> is pulled in before ${PRINTOBJDIR} is used. 2002-03-05 21:23:28 +00:00
wiz
b6e7b17180 KNF: No space after casts. 2002-03-05 21:18:14 +00:00
thorpej
0d1f6a757d Use ${PRINTOBJDIR}. 2002-03-05 21:16:51 +00:00