git://scm.lunaixsky.com
/
lunaix-os.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
feat: better rtc framework which aims to remove single rtc restrictions.
[lunaix-os.git]
/
lunaix-os
/
kernel
/
device
/
pseudo
/
devpseudo.c
1
#include <lunaix/device.h>
2
3
extern void
4
devbuiltin_init_rand();
5
6
extern void
7
devbuiltin_init_null();
8
9
void
10
device_install_pseudo()
11
{
12
ptr_t pdev_init_fn;
13
int index;
14
ldga_foreach(pseudo_dev, ptr_t, index, pdev_init_fn)
15
{
16
((void (*)())pdev_init_fn)();
17
}
18
}