]> git.pld-linux.org Git - packages/acpica.git/blame - arm7hl.patch
- updated tests
[packages/acpica.git] / arm7hl.patch
CommitLineData
70586bb3
JB
1Index: acpica-unix-20191213/source/include/acmacros.h
2===================================================================
3--- acpica-unix-20191213.orig/source/include/acmacros.h
4+++ acpica-unix-20191213/source/include/acmacros.h
77760c90
JB
5@@ -178,6 +178,8 @@
6
7 /* 16-bit source, 16/32/64 destination */
8
9+#define ACPI_MOVE_16_TO_8(d, s) {(( UINT8 *)(void *)(d))[0] = ((UINT8 *)(void *)(s))[0];}
10+
11 #define ACPI_MOVE_16_TO_16(d, s) {(( UINT8 *)(void *)(d))[0] = ((UINT8 *)(void *)(s))[0];\
12 (( UINT8 *)(void *)(d))[1] = ((UINT8 *)(void *)(s))[1];}
13
14@@ -199,6 +201,7 @@
15
16 /* 64-bit source, 16/32/64 destination */
17
18+#define ACPI_MOVE_64_TO_8(d, s) ACPI_MOVE_16_TO_8(d, s) /* Truncate to 8 */
19 #define ACPI_MOVE_64_TO_16(d, s) ACPI_MOVE_16_TO_16(d, s) /* Truncate to 16 */
20 #define ACPI_MOVE_64_TO_32(d, s) ACPI_MOVE_32_TO_32(d, s) /* Truncate to 32 */
21 #define ACPI_MOVE_64_TO_64(d, s) {(( UINT8 *)(void *)(d))[0] = ((UINT8 *)(void *)(s))[0];\
This page took 0.19326 seconds and 4 git commands to generate.