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

44 lines
1.0 KiB
C#
Raw Normal View History

2008-03-05 09:52:00 -05:00
///////////////////////////////////////////////////////////////////////////////
//
// Microsoft Research Singularity
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// File: IHalMemory.cs
//
//
// Note:
//
using System;
namespace Microsoft.Singularity.Hal
{
[CLSCompliant(false)]
public abstract class IHalMemory
{
public struct ProcessorAffinity
{
public uint domain;
public uint apicId;
public uint flagIgnore;
}
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();
}
}