10 lines
164 B
C++
10 lines
164 B
C++
|
#include <luna/Stack.h>
|
||
|
|
||
|
Stack::Stack(u64 base, usize bytes) : m_base(base), m_bytes(bytes)
|
||
|
{
|
||
|
}
|
||
|
|
||
|
u64 Stack::top()
|
||
|
{
|
||
|
return (m_base + m_bytes) - sizeof(void*);
|
||
|
}
|