refactor(kernel): change NIF to nif

This commit is contained in:
2025-04-08 03:25:38 +00:00
parent 764dfe67a5
commit 69122746de
13 changed files with 87 additions and 190 deletions

View File

@ -16,18 +16,8 @@
*/
#include <types.h>
#include <printf.h>
#include <uart.hpp>
#include "../kernel.h"
static inline nsa NIF void gprof_uart_wrapper(char c, void *unused)
{
UNUSED(c);
UNUSED(unused);
}
EXTERNC nsa NIF void mcount(unsigned long frompc, unsigned long selfpc)
EXTERNC nsa nif void mcount(void *frompc, size_t selfpc)
{
// TODO: Implement
/* https://docs.kernel.org/trace/ftrace-design.html */