Convert indentation to spaces (#3)

This commit is contained in:
Wiseguy 2024-05-20 08:49:11 -04:00 committed by GitHub
parent b47b52f540
commit 7f55d26948
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 143 additions and 143 deletions

View file

@ -5,8 +5,8 @@
#define K2BASE 0xC0000000
#define IS_KSEG0(x) ((u32)(x) >= K0BASE && (u32)(x) < K1BASE)
#define IS_KSEG1(x) ((u32)(x) >= K1BASE && (u32)(x) < K2BASE)
#define K0_TO_PHYS(x) ((u32)(x)&0x1FFFFFFF) /* kseg0 to physical */
#define K1_TO_PHYS(x) ((u32)(x)&0x1FFFFFFF) /* kseg1 to physical */
#define K0_TO_PHYS(x) ((u32)(x)&0x1FFFFFFF)
#define K1_TO_PHYS(x) ((u32)(x)&0x1FFFFFFF)
u32 osVirtualToPhysical(PTR(void) addr) {
uintptr_t addr_val = (uintptr_t)addr;