@@ -256,20 +256,20 @@ pub const PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP: ::pthread_mutex_t = pthread_mut
256
256
] ,
257
257
} ;
258
258
259
- pub const HWCAP_CPUCFG : :: c_ulong = 1 << 0 ;
260
- pub const HWCAP_LAM : :: c_ulong = 1 << 1 ;
261
- pub const HWCAP_UAL : :: c_ulong = 1 << 2 ;
262
- pub const HWCAP_FPU : :: c_ulong = 1 << 3 ;
263
- pub const HWCAP_LSX : :: c_ulong = 1 << 4 ;
264
- pub const HWCAP_LASX : :: c_ulong = 1 << 5 ;
265
- pub const HWCAP_CRC32 : :: c_ulong = 1 << 6 ;
266
- pub const HWCAP_COMPLEX : :: c_ulong = 1 << 7 ;
267
- pub const HWCAP_CRYPTO : :: c_ulong = 1 << 8 ;
268
- pub const HWCAP_LVZ : :: c_ulong = 1 << 9 ;
269
- pub const HWCAP_LBT_X86 : :: c_ulong = 1 << 10 ;
270
- pub const HWCAP_LBT_ARM : :: c_ulong = 1 << 11 ;
271
- pub const HWCAP_LBT_MIPS : :: c_ulong = 1 << 12 ;
272
- pub const HWCAP_PTW : :: c_ulong = 1 << 13 ;
259
+ pub const HWCAP_LOONGARCH_CPUCFG : :: c_ulong = 1 << 0 ;
260
+ pub const HWCAP_LOONGARCH_LAM : :: c_ulong = 1 << 1 ;
261
+ pub const HWCAP_LOONGARCH_UAL : :: c_ulong = 1 << 2 ;
262
+ pub const HWCAP_LOONGARCH_FPU : :: c_ulong = 1 << 3 ;
263
+ pub const HWCAP_LOONGARCH_LSX : :: c_ulong = 1 << 4 ;
264
+ pub const HWCAP_LOONGARCH_LASX : :: c_ulong = 1 << 5 ;
265
+ pub const HWCAP_LOONGARCH_CRC32 : :: c_ulong = 1 << 6 ;
266
+ pub const HWCAP_LOONGARCH_COMPLEX : :: c_ulong = 1 << 7 ;
267
+ pub const HWCAP_LOONGARCH_CRYPTO : :: c_ulong = 1 << 8 ;
268
+ pub const HWCAP_LOONGARCH_LVZ : :: c_ulong = 1 << 9 ;
269
+ pub const HWCAP_LOONGARCH_LBT_X86 : :: c_ulong = 1 << 10 ;
270
+ pub const HWCAP_LOONGARCH_LBT_ARM : :: c_ulong = 1 << 11 ;
271
+ pub const HWCAP_LOONGARCH_LBT_MIPS : :: c_ulong = 1 << 12 ;
272
+ pub const HWCAP_LOONGARCH_PTW : :: c_ulong = 1 << 13 ;
273
273
274
274
pub const SYS_io_setup : :: c_long = 0 ;
275
275
pub const SYS_io_destroy : :: c_long = 1 ;
0 commit comments