using System;
namespace XFESystem.NativeKernel;
// These host tests exercise production pointer/snapshot parsing only. Hardware
// paths must throw rather than silently substitute host device observations.
public static class PhysicalMemory
{
public static ulong Allocate() => throw new InvalidOperationException("No guest allocation in host parser tests");
public static ulong ToVirtual(ulong _) => throw new InvalidOperationException("No guest HHDM in host parser tests");
}
public static class VirtualMemory
{
public static ulong MapDeviceReadOnly(ulong _, ulong __) => throw new InvalidOperationException("No host MMIO mapping");
public static bool UnmapDevice(ulong _, ulong __) => throw new InvalidOperationException("No host MMIO unmapping");
}
public static unsafe class NativeGpuFirmware
{
public static void Initialize(NativeBootInfo* _) => throw new InvalidOperationException("No guest firmware in host parser tests");
public static void Apply(NativeBootInfo* _, NativeGpuDeviceDiscovery* __) => throw new InvalidOperationException("No guest firmware in host parser tests");
}
public static class Serial
{
public static void Write(string _) => throw new InvalidOperationException("No guest serial in host parser tests");
public static void Line(string _) => throw new InvalidOperationException("No guest serial in host parser tests");
public static void Number(ulong _) => throw new InvalidOperationException("No guest serial in host parser tests");
public static void Hex(ulong _) => throw new InvalidOperationException("No guest serial in host parser tests");
}
public static class MonotonicClock
{
public static ulong Nanoseconds() => throw new InvalidOperationException("No guest clock in host geometry tests");
}
using System;
namespace XFESystem.NativeKernel;
// These host tests exercise production pointer/snapshot parsing only. Hardware
// paths must throw rather than silently substitute host device observations.
public static class PhysicalMemory
{
public static ulong Allocate() => throw new InvalidOperationException("No guest allocation in host parser tests");
public static ulong ToVirtual(ulong _) => throw new InvalidOperationException("No guest HHDM in host parser tests");
}
public static class VirtualMemory
{
public static ulong MapDeviceReadOnly(ulong _, ulong __) => throw new InvalidOperationException("No host MMIO mapping");
public static bool UnmapDevice(ulong _, ulong __) => throw new InvalidOperationException("No host MMIO unmapping");
}
public static unsafe class NativeGpuFirmware
{
public static void Initialize(NativeBootInfo* _) => throw new InvalidOperationException("No guest firmware in host parser tests");
public static void Apply(NativeBootInfo* _, NativeGpuDeviceDiscovery* __) => throw new InvalidOperationException("No guest firmware in host parser tests");
}
public static class Serial
{
public static void Write(string _) => throw new InvalidOperationException("No guest serial in host parser tests");
public static void Line(string _) => throw new InvalidOperationException("No guest serial in host parser tests");
public static void Number(ulong _) => throw new InvalidOperationException("No guest serial in host parser tests");
public static void Hex(ulong _) => throw new InvalidOperationException("No guest serial in host parser tests");
}
public static class MonotonicClock
{
public static ulong Nanoseconds() => throw new InvalidOperationException("No guest clock in host geometry tests");
}