USB driver polling user app, handle only one XHCI controller for now, Implement USB device addressing
This commit is contained in:
@@ -114,3 +114,7 @@ int stream_read (int pgid, int rid, void* buffer, size_t size) {
|
||||
int get_proc_info (struct proc_info* infos, size_t count) {
|
||||
return (int)do_syscall (SYS_GET_PROC_INFO, infos, count);
|
||||
}
|
||||
|
||||
int get_device_info (struct device_info* infos, size_t count) {
|
||||
return (int)do_syscall (SYS_GET_DEVICE_INFO, infos, count);
|
||||
}
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
#define _LIBMSL_M_SYSTEM_H
|
||||
|
||||
#include <desc.h>
|
||||
#include <device_info.h>
|
||||
#include <dir_entry.h>
|
||||
#include <proc_info.h>
|
||||
#include <stddef.h>
|
||||
@@ -118,4 +119,7 @@ int stream_read (int pgid, int rid, void* buffer, size_t size);
|
||||
/* get process information */
|
||||
int get_proc_info (struct proc_info* infos, size_t count);
|
||||
|
||||
/* get device information */
|
||||
int get_device_info (struct device_info* infos, size_t count);
|
||||
|
||||
#endif // _LIBMSL_M_SYSTEM_H
|
||||
|
||||
Reference in New Issue
Block a user