This commit is contained in:
Kudzu 2017-08-08 10:41:44 -04:00
parent ea9381f499
commit 3bbeb41f97
4 changed files with 9 additions and 0 deletions

Binary file not shown.

View file

@ -4,5 +4,8 @@ using System.Text;
namespace Cosmos.Platform.PC.Devices {
public class Processor : HAL.Devices.Processor {
public override ulong SetOption(uint aID, ulong aValue = 0) {
return base.SetOption(aID, aValue);
}
}
}

View file

@ -4,5 +4,11 @@ using System.Text;
namespace Cosmos.HAL.Devices {
public abstract class Processor : Device {
// Generic method that is specific to each CPU ring.
// Designed to allow limited extra API communication to CPU from HAL.
// Optionally implemented.
public virtual UInt64 SetOption(UInt32 aID, UInt64 aValue = 0) {
return 0;
}
}
}