Skip to content

Commit

Permalink
cleanup: minor changes to ktf.h and pagetable.h
Browse files Browse the repository at this point in the history
Signed-off-by: Pawel Wieczorkiewicz <[email protected]>
  • Loading branch information
wipawel committed Oct 28, 2020
1 parent d159ef5 commit 01fad33
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 1 addition & 2 deletions include/arch/x86/pagetable.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,8 @@

#include <compiler.h>
#include <lib.h>
#include <page.h>

#include <mm/pmm.h>
#include <page.h>

#ifndef __ASSEMBLY__

Expand Down
4 changes: 4 additions & 0 deletions include/ktf.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@

#include <compiler.h>

#ifndef __ASSEMBLY__

typedef uint16_t io_port_t;

typedef int (*user_func_t)(void *arg);
Expand All @@ -45,4 +47,6 @@ extern int usermode_call(user_func_t fn, void *fn_arg);
extern void kernel_main(void);
extern void test_main(void);

#endif /* __ASSEMBLY__ */

#endif /* KTF_KTF_H */

0 comments on commit 01fad33

Please sign in to comment.