| Line | |
|---|
| 1 | /* Copyright (C) 1995 by Holger Veit (Holger.Veit@gmd.de)
|
|---|
| 2 | * Use at your own risk! No Warranty! The author is not responsible for
|
|---|
| 3 | * any damage or loss of data caused by proper or improper use of this
|
|---|
| 4 | * device driver.
|
|---|
| 5 | */
|
|---|
| 6 | #ifndef _MAP_H_
|
|---|
| 7 | #define _MAP_H_
|
|---|
| 8 |
|
|---|
| 9 | /* must include <os2.h> first */
|
|---|
| 10 |
|
|---|
| 11 | #define IOCTL_MAP 1
|
|---|
| 12 | #define IOCTL_UMAP 2
|
|---|
| 13 |
|
|---|
| 14 | struct map_ioctl {
|
|---|
| 15 | union {
|
|---|
| 16 | ULONG phys;
|
|---|
| 17 | void* user;
|
|---|
| 18 | } a;
|
|---|
| 19 | ULONG size;
|
|---|
| 20 | };
|
|---|
| 21 |
|
|---|
| 22 | extern int mpioctl(HFILE fd, int func, struct map_ioctl* data);
|
|---|
| 23 |
|
|---|
| 24 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.