git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
regression: elf loading
[lunaix-os.git]
/
lunaix-os
/
kernel
/
device
/
device.c
diff --git
a/lunaix-os/kernel/device/device.c
b/lunaix-os/kernel/device/device.c
index 6b901a6593958ac2a38fd4ea35009fd62d67c141..3647f10a87f778395cb4efba6f4080b622cd0f63 100644
(file)
--- a/
lunaix-os/kernel/device/device.c
+++ b/
lunaix-os/kernel/device/device.c
@@
-6,6
+6,7
@@
#include <lunaix/mm/valloc.h>
#include <lunaix/spike.h>
#include <lunaix/syscall.h>
#include <lunaix/mm/valloc.h>
#include <lunaix/spike.h>
#include <lunaix/syscall.h>
+#include <lunaix/syscall_utils.h>
static DEFINE_LLIST(root_list);
static DEFINE_LLIST(root_list);
@@
-15,7
+16,7
@@
struct device*
device_add(struct device* parent,
void* underlay,
char* name_fmt,
device_add(struct device* parent,
void* underlay,
char* name_fmt,
- u
int
32_t type,
+ u32_t type,
va_list args)
{
struct device* dev = vzalloc(sizeof(struct device));
va_list args)
{
struct device* dev = vzalloc(sizeof(struct device));