Commit Graph

105956 Commits

Author SHA1 Message Date
manu db18a73b3d Added vm_wire (unused yet) 2002-12-07 19:06:33 +00:00
manu 74a1ce8272 regen 2002-12-07 19:05:30 +00:00
manu e03fbf9432 The fp_status fasttrap is called processor_facilities_used in userland, and
we discovered the flags it was to collect. Now we need to emulate them, but
it is another story.

load_msr seems only used from kernel code.
2002-12-07 19:05:11 +00:00
junyoung 6b57b095ae Identify many Intel processors which were misidentified previously. 2002-12-07 15:36:20 +00:00
manu bb8dabd15a regen 2002-12-07 15:33:36 +00:00
manu 9b84721494 Added implementation for cthread_self() and cthread_set_self(). Theses are
used to get and set the thread user value, which is an opaque pointer to
a per thread structure stored in userland. cthread_self() is used by Darwin
as an implementation for pthread_self(), which return the thread id.

We use the p_emuldata field of struct proc in order to keep track of the
thread user value. For now the value is per-process, but we will make it
per-thread when we will take care of threading.

While we are there, do some KNF
2002-12-07 15:33:01 +00:00
junyoung 721f8f7979 Print processor signature (id) after clock frequency. 2002-12-07 15:18:08 +00:00
taca bb6e5ff73d OpenSSL version 0.9.6h released
===============================
OpenSSH 0.9.6h is out.

  OpenSSL - The Open Source toolkit for SSL/TLS
  http://www.openssl.org/

  The OpenSSL project team is pleased to announce the release of version
  0.9.6h of our open source toolkit for SSL/TLS.  This new OpenSSL version
  is a bugfix release.  This will be the last release in the 0.9.6 series.

  The most significant changes are:

      o New configuration targets for Tandem OSS and A/UX.
      o New OIDs for Microsoft attributes.
      o Better handling of SSL session caching.
      o Better comparison of distinguished names.
      o Better handling of shared libraries in a mixed GNU/non-GNU environment.
      o Support assembler code with Borland C.
      o Fixes for length problems.
      o Fixes for uninitialised variables.
      o Fixes for memory leaks, some unusual crashes and some race conditions.
      o Fixes for smaller building problems.
      o Updates of manuals, FAQ and other instructive documents.
2002-12-07 13:09:56 +00:00
tsutsui 40ca5f0895 - Add definitions RD_94_[PVS]_EISA_{IO,MEM} in rd94.h.
- J96A (Express5800/240 R4400 EISA) requires different method to access
  todclock from other NEC machines (it's similar with magnum),
  so handle it in p_nec_j96a.c.

Now my NEC Express5800/240 works. (and now I can test 53c700 SCSI.)
2002-12-07 13:09:46 +00:00
jdolecek 015545ffb2 Add description of struct netconfig.
This adresses PR lib/18501 by Benedikt Meurer

While here, finish mdocifying of the manpage. There is no .B, .I, .SB
in mdoc, and some items were missing in output due to that.
2002-12-07 12:21:45 +00:00
pk 6c8d3fba22 Use MI versions of {set,rem}runqueue(). 2002-12-07 10:27:03 +00:00
tsutsui d3fc98adb8 Remove local definition of MSG_IDENTIFY_LUNMASK, which is now defined in
MI dev/scsipi/scsi_message.h. Fixes kern/19313 from Lubomir Sedlacik.
2002-12-07 10:19:31 +00:00
toshii 21318640e1 Update xfer->frlengths for input isoc transfer. Based on patches from
SOMEYA Yoshihiko.
Also fix error handling for isoc transfer somewhat; usb_transfer_complete
shouldn't be called for more than once.
2002-12-07 07:33:20 +00:00
jmc a94542f191 Rename the commented out fwscsi -> sbpscsi (names changed once code was
committed)
2002-12-07 07:26:51 +00:00
toshii 44f269f8ff Fix several nits. Mostly from SOMEYA Yoshihiko.
- Call usbd_transfer_complete at splusb.
- Fix a botched for loop in ohci_rem_ed.
- In ohci_close_pipe, wait 1ms after removing an ED to avoid possible race
 condition.
2002-12-07 07:14:28 +00:00
toshii 384b45d203 Remove junk at the end of a DPRINTF. From SOMEYA Yoshihiko. 2002-12-07 06:52:11 +00:00
ichiro 170528a210 delete definition of STAILQ_ENTRY
previous defined sys/sys/queue.h
2002-12-07 01:40:24 +00:00
fvdl bc4bea2904 Remove duplicate define that crept in. 2002-12-06 23:04:16 +00:00
fvdl bcceca7072 Sync this with the FreeBSD version, adding a few aliases and new definitions. 2002-12-06 22:46:34 +00:00
christos 0948705ad2 s/NOSYMLINK/O_NOFOLLOW/ 2002-12-06 22:44:49 +00:00
christos b5b005c247 s/FNOSYMLINK/O_NOFOLLOW/ and allow it in open(2). For compatibility with other
BSD's
2002-12-06 22:43:35 +00:00
christos 9ae526c1f6 Provide O_NOFOLLOW with compatibility with the joneses. 2002-12-06 22:39:54 +00:00
fvdl 6b1bf68d9b Add STAILQ_*. Really the same as SIMPLEQ, but this syncs the API with FreeBSD. 2002-12-06 22:23:34 +00:00
tsutsui a9df47a02d Some cosmetics. 2002-12-06 17:57:28 +00:00
junyoung 43bc578d8b Get rid of #ifdef CPUDEBUG. CPU signature is always displayed. 2002-12-06 17:53:52 +00:00
pk 9ebe0ee7a6 ienab_bi[cs] are never used in a context common to both sun4/4c and sun4m,
so there's no point in constructing common entry points for them in locore.s.
2002-12-06 17:45:39 +00:00
scw 699eeb228c The temporary asm trampoline code is no longer needed. 2002-12-06 17:06:06 +00:00
scw 098d74e947 Fix the alignment of the MD_SECTION_PROLOGUE. 2002-12-06 17:05:14 +00:00
pk 1b719337bb Pass the `device class interrupt level' on to intr_establish() and use to
raise the ipl in the interrupt handlers to the appropriate level. This avoids
interrupt handler interference if one of the devices actually interrupts at
a lower hardware level than the maximum level assined to a device class.

Based on code from Art Grabowski in openbsd.
2002-12-06 16:04:11 +00:00
itohy 3e8cfbbf05 minor changes
fix typo
2002-12-06 16:03:52 +00:00
thorpej 8ddcb88aa5 Avoid conflict with reserved identifier "log". 2002-12-06 16:01:14 +00:00
itohy 0d63741702 The buf structure (<sys/buf.h>) is not flexible since it is designed for disks,
and use home-grown buffer structure.

Handle display orientation (normal or upside-down) appropriately
by making use of devinfo of base device.
If the LCD is at an expansion slot of a base unit
whose di_connector_direction == MAPLE_CONN_TOP,
the driver automatically rotates the bitmap.
You need not rotate the bitmap before passing to the driver (spec change).
2002-12-06 15:59:53 +00:00
itohy f972b5535e Pass devinfo of the base device (subunit == 0 of the same port)
to sub-drivers.
2002-12-06 15:49:31 +00:00
itohy 8f6d7bef0a The value of di_connector_direction is 1 for Dreamcast Gun, 0 for
other devices.  It looks like that the value represents the direction
of expansion units (Visual Memory, etc.).
Add definition of the directions.
2002-12-06 15:47:22 +00:00
pk 721e534a25 Use IPL_SOFTFDC. 2002-12-06 15:37:55 +00:00
pk e093913db8 Use IPL_SOFTAUDIO. 2002-12-06 15:37:39 +00:00
pk 060fa93542 Start using IPL_* constants from intr.h; phase out PIL_* in psl.h 2002-12-06 15:36:45 +00:00
thorpej f33f7a14c5 Avoid strict alias warning. 2002-12-06 15:21:08 +00:00
thorpej 4c278745df Avoid conflict with reserved identifier "logf". 2002-12-06 15:17:18 +00:00
thorpej 61456e3f52 Avoid conflict with reserved identifier "exp". 2002-12-06 15:15:29 +00:00
thorpej e733469648 Avoid strict alias warnings. 2002-12-06 15:12:56 +00:00
thorpej 47355062e5 Avoid strict alias warning. 2002-12-06 15:09:38 +00:00
thorpej 0f8f1290fe Avoid conflict with reserved identifier "log". 2002-12-06 15:00:14 +00:00
junyoung 6e278393ba Don't pollute struct cpu_info with throwaway variables. 2002-12-06 14:47:07 +00:00
drochner 10e96d1336 typo in comment 2002-12-06 14:05:34 +00:00
scw dc63c50793 After a discussion with various folks, fix the strict-alias warning
by ditching 'void *rt' and passing retval directly to sys_mmap().
2002-12-06 12:00:57 +00:00
ad 57d787eeac - Handle DPT ioctls from native NetBSD binaries.
- SCSI targets could disapper mid-way through autoconfig if the board
  notifed us of a changed LCT at the wrong time. Fix that.
2002-12-06 11:22:25 +00:00
tron 96ece1f13e Fix namespace collision caused by recent change to "linux_machdep.h". 2002-12-06 10:51:27 +00:00
scw 57c2c2b87f Add a hack at the end of setregs() which works around a bug which can,
under some circumstances, leave turds in the icache following vmspace
teardown.

It's not yet clear if this is a pmap bug or a toolchain problem since
the hack is unecessary when the kernel is compiled with -O0. Of course
that could just be masking the problem due to increased icache pressure...
2002-12-06 10:22:15 +00:00
scw f051850107 Avoid strict-alias warnings. 2002-12-06 10:14:10 +00:00