Karg  v0.2.0
The kernel of CargOS
timer.c File Reference
#include <timer.h>
#include <arch/riscv/csr.h>
#include <arch/riscv/sbi.h>
#include <errno.h>
#include <module/init.h>
#include <module/log.h>
#include <module/module.h>

Functions

 MODULE_NAME ("timer")
 
 module_pre_init (init)
 
void timer_set (time_t wait_time)
 

Function Documentation

◆ MODULE_NAME()

MODULE_NAME ( "timer"  )

◆ module_pre_init()

module_pre_init ( init  )

◆ timer_set()

void timer_set ( time_t  wait_time)