MCPcopy Create free account
hub / github.com/HoShiMin/Kernel-Bridge / DisableWriteProtection

Function DisableWriteProtection

Kernel-Bridge/API/CPU.cpp:70–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68 }
69
70 void DisableWriteProtection() {
71 __writecr0(__readcr0() & ~(1 << 16));
72 }
73
74 void EnableWriteProtection() {
75 __writecr0(__readcr0() | (1 << 16));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected