#include <ntoskrnl.h>
#include <debug.h>
#include <mm/ARM3/miarm.h>
Go to the source code of this file.
◆ KdpDprintf
◆ MODULE_INVOLVED_IN_ARM3
#define MODULE_INVOLVED_IN_ARM3 |
◆ NDEBUG
◆ C_ASSERT()
◆ MiDbgTranslatePhysicalAddress()
Definition at line 37 of file mmdbg.c.
39{
42 PVOID MappingBaseAddress;
43
44
46 {
47
48 KdpDprintf(
"MiDbgTranslatePhysicalAddress called too early! "
49 "Address: 0x%I64x\n",
52 }
53
54
58 {
59
60 KdpDprintf(
"MiDbgTranslatePhysicalAddress: Cache flags not yet supported. "
61 "Flags: 0x%lx\n",
66 }
67
68
70
71
73
74
76
77
79 {
80
81 KdpDprintf(
"MiDbgTranslatePhysicalAddress: I/O Space not yet supported. "
82 "PFN: 0x%I64x\n",
85 }
86 else
87 {
88
90 }
91
92
95
96
99}
HARDWARE_PTE_ARMV6 TempPte
FORCEINLINE VOID KeInvalidateTlbEntry(IN PVOID Address)
#define MiPteToAddress(_Pte)
FORCEINLINE PMMPFN MiGetPfnEntry(IN PFN_NUMBER Pfn)
#define MMDBG_COPY_WRITE_COMBINED
#define MMDBG_COPY_CACHED
#define MMDBG_COPY_UNCACHED
_Must_inspect_result_ _In_ ULONG Flags
_Must_inspect_result_ typedef _In_ PHYSICAL_ADDRESS PhysicalAddress
Referenced by MmDbgCopyMemory().
◆ MiDbgUnTranslatePhysicalAddress()
Definition at line 103 of file mmdbg.c.
104{
105 PVOID MappingBaseAddress;
106
107
110
111
114}
BOOLEAN NTAPI MmIsAddressValid(IN PVOID VirtualAddress)
Referenced by MmDbgCopyMemory().
◆ MmDbgCopyMemory()
Definition at line 124 of file mmdbg.c.
128{
132 PVOID CopyDestination, CopySource;
133
134
136 {
138 if (!Warned)
139 {
140 KdpDprintf(
"MmDbgCopyMemory: not providing MMDBG_COPY_UNSAFE is UNIMPLEMENTED\n");
142 }
143 }
144
145
150 {
151
152 KdpDprintf(
"MmDbgCopyMemory: Received Illegal Size 0x%lx\n",
155 }
156
157
159 {
160
161 KdpDprintf(
"MmDbgCopyMemory: Received Unaligned Address 0x%I64x Size %lx\n",
165 }
166
167
169 {
170
173
174
176 {
177
178 KdpDprintf(
"MmDbgCopyMemory: Failed to Translate Physical Address %I64x\n",
181 }
182
183
185 }
186 else
187 {
188
190
191
193 {
194
195 KdpDprintf(
"MmDbgCopyMemory: Failing %s for invalid Virtual Address 0x%p\n",
199 }
200
201
203 {
204
205 }
206
207
211 {
212
214
215
218
219
222
223
225 {
226
227 KdpDprintf(
"MmDbgCopyMemory: Failed to translate for write %I64x (%I64x)\n",
231 }
232 }
233 }
234
235
237 {
238
241 }
242 else
243 {
244
247 }
248
249
251 {
252 case 1:
253
254
256 break;
257
258 case 2:
259
260
262 break;
263
264 case 4:
265
266
268 break;
269
270 case 8:
271
272
274 break;
275
276
278 }
279
280
282 {
283
285 }
286
287
289}
VOID NTAPI MiDbgUnTranslatePhysicalAddress(VOID)
BOOLEAN NTAPI MmIsSessionAddress(IN PVOID Address)
PVOID NTAPI MiDbgTranslatePhysicalAddress(IN ULONG64 PhysicalAddress, IN ULONG Flags)
#define MiAddressToPte(x)
#define DEFAULT_UNREACHABLE
__GNU_EXTENSION typedef unsigned __int64 * PULONGLONG
#define MI_IS_PAGE_WRITEABLE(x)
#define MMDBG_COPY_PHYSICAL
#define MMDBG_COPY_UNSAFE
#define STATUS_INVALID_PARAMETER_3
#define STATUS_UNSUCCESSFUL
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ DEVPROPTYPE _In_ ULONG Size
_Must_inspect_result_ typedef _In_ PHYSICAL_ADDRESS _Inout_ PLARGE_INTEGER _Outptr_ PVOID * TargetAddress
Referenced by KdpCopyMemoryChunks().
◆ MmIsSessionAddress()
◆ MiDebugMapping
◆ MmDebugPte