singrdk/base/Kernel/Singularity/Hal/HalMemory.cs

40 lines
1.0 KiB
C#
Raw Permalink Normal View History

2008-03-05 09:52:00 -05:00
///////////////////////////////////////////////////////////////////////////////
//
// Microsoft Research Singularity
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// Note:
//
using System;
namespace Microsoft.Singularity.Hal
{
[CLSCompliant(false)]
2008-11-17 18:29:00 -05:00
public abstract class HalMemory
2008-03-05 09:52:00 -05:00
{
public struct ProcessorAffinity
{
public uint domain;
public uint apicId;
public uint flagIgnore;
}
2008-11-17 18:29:00 -05:00
2008-03-05 09:52:00 -05:00
public struct MemoryAffinity
{
public uint domain;
public ulong baseAddress;
public ulong endAddress;
public ulong memorySize;
public uint flagIgnore;
public uint flagHotPluggable;
public uint flagNonVolatile;
}
public abstract ProcessorAffinity[] GetProcessorAffinity();
public abstract MemoryAffinity[] GetMemoryAffinity();
2008-11-17 18:29:00 -05:00
public abstract bool PerProcessorAddressSpaceDisabled();
2008-03-05 09:52:00 -05:00
}
}