NeKernel dev
|
Implementation details namespace. More...
Classes | |
struct | FADT |
struct | HPET_BLOCK |
struct | MM_INFORMATION_BLOCK |
Kernel heap information block. Located before the address bytes. | HIB | CLASS/STRUCT/DATA TYPES... |. More... |
Typedefs | |
typedef MM_INFORMATION_BLOCK * | MM_INFORMATION_BLOCK_PTR |
Functions | |
UInt32 | hefs_year_get (ATime raw_atime) noexcept |
HeFS get year from ATime. | |
UInt32 | hefs_month_get (ATime raw_atime) noexcept |
HeFS get month from ATime. | |
UInt32 | hefs_day_get (ATime raw_atime) noexcept |
HeFS get day from ATime. | |
UInt32 | hefs_hour_get (ATime raw_atime) noexcept |
HeFS get hour from ATime. | |
UInt32 | hefs_minute_get (ATime raw_atime) noexcept |
HeFS get minute from ATime. | |
const Char * | hefs_status_to_string (UInt16 status) noexcept |
const Char * | hefs_drive_kind_to_string (UInt8 kind) noexcept |
const Char * | hefs_encoding_to_string (UInt8 encoding) noexcept |
const Char * | hefs_file_kind_to_string (UInt16 kind) noexcept |
const Char * | hefs_file_flags_to_string (UInt32 flags) noexcept |
constexpr | ATTRIBUTE (unused) const UInt16 kPort=0x3F8 = kStateInvalid |
template<UInt16 PORT> | |
bool | hal_serial_init () noexcept |
Init COM1. | |
STATIC Void | sk_io_read_ahci (DeviceInterface< MountpointInterface * > *self, MountpointInterface *mnt) |
Read AHCI device. | |
STATIC Void | sk_io_write_ahci (DeviceInterface< MountpointInterface * > *self, MountpointInterface *mnt) |
Write AHCI device. | |
STATIC Void | sk_io_read_pio (DeviceInterface< MountpointInterface * > *self, MountpointInterface *mnt) |
Read PIO device. | |
STATIC Void | sk_io_write_pio (DeviceInterface< MountpointInterface * > *self, MountpointInterface *mnt) |
Write PIO device. | |
STATIC Void | mp_setup_gic_el0 (Void) |
Enables the GIC with EL0 configuration. | |
EXTERN_C BOOL | mp_handle_gic_interrupt_el0 (Void) |
STATIC void | mp_hang_fn (void) |
TerminalDevice | _write_number (const Long &x, TerminalDevice &term) |
TerminalDevice | _write_number_hex (const Long &x, TerminalDevice &term) |
Void | io_detect_drive (DriveTrait &trait) |
_Output auto | mm_check_ptr_address (VoidPtr heap_ptr) -> Bool |
Check for heap address validity. | |
UInt32 | ldr_get_platform (void) noexcept |
Get the PEF platform signature according to the compiled architecture. | |
STATIC UInt64 | user_fnv_generator (const Char *password, User *user) |
Constructs a password by hashing the password. |
Variables | |
constexpr UInt32 | kHeFSBaseYear = 1970 |
constexpr UInt32 | kHeFSBaseMonth = 1 |
constexpr UInt32 | kHeFSBaseDay = 1 |
constexpr UInt32 | kHeFSBaseHour = 0 |
constexpr UInt32 | kHeFSBaseMinute = 0 |
Kernel::Detail::HPET_BLOCK | PACKED |
STATIC BOOL | kGICEnabled = NO |
struct PACKED | MM_INFORMATION_BLOCK |
Implementation details namespace.
Implementation details.
|
inline |
|
inline |
|
constexprpure virtual |
|
noexcept |
Init COM1.
Void Kernel::Detail::io_detect_drive | ( | DriveTrait & | trait | ) |
|
noexcept |
Get the PEF platform signature according to the compiled architecture.
Check for heap address validity.
heap_ptr | The address_ptr to check. |
Add that check in case we're having an integer underflow. ///
STATIC void Kernel::Detail::mp_hang_fn | ( | void | ) |
STATIC Void Kernel::Detail::sk_io_read_ahci | ( | DeviceInterface< MountpointInterface * > * | self, |
MountpointInterface * | mnt ) |
Read AHCI device.
self | device |
mnt | mounted disk. |
STATIC Void Kernel::Detail::sk_io_read_pio | ( | DeviceInterface< MountpointInterface * > * | self, |
MountpointInterface * | mnt ) |
Read PIO device.
self | device |
mnt | mounted disk. |
STATIC Void Kernel::Detail::sk_io_write_ahci | ( | DeviceInterface< MountpointInterface * > * | self, |
MountpointInterface * | mnt ) |
Write AHCI device.
self | device |
mnt | mounted disk. |
STATIC Void Kernel::Detail::sk_io_write_pio | ( | DeviceInterface< MountpointInterface * > * | self, |
MountpointInterface * | mnt ) |
Write PIO device.
self | device |
mnt | mounted disk. |
Constructs a password by hashing the password.
password | password to hash. |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
struct PACKED Kernel::Detail::MM_INFORMATION_BLOCK |
Kernel::Detail::HPET_BLOCK Kernel::Detail::PACKED |