atatat
31144d9976
Convert ioctl code to use EPASSTHROUGH instead of -1 or ENOTTY for
...
indicating an unhandled "command". ERESTART is -1, which can lead to
confusion. ERESTART has been moved to -3 and EPASSTHROUGH has been
placed at -4. No ioctl code should now return -1 anywhere. The
ioctl() system call is now properly restartable.
2002-03-17 19:40:26 +00:00
simonb
889c658b5b
Change the kernel mmap interface so that the offset to map is an
...
"off_t" and the return value is a "paddr_t" to allow mappings
at offsets past 2^31 bytes. Somewhat inspired by FreeBSD, which
only changed the offset to a "vm_offset_t".
Includes updates for the i386, pc532 and sh3 mmmmap from Jason Thorpe.
2000-06-26 04:55:19 +00:00
thomas
75c4b3bf70
Changed grf mmap that it is closer to XFree. VGA memory on et4000/et6000
...
is now at offset 0xa0000.
1998-12-20 14:32:34 +00:00
leo
7c2c0c846c
- Provide the reasonable size that can/may be mmap-ed. This might differ
...
from the current frame buffer size.
- The et-driver now allows for a 16Kb io-region (was 8Kb) that can be
mapped. The XFree server uses this.
1997-04-25 19:25:38 +00:00
leo
2fa61d9691
Allow the control registers to be mapped too.
1997-01-10 21:00:36 +00:00
christos
17f5b2a175
backout previous kprintf changes
1996-10-13 04:10:34 +00:00
christos
60dd5ceebe
printf -> kprintf, sprintf -> ksprintf
1996-10-11 00:06:28 +00:00
leo
3b5c181c8b
Checkpointing my et4000 work. Note that the et-console will not be
...
functional until the minimal pci-support is checked in.
1996-10-04 07:27:52 +00:00
leo
8e7f6c2cf5
Catchup with -current:
...
- Extra argument to boot()
- select -> poll
1996-09-25 15:03:20 +00:00
leo
ef074b3031
Prepare for (soon to come) et4000 PCI console.
1996-09-16 06:43:32 +00:00
leo
b3fadef7e0
Yet more prototyping and -Wall fixes.
1996-04-18 08:51:11 +00:00
leo
c9dfd5cb44
First bunch of changes due to stricter prototype checking.
1996-02-22 10:10:44 +00:00
leo
44d433786d
Remove 2 wrong proto-types.
1995-08-17 20:32:50 +00:00
leo
27a11d1735
Remove the pointer to view_t from the grf-structure, use viewview(dev)
...
to obtain the pointer instead. This removes a kernel-crash that happened
when something was written to the console while the console was being
resized.
1995-05-28 19:45:36 +00:00
leo
a1006d16dd
ite_newsize(): Do not reallocate a display when the actual display mode
...
will be the same. Fixes a nasty bug where ite0 and ite1 share the same
bitmap.
1995-05-21 11:00:13 +00:00
mycroft
1475e294a9
map --> mmap
1995-04-10 09:12:10 +00:00
leo
36592a50b1
Make ite ioctl work and fixup the colormap stuff.
1995-03-28 06:35:40 +00:00
leo
8b0113cfce
NetBSD/Atari, port by Leo Weppelman.
1995-03-26 07:12:03 +00:00