|
Voxia OS v0.0.1
Hobby Project Operating System Targeting x86-64
|
#include "init/init.h"#include "hal/apic/apic.h"#include "hal/cpu/interrupt.h"#include "init/loader.h"#include "libk/debug/debug.h"#include "libk/serial.h"#include "memory/phys_base_allocator.h"#include "notify.h"#include "procc/process.h"#include "tty/tty.h"#include <console/console.h>#include <hal/acpi/hpet.h>#include <memory/kalloc.h>#include <net/netutils.h>#include <str.h>Go to the source code of this file.
Functions | |
| __attribute__ ((noreturn)) | |
| __attribute__ ((unused, noreturn)) | |
| __attribute__ ((used, visibility("default"), section(".export"))) | |
| This function handles memory allocation for a new dentry using the slab allocator. | |
| __attribute__ | ( | (noreturn) | ) |
Definition at line 18 of file init.c.
References KERNEL_API, ptr, and size.
| __attribute__ | ( | (unused, noreturn) | ) |
Definition at line 28 of file init.c.
References kalloc_metadata_t::_pad, APIC_TIMER_PERIOD, build_context_from_stivale2(), execve(), INFLOOP, INTERRUPT_ATTR_KERNEL, irq_alloc_entry(), irq_register(), kalloc(), kfree2(), LOG2_INFO, kalloc_metadata_t::magic, pmm_log_usage(), run_all_init_calls(), serial2_flush(), serial_setup(), kalloc_metadata_t::size, start_tty(), vxAPICCreateTimer(), and wait_until_receive_notify().
| __attribute__ | ( | (used, visibility("default"), section(".export")) | ) |
This function handles memory allocation for a new dentry using the slab allocator.
It also links the dentry to its corresponding VNode (if provided).
| name | The name of the file or directory. |
| vnode | Pointer to the associated VNode (inode data). Pass NULL if the VNode is not yet available. |
Definition at line 89 of file init.c.
References KERNEL_API, kfree(), and ptr.