From 6898153366e5a2a88d42665af33feb588d3c9ffd Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Sun, 20 Mar 2016 12:56:43 -0400 Subject: [PATCH] Use custom type names in Main.cc --- src/Main.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Main.cc b/src/Main.cc index df17fd4..20ed765 100644 --- a/src/Main.cc +++ b/src/Main.cc @@ -7,11 +7,11 @@ */ #include -#include #include "Console.hh" #include "Descriptors.hh" #include "Interrupts.hh" #include "Multiboot.hh" +#include "kstd/Types.hh" #if defined(__linux__) #error "This file should be compiled with a cross-compiler, not the Linux system compiler!" @@ -57,8 +57,8 @@ kmain(multiboot::Information *information) auto begin = (*it).base; auto end = begin + (*it).length - 1; console.printFormat(" begin = 0x%08lX %08lX, end = 0x%08lX %08lX (%s)\n", - uint32_t(begin >> 32), uint32_t(begin & 0xFFFFFFFF), - uint32_t(end >> 32), uint32_t(end & 0xFFFFFFFF), + u32(begin >> 32), u32(begin & 0xFFFFFFFF), + u32(end >> 32), u32(end & 0xFFFFFFFF), (*it).type == 1 ? "available" : "reserved"); }