]> git.pld-linux.org Git - packages/acpica.git/blame - arm7hl.patch
- updated to 20170303 with current Fedora patches
[packages/acpica.git] / arm7hl.patch
CommitLineData
77760c90
JB
1diff -Naur acpica-unix2-20170119/source/include/acmacros.h acpica-unix2-20170119-arm7hl/source/include/acmacros.h
2--- acpica-unix2-20170119/source/include/acmacros.h 2017-01-30 17:25:54.346151952 -0700
3+++ acpica-unix2-20170119-arm7hl/source/include/acmacros.h 2017-01-30 17:22:25.249388742 -0700
4@@ -178,6 +178,8 @@
5
6 /* 16-bit source, 16/32/64 destination */
7
8+#define ACPI_MOVE_16_TO_8(d, s) {(( UINT8 *)(void *)(d))[0] = ((UINT8 *)(void *)(s))[0];}
9+
10 #define ACPI_MOVE_16_TO_16(d, s) {(( UINT8 *)(void *)(d))[0] = ((UINT8 *)(void *)(s))[0];\
11 (( UINT8 *)(void *)(d))[1] = ((UINT8 *)(void *)(s))[1];}
12
13@@ -199,6 +201,7 @@
14
15 /* 64-bit source, 16/32/64 destination */
16
17+#define ACPI_MOVE_64_TO_8(d, s) ACPI_MOVE_16_TO_8(d, s) /* Truncate to 8 */
18 #define ACPI_MOVE_64_TO_16(d, s) ACPI_MOVE_16_TO_16(d, s) /* Truncate to 16 */
19 #define ACPI_MOVE_64_TO_32(d, s) ACPI_MOVE_32_TO_32(d, s) /* Truncate to 32 */
20 #define ACPI_MOVE_64_TO_64(d, s) {(( UINT8 *)(void *)(d))[0] = ((UINT8 *)(void *)(s))[0];\
This page took 0.08763 seconds and 4 git commands to generate.