2 Copyright © 1995-2011, The AROS Development Team. All rights reserved.
23 static inline UBYTE
ReadCMOSByte(UBYTE port
)
27 asm volatile("outb %0,$0x70" :: "a"(port
));
28 asm volatile("inb $0x71,%0" : "=a"(value
));
33 static inline VOID
WriteCMOSByte(UBYTE port
, UBYTE value
)
35 asm volatile("outb %0,$0x70" :: "a"(port
));
36 asm volatile("outb %0,$0x71" :: "a"(value
));