2022-10-01 12:13:38 +02:00
|
|
|
#pragma once
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
namespace Utilities
|
|
|
|
{
|
|
|
|
uint64_t get_blocks_from_size(uint64_t blocksize,
|
|
|
|
uint64_t size); // Returns how many blocks of size blocksize does size occupy.
|
2022-10-12 12:56:55 +02:00
|
|
|
|
|
|
|
uint64_t get_rflags();
|
2022-10-12 13:17:58 +02:00
|
|
|
uint64_t get_top_of_stack(uint64_t bottom, uint64_t stack_pages);
|
2022-10-01 12:13:38 +02:00
|
|
|
}
|