HyperDbg Debugger
Toggle main menu visibility
Loading...
Searching...
No Matches
Pci.h
Go to the documentation of this file.
1
12
#pragma once
13
#include "pch.h"
14
16
// Definition //
18
19
#define CFGADR 0xCF8
20
#define CFGDAT 0xCFC
21
23
// Functions //
25
26
QWORD
27
PciReadCam
(
WORD
Bus,
WORD
Device
,
WORD
Function,
BYTE
Offset,
UINT8
Width);
28
BOOLEAN
29
PciWriteCam
(
WORD
Bus,
WORD
Device
,
WORD
Function,
BYTE
Offset,
UINT8
Width,
QWORD
Value
);
PciWriteCam
BOOLEAN PciWriteCam(WORD Bus, WORD Device, WORD Function, BYTE Offset, UINT8 Width, QWORD Value)
Write to PCI configuration space (CAM) at given offset.
Definition
Pci.c:74
PciReadCam
QWORD PciReadCam(WORD Bus, WORD Device, WORD Function, BYTE Offset, UINT8 Width)
Read from PCI configuration space (CAM) at given offset.
Definition
Pci.c:25
WORD
unsigned short WORD
Definition
BasicTypes.h:42
BOOLEAN
UCHAR BOOLEAN
Definition
BasicTypes.h:35
BYTE
unsigned char BYTE
Definition
BasicTypes.h:40
QWORD
unsigned long long QWORD
Definition
BasicTypes.h:24
UINT8
unsigned char UINT8
Definition
BasicTypes.h:52
Value
RequestedActionOfThePacket Value(0x1) 00000000
Device
Definition
pci-id.h:26
hyperdbg
hyperhv
header
devices
Pci.h
Generated by
1.17.0