diff options
author | ian <ian@FreeBSD.org> | 2015-02-13 22:32:02 +0000 |
---|---|---|
committer | ian <ian@FreeBSD.org> | 2015-02-13 22:32:02 +0000 |
commit | 56013bbc63788f7f357610ccce91f2cc61c70d95 (patch) | |
tree | f7990f29f83b3e942c97bf9fd8ada9ff38d30acf /sys/arm/allwinner | |
parent | b137f825dc5437b86b9badcabaf55639bb4d862b (diff) | |
download | FreeBSD-src-56013bbc63788f7f357610ccce91f2cc61c70d95.zip FreeBSD-src-56013bbc63788f7f357610ccce91f2cc61c70d95.tar.gz |
MFC r277454, r277460, r277465, r277466, r277467, r277469, r277470, r277471,
r277472, r277473, r277474, r277475, r277476, r277477, r277478, r277479,
r277480, r277512, r277516:
Add inline implementations of arm bus_space_read/write_N().
Revise the arm bus_space implementation to avoid dereferencing the tag on
every operation to retrieve the bs_cookie value almost nothing actually uses.
Use the explicit member initializer style to init the bus_space struct.
Use arm/bus_space-v6.c for all armv6 systems
Consolidate many identical implementations of bus_space to a single
common tag and implementation shared by armv4 and armv6.
Micro-optimize the new arm inline bus_space implementation by grouping all
the data the inline functions access together at the start of the bus_space
struct so that they all fit in a single cache line.
Diffstat (limited to 'sys/arm/allwinner')
-rw-r--r-- | sys/arm/allwinner/a20/files.a20 | 4 | ||||
-rw-r--r-- | sys/arm/allwinner/files.a10 | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/arm/allwinner/a20/files.a20 b/sys/arm/allwinner/a20/files.a20 index 1c02e90..04f2379 100644 --- a/sys/arm/allwinner/a20/files.a20 +++ b/sys/arm/allwinner/a20/files.a20 @@ -17,7 +17,7 @@ arm/allwinner/a10_ehci.c optional ehci arm/allwinner/if_emac.c optional emac arm/allwinner/a10_wdog.c standard arm/allwinner/timer.c standard -arm/arm/bus_space-v6.c standard -arm/allwinner/a10_common.c standard +arm/arm/bus_space_base.c standard +arm/allwinner/a10_common.c standard arm/allwinner/a10_machdep.c standard arm/allwinner/a20/a20_mp.c optional smp diff --git a/sys/arm/allwinner/files.a10 b/sys/arm/allwinner/files.a10 index c14ef2e..eb5154e 100644 --- a/sys/arm/allwinner/files.a10 +++ b/sys/arm/allwinner/files.a10 @@ -19,5 +19,5 @@ arm/allwinner/a20/a20_cpu_cfg.c standard arm/allwinner/aintc.c standard arm/allwinner/if_emac.c optional emac arm/allwinner/timer.c standard -arm/arm/bus_space-v6.c standard -#arm/allwinner/console.c standard +arm/arm/bus_space_base.c standard +#arm/allwinner/console.c standard |