#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
137
142 {
143
144 KdpDprintf(
"MmDbgCopyMemory: Received Illegal Size 0x%lx\n",
147 }
148
149
151 {
152
153 KdpDprintf(
"MmDbgCopyMemory: Received Unaligned Address 0x%I64x Size %lx\n",
157 }
158
159
161 {
162
165
166
168 {
169
170 KdpDprintf(
"MmDbgCopyMemory: Failed to Translate Physical Address %I64x\n",
173 }
174
175
177 }
178 else
179 {
180
182
183
185 {
186
187 KdpDprintf(
"MmDbgCopyMemory: Failing %s for invalid Virtual Address 0x%p\n",
191 }
192
193
195 {
196
197 }
198
199
203 {
204
206
207
210
211
214
215
217 {
218
219 KdpDprintf(
"MmDbgCopyMemory: Failed to translate for write %I64x (%I64x)\n",
223 }
224 }
225 }
226
227
229 {
230
233 }
234 else
235 {
236
239 }
240
241
243 {
244 case 1:
245
246
248 break;
249
250 case 2:
251
252
254 break;
255
256 case 4:
257
258
260 break;
261
262 case 8:
263
264
266 break;
267
268
270 }
271
272
274 {
275
277 }
278
279
281}
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