Last change
on this file was 99, checked in by phaller, 26 years ago |
Add: added cvs variable $Id$ to source files.
|
File size:
571 bytes
|
Rev | Line | |
---|
[99] | 1 | /* $Id: map.h,v 1.3 1999-06-10 19:11:30 phaller Exp $ */
|
---|
| 2 |
|
---|
[4] | 3 | /* Copyright (C) 1995 by Holger Veit (Holger.Veit@gmd.de)
|
---|
| 4 | * Use at your own risk! No Warranty! The author is not responsible for
|
---|
| 5 | * any damage or loss of data caused by proper or improper use of this
|
---|
| 6 | * device driver.
|
---|
| 7 | */
|
---|
| 8 | #ifndef _MAP_H_
|
---|
| 9 | #define _MAP_H_
|
---|
| 10 |
|
---|
| 11 | /* must include <os2.h> first */
|
---|
| 12 |
|
---|
| 13 | #define IOCTL_MAP 1
|
---|
| 14 | #define IOCTL_UMAP 2
|
---|
| 15 |
|
---|
| 16 | struct map_ioctl {
|
---|
| 17 | union {
|
---|
| 18 | ULONG phys;
|
---|
| 19 | void* user;
|
---|
| 20 | } a;
|
---|
| 21 | ULONG size;
|
---|
| 22 | };
|
---|
| 23 |
|
---|
| 24 | extern int mpioctl(HFILE fd, int func, struct map_ioctl* data);
|
---|
| 25 |
|
---|
| 26 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.