git.ucc.asn.au
/
tpg
/
acess2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
148a058
)
Modules/UDI - Fixed kernel-land compile errors
author
John Hodge
<
[email protected]
>
Tue, 1 Oct 2013 06:41:57 +0000
(14:41 +0800)
committer
John Hodge
<
[email protected]
>
Tue, 1 Oct 2013 06:41:57 +0000
(14:41 +0800)
KernelLand/Modules/Interfaces/UDI/Makefile
patch
|
blob
|
history
KernelLand/Modules/Interfaces/UDI/include/udi_physio.h
patch
|
blob
|
history
KernelLand/Modules/Interfaces/UDI/trans/bus_pci.c
patch
|
blob
|
history
diff --git
a/KernelLand/Modules/Interfaces/UDI/Makefile
b/KernelLand/Modules/Interfaces/UDI/Makefile
index
dde172c
..
57160b4
100644
(file)
--- a/
KernelLand/Modules/Interfaces/UDI/Makefile
+++ b/
KernelLand/Modules/Interfaces/UDI/Makefile
@@
-17,3
+17,9
@@
OBJ += $(LIB_OBJS:%=udi_lib/%) $(TRANS_OBJS:%=trans/%)
NAME = UDI
-include ../Makefile.tpl
+
+ifeq ($(ARCHDIR),x86)
+ CPPFLAGS += -DUDI_ABI_is_ia32
+else
+ $(error TODO: Support other UDI ABIs [$(ARCHDIR) unsupported])
+endif
diff --git
a/KernelLand/Modules/Interfaces/UDI/include/udi_physio.h
b/KernelLand/Modules/Interfaces/UDI/include/udi_physio.h
index
818257e
..
84b684b
100644
(file)
--- a/
KernelLand/Modules/Interfaces/UDI/include/udi_physio.h
+++ b/
KernelLand/Modules/Interfaces/UDI/include/udi_physio.h
@@
-10,7
+10,7
@@
// DMA Core
typedef _udi_handle_t udi_dma_handle_t;
#define UDI_NULL_DMA_HANDLE _NULL_HANDLE
-typedef
Uint64
udi_busaddr64_t; //!< \note Opaque
+typedef
uint64_t
udi_busaddr64_t; //!< \note Opaque
typedef struct udi_scgth_element_32_s udi_scgth_element_32_t;
typedef struct udi_scgth_element_64_s udi_scgth_element_64_t;
typedef struct udi_scgth_s udi_scgth_t;
diff --git
a/KernelLand/Modules/Interfaces/UDI/trans/bus_pci.c
b/KernelLand/Modules/Interfaces/UDI/trans/bus_pci.c
index
96e1462
..
b586947
100644
(file)
--- a/
KernelLand/Modules/Interfaces/UDI/trans/bus_pci.c
+++ b/
KernelLand/Modules/Interfaces/UDI/trans/bus_pci.c
@@
-7,6
+7,7
@@
*/
#include <udi.h>
#include <udi_physio.h>
+#include <acess.h>
#include <drv_pci.h> // acess
// === MACROS ===
UCC
git Repository :: git.ucc.asn.au