|
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 UInt64 | dk_socket_type |
| typedef MM_INFORMATION_BLOCK * | MM_INFORMATION_BLOCK_PTR |
Functions | |
| UInt32 | hefs_year_get (ATime raw_atime) |
| OpenHeFS get year from ATime. | |
| UInt32 | hefs_month_get (ATime raw_atime) |
| OpenHeFS get month from ATime. | |
| UInt32 | hefs_day_get (ATime raw_atime) |
| OpenHeFS get day from ATime. | |
| UInt32 | hefs_hour_get (ATime raw_atime) |
| OpenHeFS get hour from ATime. | |
| UInt32 | hefs_minute_get (ATime raw_atime) |
| OpenHeFS get minute from ATime. | |
| const Char * | hefs_status_to_string (UInt16 status) |
| const Char * | hefs_drive_kind_to_string (UInt8 kind) |
| const Char * | hefs_encoding_to_string (UInt8 encoding) |
| const Char * | hefs_file_kind_to_string (UInt16 kind) |
| const Char * | hefs_file_flags_to_string (UInt32 flags) |
| constexpr | ATTRIBUTE (unused) const UInt16 kPort=0x3F8 = kStateInvalid |
| template<UInt16 PORT> | |
| bool | hal_serial_init () |
| Init COM1. | |
| STATIC Void | sk_io_read_ahci (DeviceInterface< IMountpoint * > *self, IMountpoint *mnt) |
| Read AHCI device. | |
| STATIC Void | sk_io_write_ahci (DeviceInterface< IMountpoint * > *self, IMountpoint *mnt) |
| Write AHCI device. | |
| STATIC Void | sk_io_read_pio (DeviceInterface< IMountpoint * > *self, IMountpoint *mnt) |
| Read PIO device. | |
| STATIC Void | sk_io_write_pio (DeviceInterface< IMountpoint * > *self, IMountpoint *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) |
| _Output auto | mm_check_ptr_address (VoidPtr heap_ptr) -> Bool |
| Check for heap address validity. | |
| UInt32 | ldr_get_platform_pe (void) |
| Get the PE32+ 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 | kOpenHeFSBaseYear = 1970 |
| constexpr UInt32 | kOpenHeFSBaseMonth = 1 |
| constexpr UInt32 | kOpenHeFSBaseDay = 1 |
| constexpr UInt32 | kOpenHeFSBaseHour = 0 |
| constexpr UInt32 | kOpenHeFSBaseMinute = 0 |
| Kernel::Detail::HPET_BLOCK | PACKED |
| STATIC BOOL | kGICEnabled = NO |
| constexpr auto | kDebugCmdLen = 256U |
| constexpr auto | kDebugPort = 51820 |
| constexpr auto | kDebugMagic = "NE1.0.0;" |
| constexpr auto | kDebugVersion = 0x0100 |
| constexpr auto | kDebugDelim = ';' |
| constexpr auto | kDebugEnd = '\r' |
| struct PACKED | MM_INFORMATION_BLOCK |
| typedef UInt64 Kernel::Detail::dk_socket_type |
|
inline |
|
inline |
|
constexprpure virtual |
| bool Kernel::Detail::hal_serial_init | ( | ) |
Init COM1.
| UInt32 Kernel::Detail::ldr_get_platform_pe | ( | void | ) |
Get the PE32+ 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< IMountpoint * > * | self, |
| IMountpoint * | mnt ) |
Read AHCI device.
| self | device |
| mnt | mounted disk. |
| STATIC Void Kernel::Detail::sk_io_read_pio | ( | DeviceInterface< IMountpoint * > * | self, |
| IMountpoint * | mnt ) |
Read PIO device.
| self | device |
| mnt | mounted disk. |
| STATIC Void Kernel::Detail::sk_io_write_ahci | ( | DeviceInterface< IMountpoint * > * | self, |
| IMountpoint * | mnt ) |
Write AHCI device.
| self | device |
| mnt | mounted disk. |
| STATIC Void Kernel::Detail::sk_io_write_pio | ( | DeviceInterface< IMountpoint * > * | self, |
| IMountpoint * | 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 |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
| struct PACKED Kernel::Detail::MM_INFORMATION_BLOCK |
| Kernel::Detail::HPET_BLOCK Kernel::Detail::PACKED |