feat: reformatted code base to be more standard
This commit is contained in:
18
include/myke/cpu/timer.h
Normal file
18
include/myke/cpu/timer.h
Normal file
@@ -0,0 +1,18 @@
|
||||
//
|
||||
// Created by rick on 9/22/19.
|
||||
//
|
||||
|
||||
#ifndef MY_KERNEL_TIMER_H
|
||||
#define MY_KERNEL_TIMER_H
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
int init_timer(uint32_t freq);
|
||||
|
||||
void print_current_tick();
|
||||
|
||||
uint32_t timer_get_tick();
|
||||
|
||||
void sleep(uint32_t milliseconds);
|
||||
|
||||
#endif //MY_KERNEL_TIMER_H
|
||||
Reference in New Issue
Block a user