]> Git Repo - J-linux.git/blob - arch/x86/include/asm/processor-cyrix.h
Merge tag 'vfs-6.13-rc7.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs
[J-linux.git] / arch / x86 / include / asm / processor-cyrix.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * NSC/Cyrix CPU indexed register access. Must be inlined instead of
4  * macros to ensure correct access ordering
5  * Access order is always 0x22 (=offset), 0x23 (=value)
6  */
7
8 #include <asm/pc-conf-reg.h>
9
10 static inline u8 getCx86(u8 reg)
11 {
12         return pc_conf_get(reg);
13 }
14
15 static inline void setCx86(u8 reg, u8 data)
16 {
17         pc_conf_set(reg, data);
18 }
This page took 0.027342 seconds and 4 git commands to generate.