Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
felixmoebius
libc
Commits
09ec6a67
Commit
09ec6a67
authored
5 years ago
by
Emmanuel Gil Peyrot
Browse files
Options
Downloads
Patches
Plain Diff
Add missing AArch64 HWCAP_* and HWCAP2_* values.
parent
912fc7be
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/unix/linux_like/linux/gnu/b64/aarch64/mod.rs
+43
-0
43 additions, 0 deletions
src/unix/linux_like/linux/gnu/b64/aarch64/mod.rs
with
43 additions
and
0 deletions
src/unix/linux_like/linux/gnu/b64/aarch64/mod.rs
+
43
−
0
View file @
09ec6a67
...
...
@@ -662,6 +662,49 @@ pub const TCSAFLUSH: ::c_int = 2;
pub
const
TIOCLINUX
:
::
c_ulong
=
0x541C
;
pub
const
TIOCGSERIAL
:
::
c_ulong
=
0x541E
;
// sys/auxv.h
pub
const
HWCAP_FP
:
::
c_ulong
=
1
<<
0
;
pub
const
HWCAP_ASIMD
:
::
c_ulong
=
1
<<
1
;
pub
const
HWCAP_EVTSTRM
:
::
c_ulong
=
1
<<
2
;
pub
const
HWCAP_AES
:
::
c_ulong
=
1
<<
3
;
pub
const
HWCAP_PMULL
:
::
c_ulong
=
1
<<
4
;
pub
const
HWCAP_SHA1
:
::
c_ulong
=
1
<<
5
;
pub
const
HWCAP_SHA2
:
::
c_ulong
=
1
<<
6
;
pub
const
HWCAP_CRC32
:
::
c_ulong
=
1
<<
7
;
pub
const
HWCAP_ATOMICS
:
::
c_ulong
=
1
<<
8
;
pub
const
HWCAP_FPHP
:
::
c_ulong
=
1
<<
9
;
pub
const
HWCAP_ASIMDHP
:
::
c_ulong
=
1
<<
10
;
pub
const
HWCAP_CPUID
:
::
c_ulong
=
1
<<
11
;
pub
const
HWCAP_ASIMDRDM
:
::
c_ulong
=
1
<<
12
;
pub
const
HWCAP_JSCVT
:
::
c_ulong
=
1
<<
13
;
pub
const
HWCAP_FCMA
:
::
c_ulong
=
1
<<
14
;
pub
const
HWCAP_LRCPC
:
::
c_ulong
=
1
<<
15
;
pub
const
HWCAP_DCPOP
:
::
c_ulong
=
1
<<
16
;
pub
const
HWCAP_SHA3
:
::
c_ulong
=
1
<<
17
;
pub
const
HWCAP_SM3
:
::
c_ulong
=
1
<<
18
;
pub
const
HWCAP_SM4
:
::
c_ulong
=
1
<<
19
;
pub
const
HWCAP_ASIMDDP
:
::
c_ulong
=
1
<<
20
;
pub
const
HWCAP_SHA512
:
::
c_ulong
=
1
<<
21
;
pub
const
HWCAP_SVE
:
::
c_ulong
=
1
<<
22
;
pub
const
HWCAP_ASIMDFHM
:
::
c_ulong
=
1
<<
23
;
pub
const
HWCAP_DIT
:
::
c_ulong
=
1
<<
24
;
pub
const
HWCAP_USCAT
:
::
c_ulong
=
1
<<
25
;
pub
const
HWCAP_ILRCPC
:
::
c_ulong
=
1
<<
26
;
pub
const
HWCAP_FLAGM
:
::
c_ulong
=
1
<<
27
;
pub
const
HWCAP_SSBS
:
::
c_ulong
=
1
<<
28
;
pub
const
HWCAP_SB
:
::
c_ulong
=
1
<<
29
;
pub
const
HWCAP_PACA
:
::
c_ulong
=
1
<<
30
;
pub
const
HWCAP_PACG
:
::
c_ulong
=
1
<<
31
;
pub
const
HWCAP2_DCPODP
:
::
c_ulong
=
1
<<
0
;
pub
const
HWCAP2_SVE2
:
::
c_ulong
=
1
<<
1
;
pub
const
HWCAP2_SVEAES
:
::
c_ulong
=
1
<<
2
;
pub
const
HWCAP2_SVEPMULL
:
::
c_ulong
=
1
<<
3
;
pub
const
HWCAP2_SVEBITPERM
:
::
c_ulong
=
1
<<
4
;
pub
const
HWCAP2_SVESHA3
:
::
c_ulong
=
1
<<
5
;
pub
const
HWCAP2_SVESM4
:
::
c_ulong
=
1
<<
6
;
pub
const
HWCAP2_FLAGM2
:
::
c_ulong
=
1
<<
7
;
pub
const
HWCAP2_FRINT
:
::
c_ulong
=
1
<<
8
;
// Syscall table
pub
const
SYS_io_setup
:
::
c_long
=
0
;
pub
const
SYS_io_destroy
:
::
c_long
=
1
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment