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
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