Skip to content

Commit

Permalink
Kernel: Fix incorrect argument name
Browse files Browse the repository at this point in the history
  • Loading branch information
gunnarbeutner authored and awesomekling committed Jun 17, 2021
1 parent cc5c1df commit 67c2d39
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Kernel/VM/MemoryManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ inline FlatPtr low_physical_to_virtual(FlatPtr physical)
return physical + 0xc0000000;
}

inline FlatPtr virtual_to_low_physical(FlatPtr physical)
inline FlatPtr virtual_to_low_physical(FlatPtr virtual_)
{
return physical - 0xc0000000;
return virtual_ - 0xc0000000;
}

enum class UsedMemoryRangeType {
Expand Down

0 comments on commit 67c2d39

Please sign in to comment.