git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Kernel - Removed debug from elf and mmap
[tpg/acess2.git]
/
Modules
/
USB
/
Core
/
main.c
diff --git
a/Modules/USB/Core/main.c
b/Modules/USB/Core/main.c
index
5744c29
..
712f602
100644
(file)
--- a/
Modules/USB/Core/main.c
+++ b/
Modules/USB/Core/main.c
@@
-11,17
+11,17
@@
#include "usb.h"
// === IMPORTS ===
#include "usb.h"
// === IMPORTS ===
-
int UHCI_Initialise(
);
+
extern int UHCI_Initialise(void
);
// === PROTOTYPES ===
int USB_Install(char **Arguments);
// === PROTOTYPES ===
int USB_Install(char **Arguments);
-void USB_Cleanup();
+void USB_Cleanup(
void
);
char *USB_ReadDir(tVFS_Node *Node, int Pos);
char *USB_ReadDir(tVFS_Node *Node, int Pos);
-tVFS_Node *USB_FindDir(tVFS_Node *Node, char *Name);
+tVFS_Node *USB_FindDir(tVFS_Node *Node, c
onst c
har *Name);
int USB_IOCtl(tVFS_Node *Node, int Id, void *Data);
// === GLOBALS ===
int USB_IOCtl(tVFS_Node *Node, int Id, void *Data);
// === GLOBALS ===
-MODULE_DEFINE(0, VERSION, USB, USB_Install, NULL, NULL);
+MODULE_DEFINE(0, VERSION, USB
_Core
, USB_Install, NULL, NULL);
tDevFS_Driver gUSB_DrvInfo = {
NULL, "usb", {
.NumACLs = 1,
tDevFS_Driver gUSB_DrvInfo = {
NULL, "usb", {
.NumACLs = 1,
@@
-43,7
+43,7
@@
tUSBHost *gUSB_Hosts = NULL;
int USB_Install(char **Arguments)
{
UHCI_Initialise();
int USB_Install(char **Arguments)
{
UHCI_Initialise();
-
Warning("[USB ]
Not Complete - Devel Only");
+
Log_Warning("USB", "
Not Complete - Devel Only");
return MODULE_ERR_OK;
}
return MODULE_ERR_OK;
}
@@
-65,10
+65,10
@@
char *USB_ReadDir(tVFS_Node *Node, int Pos)
}
/**
}
/**
- * \fn tVFS_Node *USB_FindDir(tVFS_Node *Node, char *Name)
+ * \fn tVFS_Node *USB_FindDir(tVFS_Node *Node, c
onst c
har *Name)
* \brief Locate an entry in the USB root
*/
* \brief Locate an entry in the USB root
*/
-tVFS_Node *USB_FindDir(tVFS_Node *Node, char *Name)
+tVFS_Node *USB_FindDir(tVFS_Node *Node, c
onst c
har *Name)
{
return NULL;
}
{
return NULL;
}
UCC
git Repository :: git.ucc.asn.au