Skip to content

Commit 7814761

Browse files
authored
fixed code structure regarding clock and timer interfaces (#106)
1 parent 4a273eb commit 7814761

6 files changed

Lines changed: 7 additions & 50 deletions

File tree

src/example_sbi/CMakeLists.txt

Lines changed: 0 additions & 5 deletions
This file was deleted.

src/example_sbi/entry.c

Lines changed: 0 additions & 39 deletions
This file was deleted.
Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
#include <hal/timer.h>
2-
#include <hal/trap.h>
3-
#include <stdbigos/clock.h>
1+
#include "clock.h"
2+
3+
#include <hal/include/timer.h>
4+
#include <hal/include/trap.h>
45

56
static u64 g_tick_quantum;
67
static u64 g_next_deadline;
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#ifndef STDBIGOS_CLOCK
22
#define STDBIGOS_CLOCK
33

4-
#include "error.h"
5-
#include "types.h"
4+
#include "stdbigos/error.h"
5+
#include "stdbigos/types.h"
66

77
/**
88
* @file include/stdbigos/clock.h
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#include <hal/timer.h>
1+
#include <hal/include/timer.h>
22
#include <stdbigos/sbi.h>
33
#include <stdbigos/sbi_utils.h>
44

0 commit comments

Comments
 (0)