| 239 | // ---- config (subset) ------------------------------------------------------ |
| 240 | |
| 241 | extern "C" VMMDLL_API BOOL VMMDLL_ConfigGet(VMM_HANDLE hVMM, ULONG64 fOption, |
| 242 | PULONG64 pqwValue) { |
| 243 | if (!pqwValue) return FALSE; |
| 244 | if (!hVMM) return FALSE; |
| 245 | switch (fOption) { |
| 246 | case VMMDLL_OPT_CORE_PRINTF_ENABLE: |
| 247 | case VMMDLL_OPT_CORE_VERBOSE: |
| 248 | case VMMDLL_OPT_CORE_VERBOSE_EXTRA: |
| 249 | *pqwValue = 0; // we don't expose log levels through this API |
| 250 | return TRUE; |
| 251 | case VMMDLL_OPT_CORE_MAX_NATIVE_ADDRESS: |
| 252 | // Best-effort: report the kernel's direct-map limit. |
| 253 | *pqwValue = 0xffffffff80000000ULL; |
| 254 | return TRUE; |
| 255 | default: |
| 256 | *pqwValue = 0; |
| 257 | return FALSE; |
| 258 | } |
| 259 | } |
| 260 | |
| 261 | extern "C" VMMDLL_API BOOL VMMDLL_ConfigSet(VMM_HANDLE /*hVMM*/, ULONG64 /*fOption*/, |
| 262 | ULONG64 /*qwValue*/) { |
nothing calls this directly
no outgoing calls
no test coverage detected