Files
nt-lite/code/public/ntlite/ddk/platform.h
T

22 lines
757 B
C

// Public nt-lite DDK platform declarations.
#pragma once
#include <stdint.h>
// Driver-visible platform services. PCI bus policy stays in pci.sys; these are
// only the raw platform hooks needed by the PCI bus driver itself.
typedef struct NTL_DDK_PLATFORM {
uint32_t (*PciRead32)(uint16_t segment,
uint8_t bus,
uint8_t device,
uint8_t function,
uint16_t offset);
void (*PciWrite32)(uint16_t segment,
uint8_t bus,
uint8_t device,
uint8_t function,
uint16_t offset,
uint32_t value);
} NTL_DDK_PLATFORM;