Commit Graph

65521 Commits

Author SHA1 Message Date
sommerfeld fae21c7be1 Let rnd(4) know how to read the (pentium and higher) cycle counter:
If __HAVE_CPU_TIMESTAMP is defined, <machine/rnd.h> exists and defines
two functions:
  1) 	u_int32_t cpu_timestamp(void);
returns the 32 low order bits of a reasonably high frequency counter.
  2)	int cpu_havetimestamp(void);
returns non-zero if cpu_timestamp() actually works.

The timestamp counter should run at a frequency greater than 1 MHz
(otherwise, microtime would be sufficient); other than that, the exact
frequency and origin of the counter are unspecified.
2000-06-05 21:15:22 +00:00
thorpej 814826fdda Fix typo. kern/10291. 2000-06-05 20:47:47 +00:00
pk 862a955e34 Re-arrange code to flush physically indexed caches:
* replace `flush by line' function with a `flush by page' funtion, which
  also takes an argument to indicate that write-back caches need not
  validate its backing memory.

* use this function when allocating page table memory to flush the cache
  before mapping it into kernel virtual space.

* also use it in pmap_{zero,copy}_page(), so we can safely use non-cacheable
  access in there.
2000-06-05 20:38:24 +00:00
mycroft 95c4357e1b Add kpop. 2000-06-05 18:12:57 +00:00
mycroft 0047d53157 Get rid of the stupid hack that makes this lose when ${CC} is more than one word. 2000-06-05 17:41:19 +00:00
thorpej a804b492ac Use CMSG_*() properly. 2000-06-05 17:21:38 +00:00
thorpej 0ffb5bb96d Use CMSG_*() correctly when sending file descriptors. 2000-06-05 16:30:43 +00:00
thorpej 0a3a6e34f8 Oops, missed a couple of places where CMSG_*() should be used. No
functional change in this case, but the code is now correct.
2000-06-05 16:29:45 +00:00
chs d4ffcd0cec change ifdef __sun3__ to sun3, since the former isn't defined on sun3.
(not that it matters, since the sun3 currently has its own copy of
these files anyway, but it's nice to be consistent.)
2000-06-05 15:58:43 +00:00
tsutsui 5138b1b1bb Well, this is esp_pcmcia, not esp_pci. 2000-06-05 15:36:45 +00:00
tsutsui a12331c461 Oops, struct scsipi_adapter was changed recently. 2000-06-05 15:19:42 +00:00
tsutsui 8c4d1bf1f9 Adapt MI ncr53c9x changes. 2000-06-05 15:08:00 +00:00
joda 9e1f399ada fix `#scsibus at siop?' line 2000-06-05 13:34:13 +00:00
kleink 0c86310df7 Pasto in previous. 2000-06-05 12:01:47 +00:00
kleink b72e2b11b8 Move orphaned information to tzset(3). 2000-06-05 11:56:13 +00:00
kleink ca3d9c7fa7 Regen. 2000-06-05 11:34:07 +00:00
kleink 428a7ca4e3 Add the ESS Maestro 3 product ID as well. 2000-06-05 11:33:35 +00:00
kleink 9b40e3731a Regen. 2000-06-05 11:31:15 +00:00
kleink be40495bb0 ESSTECH:
* add what's allegedly the Maestro 1's product ID.
* align product names with data sheets.
2000-06-05 11:29:28 +00:00
lukem 71c4464e3e - fix ai_unmapped() to be a no-op in the !def INET6 case
- display `(-INET6)' at the end of the version string if !def INET6
- clarify in the man page that IPv6 support may not be present (for lukemftp :)
2000-06-05 09:22:52 +00:00
itojun af6b403d46 backout change to in6_pcbnotify(). the change seems premature
(may cause trouble with advanced API in certain situation).
2000-06-05 08:09:48 +00:00
nisimura 4371d91433 Have MI ncr53c9x_attach() the 2nd and 3rd arguments for scsipi_adater
and scsipi_device respectively, with size reduction of ncr53c9x_softc.
Specifying NULL instructs the driver to use default adapter and default
device codes. Every target port has ncr53c9x_attach(sc, NULL, NULL) anyway.
2000-06-05 07:59:50 +00:00
pk 36a1354bc6 Change previous to use `vm_map_min(dstmap)' instead of hard-coding
VM_MIN_KERNEL_ADDRESS.
2000-06-05 07:28:56 +00:00
itojun 8987054176 pass struct proc * down to udp6_output and in6_pcbbind. 2000-06-05 06:38:22 +00:00
simonb ce00d9ac26 Add a cache ala pwcache(3). Gives a small but measurable performance
improvement for callers to devname(3) (eg ps(1)) under most circumstances.
2000-06-05 06:12:49 +00:00
thorpej 724a90318e - Fix file descriptor passing AGAIN. This has apparently been broken
on LP64 systems (and probably the SPARC) since the __cmsg_alignbytes()
  changes went in.
- Change file descriptor passing to use CMSG_DATA(), not (cm + 1).  This
  pretty much has to be done in order to make it work properly on LP64,
  and considering that it's been broken this long...
- Use CMSG_SPACE() to determine the mbuf length needed for a given
  control message, and CMSG_LEN() to stash in the cmsg_len member.
2000-06-05 06:06:07 +00:00
thorpej d20c2ec7d2 - Kill some warnings, and enable WARNS=1.
- Use CMSG_SPACE() and CMSG_DATA() properly; don't define structures
  to hold messages, which will not have the correct alignment after
  the cmsg header.
2000-06-05 06:01:42 +00:00
thorpej 934426175d - An initialized variable kept LOCAL_CREDS from being set on
the listen socket properly.  This caused spurious rpcbind(8)
  failures.
- Don't define a "credmsg" structure.  Instead, dynamically
  allocate a buffer of the correct size of the message with
  CMSG_SPACE() and free it when we're done.  This gets the
  size of the buffer right on LP64 platforms, which has padding
  for alignment thrown in.
- Check for non-present or truncated cred messages when recvmsg(2)
  returns.
2000-06-05 05:58:46 +00:00
simonb 7f7c61365d Now that the CPUSTATES info is in <sys/sched.h>, we don't need to include
<sys/dkstat.h> anymore.
2000-06-05 05:24:07 +00:00
matt 661884208a add support for counting soft interrupts 2000-06-05 03:45:23 +00:00
simonb 57301eb879 Add xntp 3.5 programs, libraries and doco to the obsolete list 2000-06-05 03:17:23 +00:00
matt 6204fa3c99 Update to new evcnt stuff 2000-06-05 02:28:19 +00:00
matt 2f85fe7adb Adjust to new evcnt stuff. 2000-06-05 00:09:17 +00:00
tron be033824b6 Use "NULL" instead of "0" in pointer assignments and comparisons. 2000-06-04 23:03:27 +00:00
gmcgarry efa5140d27 Document APM_ALLOW_BOGUS_SEGMENTS. Update description for APM_POWER_CHANGE,
addresses PR10066 from Takahiro Kambe <taca@sky.yamashina.kyoto.jp>.
2000-06-04 22:38:58 +00:00
gmcgarry 11382b8021 Add APM_ALLOW_BOGUS_SEGMENTS - allow the use of data segments which
are in unexpected locations.
2000-06-04 22:36:27 +00:00
gmcgarry 745e3fef63 pciiide -> pciide 2000-06-04 22:22:12 +00:00
gmcgarry a5156a5c97 Cleanup #if 0 cruft. 2000-06-04 22:21:09 +00:00
mycroft 43a543fa88 Implement CLKF_INTR(), to count interrupt time separately. 2000-06-04 21:27:38 +00:00
simonb fdd068aea6 Minor formatting nit. 2000-06-04 21:07:22 +00:00
matt ac621687a3 Add coff_machdep.h (now need due to the recent exec_coff changes). 2000-06-04 21:06:18 +00:00
ragge 1320a4106c Adopt to latest mba/hp changes. 2000-06-04 20:04:21 +00:00
ragge 79e7f9966d Adapt to mba changes. Fix assembler buf (EDIV uses 64-bit arg, not 32). 2000-06-04 19:58:17 +00:00
matt a8a863d4ea more cleanup. use __builtin_frame_address(0) instead of our funky
FRAMEOFFSET macro.  define an interrupt call frame and use that directly
instead of some magic offsets.  Make boot autoconf.o use the current
reality.
2000-06-04 19:30:14 +00:00
cgd 0d6c1f9870 This is the dawning of the age of Aquarius ... o/~ (evcnt bumps us to 1.4ZA) 2000-06-04 19:17:27 +00:00
cgd cffb580806 Implement the more flexiable `evcnt' interface as discussed (briefly) on
tech-kern and now documented in evcnt(9).
2000-06-04 19:14:14 +00:00
matt e2293f4ad0 Add a comment 2000-06-04 19:03:27 +00:00
mycroft 981f9b7d7b Use hline() and variants in a bunch of places. 2000-06-04 18:29:13 +00:00
ragge c46119030a Forward declaration of `struct proc'. 2000-06-04 18:27:39 +00:00
mycroft 796e1a63fa Fix a check so that holding down the space bar doesn't cause systat to lose. 2000-06-04 18:14:45 +00:00