Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
pisces
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
prognosticlab
pisces
Commits
25f3f66d
Commit
25f3f66d
authored
Jan 28, 2019
by
Jack Lange
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
start porting effort
parent
e3191533
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
10 deletions
+4
-10
vos.h
src/vmx/vos.h
+4
-10
No files found.
src/vmx/vos.h
View file @
25f3f66d
...
...
@@ -12,19 +12,13 @@
#include <linux/types.h>
#include <linux/cdev.h>
#include <linux/list.h>
#include <linux/sched.h>
#include <linux/slab.h>
#include <linux/mm.h>
#include <linux/proc_fs.h>
#define DEV_FILENAME "vos"
#define VOS_LAUNCH 100
struct
host_iommu_domain
;
uintptr_t
vos_alloc_pages
(
gfp_t
gfp_mask
,
u32
order
);
void
vos_free_pages
(
uintptr_t
addr
,
u32
order
);
...
...
@@ -36,22 +30,22 @@ void vos_kfree(void * ptr);
// The following macros are for printing in the linux module
#define vos_lnx_printk(fmt, args...) \
do { \
printk("
VOS
-lnx>: " fmt, ##args); \
printk("
Covirt
-lnx>: " fmt, ##args); \
} while (0)
#define ERROR(fmt, args...) \
do { \
printk(KERN_ERR "
VOS
-lnx> %s(%d): " fmt, __FILE__, __LINE__, ##args); \
printk(KERN_ERR "
Covirt
-lnx> %s(%d): " fmt, __FILE__, __LINE__, ##args); \
} while (0)
#define WARNING(fmt, args...) \
do { \
printk(KERN_WARNING "
VOS
-lnx>: " fmt, ##args); \
printk(KERN_WARNING "
Covirt
-lnx>: " fmt, ##args); \
} while (0)
#define DEBUG(fmt, args...) \
do { \
printk(KERN_DEBUG "
VOS
-lnx>: " fmt, ##args); \
printk(KERN_DEBUG "
Covirt
-lnx>: " fmt, ##args); \
} while (0)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment