Luna/libluna/include/luna/Stack.h
apio eebbbf0b16
Some checks failed
continuous-integration/drone/pr Build is failing
luna -> libluna
2023-02-27 15:19:18 +01:00

25 lines
302 B
C++

#pragma once
#include <luna/Types.h>
struct Stack
{
Stack() = default;
Stack(u64 base, usize bytes);
u64 bottom() const
{
return m_base;
}
u64 top() const;
usize bytes() const
{
return m_bytes;
}
private:
u64 m_base;
usize m_bytes;
};