ls1x-loongson-gnu-toolchain.../sysroot/usr/include/asm/abidefs.h
2024-11-27 15:46:37 +08:00

22 lines
528 B
C

/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
/*
* Author: Hanlu Li <lihanlu@loongson.cn>
* Huacai Chen <chenhuacai@loongson.cn>
*
* Copyright (C) 2020-2021 Loongson Technology Corporation Limited
*/
#ifndef __ASM_ABIDEFS_H
#define __ASM_ABIDEFS_H
#define _LOONGARCH_ISA_LOONGARCH32 1
#define _LOONGARCH_ISA_LOONGARCH64 2
/*
* Subprogram calling convention
*/
#define _LOONGARCH_SIM_ABILP32 1
#define _LOONGARCH_SIM_ABILPX32 2
#define _LOONGARCH_SIM_ABILP64 3
#endif /* __ASM_ABIDEFS_H */