PMM and liballoc port
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
void debugprintf(const char *fmt, ...);
|
||||
|
||||
#define DEBUG(fmt, ...) do { \
|
||||
debugprintf("%s: " fmt, __PRETTY_FUNCTION__, ##__VA_ARGS__); \
|
||||
debugprintf("%s: " fmt, __func__, ##__VA_ARGS__); \
|
||||
} while(0)
|
||||
|
||||
#endif // _KERNEL_SYS_DEBUG_H
|
||||
|
||||
8
kernel/sys/mm.h
Normal file
8
kernel/sys/mm.h
Normal file
@@ -0,0 +1,8 @@
|
||||
#ifndef _KERNEL_SYS_MM_H
|
||||
#define _KERNEL_SYS_MM_H
|
||||
|
||||
#if defined(__x86_64__)
|
||||
#include <amd64/mm.h>
|
||||
#endif
|
||||
|
||||
#endif // _KERNEL_SYS_MM_H
|
||||
6
kernel/sys/spin_lock.h
Normal file
6
kernel/sys/spin_lock.h
Normal file
@@ -0,0 +1,6 @@
|
||||
#ifndef _KERNEL_SYS_SPIN_LOCK_H
|
||||
#define _KERNEL_SYS_SPIN_LOCK_H
|
||||
|
||||
void spin_lock_relax(void);
|
||||
|
||||
#endif // _KERNEL_SYS_SPIN_LOCK_H
|
||||
Reference in New Issue
Block a user