[rtems-libbsd commit] BUS_SPACE(9): 64-bit support
Sebastian Huber
sebh at rtems.org
Wed Aug 23 09:04:32 UTC 2017
Module: rtems-libbsd
Branch: master
Commit: 34ff390b0915da9643fceab6d62c39d28d78ebfa
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=34ff390b0915da9643fceab6d62c39d28d78ebfa
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Thu Aug 10 15:03:44 2017 +0200
BUS_SPACE(9): 64-bit support
Update #3082.
---
rtemsbsd/include/machine/bus.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/rtemsbsd/include/machine/bus.h b/rtemsbsd/include/machine/bus.h
index 49fb4fe..1f1d325 100644
--- a/rtemsbsd/include/machine/bus.h
+++ b/rtemsbsd/include/machine/bus.h
@@ -155,14 +155,14 @@
/*
* Bus address and size types
*/
-typedef unsigned int bus_addr_t;
-typedef unsigned int bus_size_t;
+typedef uintptr_t bus_addr_t;
+typedef uintptr_t bus_size_t;
/*
* Access methods for bus resources and address space.
*/
typedef int bus_space_tag_t;
-typedef unsigned int bus_space_handle_t;
+typedef uintptr_t bus_space_handle_t;
/*
* Map a region of device bus space into CPU virtual address space.
More information about the vc
mailing list