Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HoShiMin/Kernel-Bridge
/ EnableWriteProtection
Function
EnableWriteProtection
Kernel-Bridge/API/CPU.cpp:74–76 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
72
}
73
74
void EnableWriteProtection() {
75
__writecr0(__readcr0() | (1 << 16));
76
}
77
78
bool IsSmepPresent() {
79
int regs[4];
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected