23 lines
260 B
C
23 lines
260 B
C
|
#pragma once
|
||
|
#include <luna/Types.h>
|
||
|
|
||
|
struct Stack
|
||
|
{
|
||
|
Stack(u64 base, usize bytes);
|
||
|
|
||
|
u64 bottom()
|
||
|
{
|
||
|
return m_base;
|
||
|
}
|
||
|
|
||
|
u64 top();
|
||
|
|
||
|
usize bytes()
|
||
|
{
|
||
|
return m_bytes;
|
||
|
}
|
||
|
|
||
|
private:
|
||
|
u64 m_base;
|
||
|
usize m_bytes;
|
||
|
};
|