From e05ac6bd85ae330d93f68426fee0e14af7f23161 Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Fri, 25 Mar 2016 01:37:26 -0400 Subject: [PATCH] Remove static multiboot information pointer --- src/Multiboot.cc | 19 ------------------- src/Multiboot.hh | 3 --- 2 files changed, 22 deletions(-) diff --git a/src/Multiboot.cc b/src/Multiboot.cc index 1a07f3b..14a5ef0 100644 --- a/src/Multiboot.cc +++ b/src/Multiboot.cc @@ -25,29 +25,10 @@ enum Present { VBE = 1 << 11, }; -multiboot::Information *sInformation = 0; - } namespace multiboot { -/* - * Static - */ - -const Information * -Information::information() -{ - return sInformation; -} - - -void -Information::setInformation(Information *info) -{ - sInformation = info; -} - /* * Public */ diff --git a/src/Multiboot.hh b/src/Multiboot.hh index 0bf5df8..0d16339 100644 --- a/src/Multiboot.hh +++ b/src/Multiboot.hh @@ -48,9 +48,6 @@ struct PACKED Information uint32_t mLength; }; - static const Information *information(); - static void setInformation(Information* info); - uint32_t lowerMemoryKB() const; uint32_t upperMemoryKB() const;