mirror of
https://github.com/wichtounet/thor-os.git
synced 2025-09-13 06:29:47 -04:00
Refactor
This commit is contained in:
parent
63312a865b
commit
4c6d00c0b0
@ -108,7 +108,7 @@ size_t early_map_page_clear(size_t physical){
|
||||
|
||||
//Clear the new allocated block of memory
|
||||
auto it = reinterpret_cast<size_t*>(virt);
|
||||
std::fill(it, it + paging::PAGE_SIZE / sizeof(size_t), 0);
|
||||
std::fill_n(it, paging::PAGE_SIZE / sizeof(size_t), 0);
|
||||
|
||||
return virt;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user