Remove static multiboot information pointer
This commit is contained in:
parent
73143f4e00
commit
e05ac6bd85
2 changed files with 0 additions and 22 deletions
|
@ -25,29 +25,10 @@ enum Present {
|
||||||
VBE = 1 << 11,
|
VBE = 1 << 11,
|
||||||
};
|
};
|
||||||
|
|
||||||
multiboot::Information *sInformation = 0;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
namespace multiboot {
|
namespace multiboot {
|
||||||
|
|
||||||
/*
|
|
||||||
* Static
|
|
||||||
*/
|
|
||||||
|
|
||||||
const Information *
|
|
||||||
Information::information()
|
|
||||||
{
|
|
||||||
return sInformation;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
void
|
|
||||||
Information::setInformation(Information *info)
|
|
||||||
{
|
|
||||||
sInformation = info;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Public
|
* Public
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -48,9 +48,6 @@ struct PACKED Information
|
||||||
uint32_t mLength;
|
uint32_t mLength;
|
||||||
};
|
};
|
||||||
|
|
||||||
static const Information *information();
|
|
||||||
static void setInformation(Information* info);
|
|
||||||
|
|
||||||
uint32_t lowerMemoryKB() const;
|
uint32_t lowerMemoryKB() const;
|
||||||
uint32_t upperMemoryKB() const;
|
uint32_t upperMemoryKB() const;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue