#include "ki.h"
Go to the source code of this file.
Defines | |
#define | ALIGN_DOWN(address, amt) ((ULONG)(address) & ~(( amt ) - 1)) |
#define | ALIGN_UP(address, amt) (ALIGN_DOWN( (address + (amt) - 1), (amt) )) |
Functions | |
VOID | KiSetIoMap (IN PKIPI_CONTEXT SignalDone, IN PVOID MapSource, IN PVOID MapNumber, IN PVOID Parameter3) |
VOID | KiLoadIopmOffset (IN PKIPI_CONTEXT SignalDone, IN PVOID Parameter1, IN PVOID Parameter2, IN PVOID Parameter3) |
BOOLEAN | Ke386SetIoAccessMap (ULONG MapNumber, PKIO_ACCESS_MAP IoAccessMap) |
BOOLEAN | Ke386QueryIoAccessMap (ULONG MapNumber, PKIO_ACCESS_MAP IoAccessMap) |
BOOLEAN | Ke386IoSetAccessProcess (PKPROCESS Process, ULONG MapNumber) |
VOID | Ke386SetIOPL (IN PKPROCESS Process) |
|
Definition at line 36 of file i386/iopm.c. |
|
Definition at line 37 of file i386/iopm.c. |
|
Definition at line 318 of file i386/iopm.c. References _KPROCESS::ActiveProcessors, FALSE, KeGetCurrentPrcb, KiIpiSendPacket(), KiIpiStallOnPacketTargets(), KiLoadIopmOffset(), KiLockContextSwap, KiPcr, KiUnlockContextSwap, NULL, TRUE, and USHORT.
|
|
Definition at line 235 of file i386/iopm.c. References FALSE, KiLockContextSwap, KiPcr, KiUnlockContextSwap, and TRUE.
|
|
Definition at line 80 of file i386/iopm.c. References FALSE, KeActiveProcessors, KeGetCurrentPrcb, KiIpiSendPacket(), KiIpiStallOnPacketTargets(), KiLockContextSwap, KiPcr, KiSetIoMap(), KiUnlockContextSwap, NULL, and TRUE.
|
|
Definition at line 457 of file i386/iopm.c. References ALIGN_UP, _KTHREAD::ApcState, CONTEXT_CONTROL, _KTHREAD::InitialStack, _KTHREAD::Iopl, KeContextFromKframes(), KeContextToKframes(), KeGetCurrentThread, NULL, _KAPC_STATE::Process, and UserMode. Referenced by NtSetInformationProcess().
|
|
Definition at line 413 of file i386/iopm.c. References KeGetCurrentPrcb, KiIpiSignalPacketDone(), and KiPcr. Referenced by Ke386IoSetAccessProcess().
|
|
Definition at line 188 of file i386/iopm.c. References KeGetCurrentPrcb, KiIpiSignalPacketDone(), and KiPcr. Referenced by Ke386SetIoAccessMap().
|