Commit Graph

105823 Commits

Author SHA1 Message Date
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
scw 41085b101b fsina.s, fsrra.s and fcosa.s take single-precision operands, not double. 2002-12-06 10:12:13 +00:00
scw 87897c05fe Qualify ptel and tlbcookie fields with volatile since they are
modified by the TLB miss handler.
2002-12-06 10:10:48 +00:00
scw 04fd530ec5 Avoid strict-alias warnings. 2002-12-06 10:07:10 +00:00
scw 381d46a4d1 Hard-code the simulated cpu speed to some fictional value. 2002-12-06 10:06:27 +00:00
scw f88b19a600 Avoid strict-alias warnings. 2002-12-06 09:57:58 +00:00
scw f7aebc0017 Cast from register_t to void * via intptr_t. 2002-12-06 09:49:36 +00:00
jdolecek 79c873ff0a Make the release bits more complete for hpcsh & dreamcast.
Change sent by FUKAUMI Naoki in private e-mail, thanks.
2002-12-06 09:09:05 +00:00
simonb ae1eaadf08 Fix a typo in the PCI map array (no functionality changes in practice). 2002-12-06 05:46:47 +00:00
junyoung df482bbd8a Rename amd_cpuid_cpu_cacheinfo() to amd_cpu_cacheinfo(). 2002-12-06 05:03:02 +00:00
thorpej b7c1b899f2 Avoid strict alias warning. 2002-12-06 04:43:53 +00:00
thorpej eb4df29507 Avoid strict alias warnings. 2002-12-06 04:09:30 +00:00
thorpej 452f3dd1ad Avoid strict-alias warnings. 2002-12-06 04:06:13 +00:00
thorpej 6086842609 Avoid strict alias warnings. 2002-12-06 04:02:49 +00:00
erh 6278998229 kern/12837: Provide a way to get working devices that violate the usb spec by
returning a non-matching CSW tag.
Defined a quirk for this and set it for Scanlogic SL11R, which gets my
NEO Jukebox working.
2002-12-06 03:57:51 +00:00
thorpej eebbb33967 Avoid strict alias warnings. 2002-12-06 03:57:44 +00:00
thorpej 64011e3d60 Fix an LP64 bug-- "timeval" and "nfstime" are NOT equivalent on
NetBSD!
2002-12-06 03:57:24 +00:00
thorpej 2f1985f790 Avoid conflict with reserved identifier "log". 2002-12-06 03:50:35 +00:00
thorpej b33be07056 Avoid conflict with reserved identifier "log". 2002-12-06 03:39:06 +00:00
junyoung 9104ddf809 Fix compile error. 2002-12-06 03:37:19 +00:00
thorpej 8fb0e9f9e9 Include <string.h> for prototypes. 2002-12-06 03:27:39 +00:00
thorpej 7b3d93e318 Avoid a strict alias warning. 2002-12-06 03:24:42 +00:00
thorpej 29d4b591ea Avoid strict alias warning. 2002-12-06 03:21:43 +00:00
thorpej 9f3eaa5002 Remove extra args from a printf. 2002-12-06 03:13:14 +00:00
thorpej f393397bd6 Avoid confict with reserved identifier "log". 2002-12-06 03:09:28 +00:00
thorpej e0e584cdfa Avoid a trigraph, and fix printf formats. 2002-12-06 03:05:04 +00:00
thorpej 22887c3c29 Avoid strict alias warning. 2002-12-06 02:57:30 +00:00
thorpej 8d965a0542 Need <stdlib.h> for exit() prototype. 2002-12-06 02:54:19 +00:00
thorpej c7668999ad If we're preprocessing with cpp, it's not a very good idea to use
"#" as a comment character; use "//" in those places, instead.
2002-12-06 02:50:21 +00:00
junyoung 281fa073dc Display the extended feature flags with non-Intel processors rather than
the standard flags. See also PR#19163.

Before:

cpu0: AMD Athlon XP 1800+ (686-class), 1532.11 MHz
cpu0: features 383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR>
cpu0: features 383f9ff<PGE,MCA,CMOV,FGPAT,PSE36,MMX>
cpu0: features 383f9ff<FXSR,SSE>

After:

cpu0: AMD Athlon XP 1800+ (686-class), 1532.11 MHz
cpu0: features c3cbf9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR>
cpu0: features c3cbf9ff<PGE,MCA,CMOV,PAT,PSE36,MPC,MMXX,MMX>
cpu0: features c3cbf9ff<FXSR,SSE,3DNOW2,3DNOW>

While I'm here, amd_cpuid_cpu_cacheinfo() is an info function rather
than a probe function.
2002-12-06 02:38:25 +00:00
thorpej 7ae2f112dd Need <stdlib.h> for exit() prototype. 2002-12-06 02:26:14 +00:00
thorpej 92896efa64 Avoid strict alias warnings. 2002-12-06 02:20:43 +00:00
thorpej 764e56a614 Remove prototype for non-existent function log(). 2002-12-06 02:20:00 +00:00
jmc 5a69251dd8 Account for corner cases better in alloc_data_mapping and only ask for a 16s
reconnect time instead of 2^16s
2002-12-06 02:19:34 +00:00