Commit Graph

62666 Commits

Author SHA1 Message Date
is 91d927ae42 synchronize to GENERIC 2000-03-28 20:17:14 +00:00
tron d344de0b31 Use an equal probability single draw algorithm to get card from deck.
Patch supplied by John Darrow in PR bin/9651.
2000-03-28 19:37:54 +00:00
thorpej 6b45fb25a9 The assembler understands rdmsr, wrmsr, rdtsc, and rdpmc, so there's
no need to use .byte.
2000-03-28 19:17:29 +00:00
thorpej fd21635b22 Extern cpu_id and cpu_vendor[] here. 2000-03-28 19:16:05 +00:00
thorpej a142c171d0 Add: cmpxchg8b, wrmsr, rdtsc, rdmsr, rdpmc, rsm. From FreeBSD. 2000-03-28 19:15:40 +00:00
kleink 7e35a43e67 In mmap(), bail out with EOVERFLOW when mapping a regular file and the file
offset plus mapping length cannot be represented in an off_t.
2000-03-28 18:45:19 +00:00
kleink 2e68f6172e Cast timeval members to types we know the printf conversions of. 2000-03-28 18:39:03 +00:00
augustss 61462c55a3 Get rid of a lot of register declarations.
(Why isn't this done everywhere in the kernel already?)
2000-03-28 17:30:10 +00:00
augustss fc39329153 Change a printf() to a panic() since the kernel is going to die on the next
line anyway.
2000-03-28 17:24:46 +00:00
augustss f606c26834 Be more defensive in a DIAGNOSTIC test. 2000-03-28 17:07:04 +00:00
fredb 630e63cb47 Don't include ${RELEASDIR} in INSTALLATION_DIRS. Error pointed out by
Urban Boquist in PR install/9689.
2000-03-28 16:26:30 +00:00
ws 39d088cbd3 Provide some form of documentation for IPKDB. 2000-03-28 14:21:46 +00:00
augustss 37e4821c88 The list is growing... 2000-03-28 10:54:35 +00:00
augustss c2f90d0d43 Correct a debug message. 2000-03-28 10:53:59 +00:00
augustss 9609f4caa2 Add a comment. 2000-03-28 09:48:25 +00:00
augustss 3316da3988 Another patch for xfer abort...
XXX The current xfer queueing and aborting semantics should really
XXX be changed.  It cannot be implemented in a sane way on UHCI.
XXX One day when I have lots of time I'll redesign it...
2000-03-28 09:47:10 +00:00
simonb 071bde5df6 Don't need to declare nblkdev, nchrdev - these are in <sys/systm.h>. 2000-03-28 06:26:22 +00:00
simonb 36da923c2e Declare nbuf, buf, buffers and bufpages as extern. 2000-03-28 06:03:46 +00:00
simonb 780338f278 Remove duplicate declaration if uvm_swapin() - it's in <uvm/uvm_extern.h>.
Extern the declaration of initproc.
2000-03-28 06:01:05 +00:00
nisimura 1b0c1f4d0d Abandon the initial microscale optimization of pmap_alloc_asid(),
leaving the second change intact.  It'd be rather less costly to
extend the case analysis.
2000-03-28 05:58:33 +00:00
simonb 9dad451e2a Declarations of ctty{open,read,write,ioctl,poll} are covered by the
cdev_decl(ctty) in <sys/comf.h>.
2000-03-28 05:52:15 +00:00
simonb 9c9a99b549 Remove duplicate declaration of vattr_null() - it's declared with the
other prototypes in this file.  Extern the declaration of mntvnode_slock.
2000-03-28 05:49:30 +00:00
simonb 841d52b4e5 Declare the SysV IPC *info structures and shmsegs pointer as extern.
Add declaration for shmsegs to param.c after shminfo structure.
2000-03-28 05:14:03 +00:00
simonb 19a3051b02 Remove duplicate declarations of sysctl_rdstring() and sysctl_rdstruct(). 2000-03-28 05:07:42 +00:00
simonb 2f3d12c48c Remove duplicate declaration of sonewconn1() - there's another further
down in the same file with all the other prototypes!
2000-03-28 05:06:20 +00:00
simonb 7ca71558eb Remove prototype for pfctlinput() - there's already one in
sys/protosw.h with the other pf*() prototypes.
2000-03-28 05:04:45 +00:00
simonb 6060929e8e Move fpcurproc declaration to <mips/cpu.h>. 2000-03-28 03:11:26 +00:00
simonb ef89d70178 Don't `extern' function declarations. While we're there, remove trailing
blank lines and white space.
2000-03-28 02:58:44 +00:00
simonb ea6aa0dc3c Use the recent alpha solution to getting the printf() format right in
mips_init_msgbuf().
2000-03-28 02:53:18 +00:00
thorpej 0c4b7c7531 Add functions to read the TSC and Performance Counters. 2000-03-28 01:38:22 +00:00
enami 1dbed11dc4 - Use .Dq instead of hardcoding double quote.
- Sync the value of default PATH environment variable with _DEF_PATH
  defined in paths.h.
2000-03-28 01:25:00 +00:00
enami df4907ec58 UVM is no longer a controll variable. 2000-03-28 01:21:36 +00:00
simonb 338105f94b Make declaration of curpcb variable extern. 2000-03-28 01:06:04 +00:00
simonb a833cd73e8 Remove duplicate declaration of pmap_is_page_ro() (in <mips/pte.h> and
pmap_zero_page() (in <vm/pmap.h>).
2000-03-28 01:04:22 +00:00
nisimura 464669d1ef The previous microscale optimazation in pmap_asid_alloc() was
half-baked and resulted in one superfluous ASID bump if new pmaps
are created when pmap_asid_generation > 0.   Need to initialize pmap
fields correctly.

Yet, this possibly might not be the perfect solution.  If one
process bumped pmap_asid_generation _after_ a new pmap was created
and initialized with then-current pmap_asid_generation value.  In
that case, the new pmap would have another (superfluous) ASID bump
when 2nd (not 1st) CPU tick is assigned.  I'm not sure if this case
would happen.

Have pmap_max_asid variable to hold the maximum number of ASID
(TLBpid) supported by processor anticipating the possible runtime
cost of ((CPUISMIPS3)? MIPS3_TLB_NUM_ASIDS : MIPS1_TLB_NUM_PIDS).
2000-03-28 01:00:00 +00:00
simonb 8ae7eeef11 Remove redundant declarations of mips3_cycle_count(), stacktrace(),
logstacktrace(), mips_idle() and cpu_switch() - these are already
declared in various header files.
2000-03-28 00:55:33 +00:00
simonb d0e1814cba Remove duplication declarations of Sysmap and Sysmapsize - these are
in <mips/pte.h>
2000-03-28 00:52:57 +00:00
thorpej 47cd48f3db Use distrib/sets/Makefile in the release: and new cryptoset: targets. 2000-03-28 00:39:17 +00:00
thorpej 5c4ddfff99 Make doing a few things here (e.g. checkflist) a little easier. This
determines which crypto set to build based on <bsd.crypto.mk> and invokes
the programs with the various correct options.

Not complete yet, but a good starting point for a few things, and a little
more flexible than the method used in the release: target in etc/Makefile.
2000-03-28 00:38:06 +00:00
thorpej e1e415963d Add an option of the `secr' set (but default it to OFF), and allow the
kernel/base/etc sets to be toggled.
2000-03-28 00:29:53 +00:00
nisimura 73fa1ce87f Change 'goto cpu_switch1' to 'goto cpu_switch_queuescan' in vr_idle.S
and make the jump destination global.
2000-03-28 00:24:04 +00:00
thorpej f4f96605b9 Add/correct some MSRs, from Intel Architecture Software Developer's Manual,
Volume 3 (System Programming).
2000-03-27 23:15:57 +00:00
augustss 28a87e2fdb Use default timeout for transfers. 2000-03-27 22:44:01 +00:00
augustss 568b4d8190 Be a little more careful when aborting.
Preallocate some TDs for large buffers.
2000-03-27 22:42:57 +00:00
augustss 8456fa4709 Add a flag for umass debugging. 2000-03-27 22:40:48 +00:00
scottr 10c763efa3 The declaration for esp has moved to conf/files. (Hi Charles!) 2000-03-27 21:47:46 +00:00
msaitoh 96b85dc028 set major number of /dev/console to 0 (not 8 (com)) 2000-03-27 19:35:25 +00:00
msaitoh 52b61c34d2 set MKLINKLIB = "no" only if ${MKPIC} != "no" 2000-03-27 19:15:32 +00:00
msaitoh 60ad3dbe9a set DWARF_LINE_MIN_INSTR_LENGTH to 2 because the length of instruction
is fixed to 16bits.
2000-03-27 18:40:41 +00:00
jdolecek 07fd899a7f Add new CLUST_END and use it as parameter to pcbmap() when searching
for end cluster, instead of explicitly passing 0xffff. This fixes potential
problem for FAT32, where cluster number may be legally bigger than 0xffff.

Also change clusteralloc() so that fillwith is not explicitly passed by caller
anymore (there is no need to use anything other than CLUST_EOFE).

Reviewed by: Wolfgang Solfrank
2000-03-27 17:40:26 +00:00