mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-26 22:38:51 +00:00
Add a simple /proc/cpuinfo that includes some info from CPUID.
This commit is contained in:
parent
90ddbca127
commit
812e7940e2
Notes:
sideshowbarker
2024-07-19 18:34:34 +09:00
Author: https://github.com/awesomekling
Commit: 812e7940e2
5 changed files with 81 additions and 3 deletions
|
@ -241,7 +241,7 @@ void MemoryManager::flushEntireTLB()
|
|||
|
||||
void MemoryManager::flushTLB(LinearAddress laddr)
|
||||
{
|
||||
asm volatile("invlpg %0": :"m" (*(char*)laddr.get()));
|
||||
asm volatile("invlpg %0": :"m" (*(char*)laddr.get()) : "memory");
|
||||
}
|
||||
|
||||
void MemoryManager::map_region_at_address(PageDirectory* page_directory, Region& region, LinearAddress laddr, bool user_allowed)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue