diff options
author | mayshao-oc <mayshao-oc@zhaoxin.com> | 2020-04-26 13:48:27 +0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2020-04-30 06:45:27 -0700 |
commit | a98dc92dd1e278df4c501deb07985018bc2b06de (patch) | |
tree | ff1cd7d562a816e790c68b13dbcf5cc5ba48a6a5 /include/stdio.h | |
parent | 32ac0b988466785d6e3cc1dffc364bb26fc63193 (diff) | |
download | glibc-a98dc92dd1e278df4c501deb07985018bc2b06de.tar.gz glibc-a98dc92dd1e278df4c501deb07985018bc2b06de.tar.xz glibc-a98dc92dd1e278df4c501deb07985018bc2b06de.zip |
x86: Add cache information support for Zhaoxin processors
To obtain Zhaoxin CPU cache information, add a new function handle_zhaoxin(). Add a new function get_common_cache_info() that extracts the code in init_cacheinfo() to get the value of the variable shared, threads. Add Zhaoxin branch in init_cacheinfo() for initializing variables, such as __x86_shared_cache_size.
Diffstat (limited to 'include/stdio.h')
0 files changed, 0 insertions, 0 deletions