Capitalize namespacing structs
This helps to avoid name clashes when breaking up modules into packages.
This commit is contained in:
1 parent
a423cdf1b1
commit
25ee1775f0
16 files changed
+86
-86
No files matched your search
+2
-2
@@ -31,7 +31,7 @@ enum ulong MTRRPHYSBASE_TYPE_MASK = 0xFFu;
|
||||
enum ulong MTRRPHYSMASK_PHYSMASK_MASK = 0x000F_FFFF_FFFF_F000u;
|
||||
enum ulong MTRRPHYSMASK_VALID = 0x800u;
|
||||
|
||||
struct mtrr
|
||||
struct Mtrr
|
||||
{
|
||||
public static void initialize()
|
||||
{
|
||||
@@ -41,7 +41,7 @@ struct mtrr
|
||||
cpuid1(&ebx, &ecx, &edx);
|
||||
if ((edx & CPUID_1_EDX_MTRR) == 0u)
|
||||
{
|
||||
klog.writefln("CPU does not support MTRR");
|
||||
Klog.writefln("CPU does not support MTRR");
|
||||
return;
|
||||
}
|
||||
const(ulong) mtrrcap = rdmsr(MSR_MTRRCAP);
|
||||
|
||||
Reference in new issue
Block a user