22 lines
528 B
C
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 */
|