|
Last change
on this file was 7753, checked in by bird, 24 years ago |
|
Changed device driver names (so they won't normally clash with directory names).
|
|
File size:
993 bytes
|
| Line | |
|---|
| 1 | /* $Id: kKLInitHlp.h,v 1.6 2002-01-09 03:34:40 bird Exp $
|
|---|
| 2 | *
|
|---|
| 3 | * Definition of the R0 initiation helper IOCtl interface.
|
|---|
| 4 | *
|
|---|
| 5 | * Copyright (c) 2001 knut st. osmundsen (kosmunds@csc.com)
|
|---|
| 6 | *
|
|---|
| 7 | * Project Odin Software License can be found in LICENSE.TXT
|
|---|
| 8 | *
|
|---|
| 9 | */
|
|---|
| 10 |
|
|---|
| 11 | #ifndef _kKLInitHlp_h_
|
|---|
| 12 | #define _kKLInitHlp_h_
|
|---|
| 13 |
|
|---|
| 14 |
|
|---|
| 15 |
|
|---|
| 16 | /*
|
|---|
| 17 | * Ring 0 init helper IOCtl
|
|---|
| 18 | */
|
|---|
| 19 | #define KKL_DEVICE_NAME "\\dev\\$KrnlHlp"
|
|---|
| 20 | #define KKL_IOCTL_CAT 0xC1
|
|---|
| 21 | #define KKL_IOCTL_RING0INIT 0x42
|
|---|
| 22 |
|
|---|
| 23 |
|
|---|
| 24 | typedef struct _KKLR0INITPARAM
|
|---|
| 25 | {
|
|---|
| 26 | ULONG ulParam; /* 32-bit parameter word. */
|
|---|
| 27 | #ifdef INCL_16
|
|---|
| 28 | ULONG pfn; /* 16-bit C fix */
|
|---|
| 29 | #else
|
|---|
| 30 | int (* _System pfn)(); /* pointer to function to call. */
|
|---|
| 31 | #endif
|
|---|
| 32 | } KKLR0INITPARAM;
|
|---|
| 33 | typedef KKLR0INITPARAM FAR *PKKLR0INITPARAM;
|
|---|
| 34 |
|
|---|
| 35 |
|
|---|
| 36 | typedef struct _KKLR0INITDATA
|
|---|
| 37 | {
|
|---|
| 38 | ULONG ulRc; /* Return code from the call. */
|
|---|
| 39 | } KKLR0INITDATA;
|
|---|
| 40 | typedef KKLR0INITDATA FAR *PKKLR0INITDATA;
|
|---|
| 41 |
|
|---|
| 42 |
|
|---|
| 43 | #endif
|
|---|
| 44 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.