Updated types

This commit is contained in:
Alex
2022-12-21 00:43:51 +02:00
parent 684b76a1ca
commit a677f3c159
62 changed files with 471 additions and 448 deletions

View File

@ -23,7 +23,7 @@ namespace FileSystem
uint32_t length;
};
Initrd(uint64_t Address);
Initrd(uintptr_t Address);
~Initrd();
};
}

View File

@ -88,7 +88,7 @@ namespace FileSystem
class FB
{
public:
void SetFrameBufferData(uint64_t Address, uint64_t Size, uint32_t Width, uint32_t Height, uint32_t PixelsPerScanLine);
void SetFrameBufferData(uintptr_t Address, size_t Size, uint32_t Width, uint32_t Height, uint32_t PixelsPerScanLine);
FB();
~FB();
};

View File

@ -44,7 +44,7 @@ namespace FileSystem
private:
uint32_t getsize(const char *s)
{
uint64_t ret = 0;
uint32_t ret = 0;
while (*s)
{
ret *= 8;
@ -63,7 +63,7 @@ namespace FileSystem
}
public:
USTAR(uint64_t Address, Virtual *vfs);
USTAR(uintptr_t Address, Virtual *vfs);
~USTAR();
};
}