mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-21 04:00:01 -04:00
x86, cyrix: debug
Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
93ded9b8fd
commit
026e2c05ef
2 changed files with 18 additions and 10 deletions
|
|
@ -28,3 +28,11 @@ static inline void setCx86(u8 reg, u8 data)
|
|||
outb(reg, 0x22);
|
||||
outb(data, 0x23);
|
||||
}
|
||||
|
||||
#define getCx86_old(reg) ({ outb((reg), 0x22); inb(0x23); })
|
||||
|
||||
#define setCx86_old(reg, data) do { \
|
||||
outb((reg), 0x22); \
|
||||
outb((data), 0x23); \
|
||||
} while (0)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue