#ifndef __ACMACROS_H__
#define __ACMACROS_H__
#define ACPI_CAST8(ptr) …
#define ACPI_CAST16(ptr) …
#define ACPI_CAST32(ptr) …
#define ACPI_CAST64(ptr) …
#define ACPI_GET8(ptr) …
#define ACPI_GET16(ptr) …
#define ACPI_GET32(ptr) …
#define ACPI_GET64(ptr) …
#define ACPI_SET8(ptr, val) …
#define ACPI_SET16(ptr, val) …
#define ACPI_SET32(ptr, val) …
#define ACPI_SET64(ptr, val) …
#define ACPI_FORMAT_UINT64(i) …
#ifdef ACPI_BIG_ENDIAN
#define ACPI_MOVE_16_TO_16 …
#define ACPI_MOVE_16_TO_32 …
#define ACPI_MOVE_16_TO_64 …
#define ACPI_MOVE_32_TO_16 …
#define ACPI_MOVE_32_TO_32 …
#define ACPI_MOVE_32_TO_64 …
#define ACPI_MOVE_64_TO_16 …
#define ACPI_MOVE_64_TO_32 …
#define ACPI_MOVE_64_TO_64 …
#else
#ifndef ACPI_MISALIGNMENT_NOT_SUPPORTED
#define ACPI_MOVE_16_TO_16(d, s) …
#define ACPI_MOVE_16_TO_32(d, s) …
#define ACPI_MOVE_16_TO_64(d, s) …
#define ACPI_MOVE_32_TO_16(d, s) …
#define ACPI_MOVE_32_TO_32(d, s) …
#define ACPI_MOVE_32_TO_64(d, s) …
#define ACPI_MOVE_64_TO_16(d, s) …
#define ACPI_MOVE_64_TO_32(d, s) …
#define ACPI_MOVE_64_TO_64(d, s) …
#else
#define ACPI_MOVE_16_TO_16 …
#define ACPI_MOVE_16_TO_32 …
#define ACPI_MOVE_16_TO_64 …
#define ACPI_MOVE_32_TO_16 …
#define ACPI_MOVE_32_TO_32 …
#define ACPI_MOVE_32_TO_64 …
#define ACPI_MOVE_64_TO_16 …
#define ACPI_MOVE_64_TO_32 …
#define ACPI_MOVE_64_TO_64 …
#endif
#endif
#define _ACPI_DIV(value, power_of2) …
#define _ACPI_MUL(value, power_of2) …
#define _ACPI_MOD(value, divisor) …
#define ACPI_DIV_2(a) …
#define ACPI_MUL_2(a) …
#define ACPI_MOD_2(a) …
#define ACPI_DIV_4(a) …
#define ACPI_MUL_4(a) …
#define ACPI_MOD_4(a) …
#define ACPI_DIV_8(a) …
#define ACPI_MUL_8(a) …
#define ACPI_MOD_8(a) …
#define ACPI_DIV_16(a) …
#define ACPI_MUL_16(a) …
#define ACPI_MOD_16(a) …
#define ACPI_DIV_32(a) …
#define ACPI_MUL_32(a) …
#define ACPI_MOD_32(a) …
#define ACPI_IS_ASCII(c) …
#define ACPI_SIGN_POSITIVE …
#define ACPI_SIGN_NEGATIVE …
#define ACPI_ROUND_DOWN(value, boundary) …
#define ACPI_ROUND_UP(value, boundary) …
#define ACPI_ROUND_DOWN_TO_32BIT(a) …
#define ACPI_ROUND_DOWN_TO_64BIT(a) …
#define ACPI_ROUND_DOWN_TO_NATIVE_WORD(a) …
#define ACPI_ROUND_UP_TO_32BIT(a) …
#define ACPI_ROUND_UP_TO_64BIT(a) …
#define ACPI_ROUND_UP_TO_NATIVE_WORD(a) …
#define ACPI_ROUND_BITS_UP_TO_BYTES(a) …
#define ACPI_ROUND_BITS_DOWN_TO_BYTES(a) …
#define ACPI_ROUND_UP_TO_1K(a) …
#define ACPI_ROUND_UP_TO(value, boundary) …
#define ACPI_IS_MISALIGNED(value) …
#ifndef ACPI_USE_NATIVE_BIT_FINDER
#define __ACPI_FIND_LAST_BIT_2(a, r) …
#define __ACPI_FIND_LAST_BIT_4(a, r) …
#define __ACPI_FIND_LAST_BIT_8(a, r) …
#define __ACPI_FIND_LAST_BIT_16(a, r) …
#define __ACPI_FIND_LAST_BIT_32(a, r) …
#define __ACPI_FIND_LAST_BIT_64(a, r) …
#define ACPI_FIND_LAST_BIT_8(a) …
#define ACPI_FIND_LAST_BIT_16(a) …
#define ACPI_FIND_LAST_BIT_32(a) …
#define ACPI_FIND_LAST_BIT_64(a) …
#define __ACPI_FIND_FIRST_BIT_2(a, r) …
#define __ACPI_FIND_FIRST_BIT_4(a, r) …
#define __ACPI_FIND_FIRST_BIT_8(a, r) …
#define __ACPI_FIND_FIRST_BIT_16(a, r) …
#define __ACPI_FIND_FIRST_BIT_32(a, r) …
#define __ACPI_FIND_FIRST_BIT_64(a, r) …
#define ACPI_FIND_FIRST_BIT_8(a) …
#define ACPI_FIND_FIRST_BIT_16(a) …
#define ACPI_FIND_FIRST_BIT_32(a) …
#define ACPI_FIND_FIRST_BIT_64(a) …
#endif
#define ACPI_ROUND_UP_POWER_OF_TWO_8(a) …
#define ACPI_ROUND_DOWN_POWER_OF_TWO_8(a) …
#define ACPI_ROUND_UP_POWER_OF_TWO_16(a) …
#define ACPI_ROUND_DOWN_POWER_OF_TWO_16(a) …
#define ACPI_ROUND_UP_POWER_OF_TWO_32(a) …
#define ACPI_ROUND_DOWN_POWER_OF_TWO_32(a) …
#define ACPI_IS_ALIGNED(a, s) …
#define ACPI_IS_POWER_OF_TWO(a) …
#define ACPI_MASK_BITS_ABOVE(position) …
#define ACPI_MASK_BITS_BELOW(position) …
#define ACPI_MASK_BITS_ABOVE_32(width) …
#define ACPI_MASK_BITS_BELOW_32(width) …
#define ACPI_MASK_BITS_ABOVE_64(width) …
#define ACPI_MASK_BITS_BELOW_64(width) …
#define ACPI_REGISTER_PREPARE_BITS(val, pos, mask) …
#define ACPI_REGISTER_INSERT_VALUE(reg, pos, mask, val) …
#define ACPI_INSERT_BITS(target, mask, source) …
#define ACPI_GET_BITS(source_ptr, position, mask) …
#define ACPI_SET_BITS(target_ptr, position, mask, value) …
#define ACPI_1BIT_MASK …
#define ACPI_2BIT_MASK …
#define ACPI_3BIT_MASK …
#define ACPI_4BIT_MASK …
#define ACPI_5BIT_MASK …
#define ACPI_6BIT_MASK …
#define ACPI_7BIT_MASK …
#define ACPI_8BIT_MASK …
#define ACPI_16BIT_MASK …
#define ACPI_24BIT_MASK …
#define ACPI_GET_1BIT_FLAG(value) …
#define ACPI_GET_2BIT_FLAG(value) …
#define ACPI_GET_3BIT_FLAG(value) …
#define ACPI_GET_4BIT_FLAG(value) …
#define ACPI_EXTRACT_1BIT_FLAG(field, position) …
#define ACPI_EXTRACT_2BIT_FLAG(field, position) …
#define ACPI_EXTRACT_3BIT_FLAG(field, position) …
#define ACPI_EXTRACT_4BIT_FLAG(field, position) …
#define ACPI_IS_ROOT_PREFIX(c) …
#define ACPI_IS_PARENT_PREFIX(c) …
#define ACPI_IS_PATH_SEPARATOR(c) …
#define ACPI_GET_DESCRIPTOR_PTR(d) …
#define ACPI_SET_DESCRIPTOR_PTR(d, p) …
#define ACPI_GET_DESCRIPTOR_TYPE(d) …
#define ACPI_SET_DESCRIPTOR_TYPE(d, t) …
#if defined (ACPI_DISASSEMBLER) || defined (ACPI_DEBUG_OUTPUT)
#define ACPI_OP(name, Pargs, Iargs, obj_type, class, type, flags) …
#else
#define ACPI_OP …
#endif
#define ARG_TYPE_WIDTH …
#define ARG_1(x) …
#define ARG_2(x) …
#define ARG_3(x) …
#define ARG_4(x) …
#define ARG_5(x) …
#define ARG_6(x) …
#define ARGI_LIST1(a) …
#define ARGI_LIST2(a, b) …
#define ARGI_LIST3(a, b, c) …
#define ARGI_LIST4(a, b, c, d) …
#define ARGI_LIST5(a, b, c, d, e) …
#define ARGI_LIST6(a, b, c, d, e, f) …
#define ARGP_LIST1(a) …
#define ARGP_LIST2(a, b) …
#define ARGP_LIST3(a, b, c) …
#define ARGP_LIST4(a, b, c, d) …
#define ARGP_LIST5(a, b, c, d, e) …
#define ARGP_LIST6(a, b, c, d, e, f) …
#define GET_CURRENT_ARG_TYPE(list) …
#define INCREMENT_ARG_LIST(list) …
#ifndef ACPI_NO_ERROR_MESSAGES
#define ACPI_ERROR_NAMESPACE(s, p, e) …
#define ACPI_ERROR_METHOD(s, n, p, e) …
#define ACPI_WARN_PREDEFINED(plist) …
#define ACPI_INFO_PREDEFINED(plist) …
#define ACPI_BIOS_ERROR_PREDEFINED(plist) …
#define ACPI_ERROR_ONLY(s) …
#else
#define ACPI_ERROR_NAMESPACE …
#define ACPI_ERROR_METHOD …
#define ACPI_WARN_PREDEFINED …
#define ACPI_INFO_PREDEFINED …
#define ACPI_BIOS_ERROR_PREDEFINED …
#define ACPI_ERROR_ONLY …
#endif
#if (!ACPI_REDUCED_HARDWARE)
#define ACPI_HW_OPTIONAL_FUNCTION …
#else
#define ACPI_HW_OPTIONAL_FUNCTION(addr) …
#endif
#define ACPI_INIT_UUID(a, b, c, d0, d1, d2, d3, d4, d5, d6, d7) …
#define ACPI_IS_OCTAL_DIGIT(d) …
#ifdef ACPI_ASL_COMPILER
#define ASL_CV_LABEL_FILENODE …
#define ASL_CV_CAPTURE_COMMENTS_ONLY …
#define ASL_CV_CAPTURE_COMMENTS …
#define ASL_CV_TRANSFER_COMMENTS …
#define ASL_CV_CLOSE_PAREN …
#define ASL_CV_CLOSE_BRACE …
#define ASL_CV_SWITCH_FILES …
#define ASL_CV_CLEAR_OP_COMMENTS …
#define ASL_CV_PRINT_ONE_COMMENT …
#define ASL_CV_PRINT_ONE_COMMENT_LIST …
#define ASL_CV_FILE_HAS_SWITCHED …
#define ASL_CV_INIT_FILETREE …
#else
#define ASL_CV_LABEL_FILENODE(a) …
#define ASL_CV_CAPTURE_COMMENTS_ONLY(a) …
#define ASL_CV_CAPTURE_COMMENTS(a) …
#define ASL_CV_TRANSFER_COMMENTS(a) …
#define ASL_CV_CLOSE_PAREN(a,b) …
#define ASL_CV_CLOSE_BRACE(a,b) …
#define ASL_CV_SWITCH_FILES(a,b) …
#define ASL_CV_CLEAR_OP_COMMENTS(a) …
#define ASL_CV_PRINT_ONE_COMMENT(a,b,c,d) …
#define ASL_CV_PRINT_ONE_COMMENT_LIST(a,b) …
#define ASL_CV_FILE_HAS_SWITCHED(a) …
#define ASL_CV_INIT_FILETREE(a,b) …
#endif
#endif