Deleted Added
full compact
acmacros.h (129684) acmacros.h (131440)
1/******************************************************************************
2 *
3 * Name: acmacros.h - C macros for the entire subsystem.
1/******************************************************************************
2 *
3 * Name: acmacros.h - C macros for the entire subsystem.
4 * $Revision: 150 $
4 * $Revision: 151 $
5 *
6 *****************************************************************************/
7
8/******************************************************************************
9 *
10 * 1. Copyright Notice
11 *
12 * Some or all of this work - Copyright (c) 1999 - 2004, Intel Corp.

--- 108 unchanged lines hidden (view full) ---

121/*
122 * Data manipulation macros
123 */
124#define ACPI_LOWORD(l) ((UINT16)(UINT32)(l))
125#define ACPI_HIWORD(l) ((UINT16)((((UINT32)(l)) >> 16) & 0xFFFF))
126#define ACPI_LOBYTE(l) ((UINT8)(UINT16)(l))
127#define ACPI_HIBYTE(l) ((UINT8)((((UINT16)(l)) >> 8) & 0xFF))
128
5 *
6 *****************************************************************************/
7
8/******************************************************************************
9 *
10 * 1. Copyright Notice
11 *
12 * Some or all of this work - Copyright (c) 1999 - 2004, Intel Corp.

--- 108 unchanged lines hidden (view full) ---

121/*
122 * Data manipulation macros
123 */
124#define ACPI_LOWORD(l) ((UINT16)(UINT32)(l))
125#define ACPI_HIWORD(l) ((UINT16)((((UINT32)(l)) >> 16) & 0xFFFF))
126#define ACPI_LOBYTE(l) ((UINT8)(UINT16)(l))
127#define ACPI_HIBYTE(l) ((UINT8)((((UINT16)(l)) >> 8) & 0xFF))
128
129#define ACPI_SET_BIT(target,bit) ((target) |= (bit))
130#define ACPI_CLEAR_BIT(target,bit) ((target) &= ~(bit))
129
131
132
130#if ACPI_MACHINE_WIDTH == 16
131
132/*
133 * For 16-bit addresses, we have to assume that the upper 32 bits
134 * are zero.
135 */
136#define ACPI_LODWORD(l) ((UINT32)(l))
137#define ACPI_HIDWORD(l) ((UINT32)(0))

--- 620 unchanged lines hidden ---
133#if ACPI_MACHINE_WIDTH == 16
134
135/*
136 * For 16-bit addresses, we have to assume that the upper 32 bits
137 * are zero.
138 */
139#define ACPI_LODWORD(l) ((UINT32)(l))
140#define ACPI_HIDWORD(l) ((UINT32)(0))

--- 620 unchanged lines hidden ---