Skip to content

Commit

Permalink
g3
Browse files Browse the repository at this point in the history
  • Loading branch information
czhower committed Aug 8, 2017
1 parent ea9381f commit 3bbeb41
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 0 deletions.
Binary file modified Docs/RingsGen3.vsdx
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,8 @@

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);
}
}
}
6 changes: 6 additions & 0 deletions source/Kernel-X86/30-HAL/Cosmos.HAL/Devices/Processor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,11 @@

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;
}
}
}

0 comments on commit 3bbeb41

Please sign in to comment.