Luna/libluna/include/luna/Stack.h
apio 77887eed80
All checks were successful
continuous-integration/drone/push Build is passing
luna -> libluna
2023-02-27 15:22:39 +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;
};