Changeset View
Changeset View
Standalone View
Standalone View
sys/arm64/include/elf.h
| Show All 20 Lines | |||||
| * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||
| * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||
| * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||
| * SUCH DAMAGE. | * SUCH DAMAGE. | ||||
| * | * | ||||
| * $FreeBSD$ | * $FreeBSD$ | ||||
| */ | */ | ||||
| #ifdef __arm__ | |||||
| #include <arm/elf.h> | |||||
| #else /* !__arm__ */ | |||||
| #ifndef _MACHINE_ELF_H_ | #ifndef _MACHINE_ELF_H_ | ||||
| #define _MACHINE_ELF_H_ | #define _MACHINE_ELF_H_ | ||||
| /* | /* | ||||
| * ELF definitions for the AArch64 architecture. | * ELF definitions for the AArch64 architecture. | ||||
| */ | */ | ||||
| #include <sys/elf32.h> /* Definitions common to all 32 bit architectures. */ | #include <sys/elf32.h> /* Definitions common to all 32 bit architectures. */ | ||||
| ▲ Show 20 Lines • Show All 138 Lines • ▼ Show 20 Lines | |||||
| #define HWCAP32_2_AES 0x00000001 | #define HWCAP32_2_AES 0x00000001 | ||||
| #define HWCAP32_2_PMULL 0x00000002 | #define HWCAP32_2_PMULL 0x00000002 | ||||
| #define HWCAP32_2_SHA1 0x00000004 | #define HWCAP32_2_SHA1 0x00000004 | ||||
| #define HWCAP32_2_SHA2 0x00000008 | #define HWCAP32_2_SHA2 0x00000008 | ||||
| #define HWCAP32_2_CRC32 0x00000010 | #define HWCAP32_2_CRC32 0x00000010 | ||||
| #endif | #endif | ||||
| #endif /* !_MACHINE_ELF_H_ */ | #endif /* !_MACHINE_ELF_H_ */ | ||||
| #endif /* !__arm__ */ | |||||