wok annotate memtest/stuff/memtest86+-5.01-io.patch @ rev 25203

updated python-mechanize (0.4.5 -> 0.4.7)
author Hans-G?nter Theisgen
date Wed Jul 13 14:23:19 2022 +0100 (2022-07-13)
parents d0ddd1e74d41
children
rev   line source
pascal@24043 1 --- memtest86+-5.01/io.h 2013-08-10 02:01:58.000000000 +0000
pascal@17225 2 +++ memtest86+-5.01/io.h 2014-01-08 01:29:12.404465515 +0000
pascal@17225 3 @@ -31,7 +31,7 @@
pascal@17225 4 */
pascal@17225 5
pascal@17225 6 #define __OUT1(s,x) \
pascal@17225 7 -extern inline void __out##s(unsigned x value, unsigned short port) {
pascal@17225 8 +static inline void __out##s(unsigned x value, unsigned short port) {
pascal@17225 9
pascal@17225 10 #define __OUT2(s,s1,s2) \
pascal@17225 11 __asm__ __volatile__ ("out" #s " %" s1 "0,%" s2 "1"
pascal@17225 12 @@ -43,7 +43,7 @@
pascal@17225 13 __OUT1(s##c_p,x) __OUT2(s,s1,"") : : "a" (value), "id" (port)); SLOW_DOWN_IO; }
pascal@17225 14
pascal@17225 15 #define __IN1(s) \
pascal@17225 16 -extern inline RETURN_TYPE __in##s(unsigned short port) { RETURN_TYPE _v;
pascal@17225 17 +static inline RETURN_TYPE __in##s(unsigned short port) { RETURN_TYPE _v;
pascal@17225 18
pascal@17225 19 #define __IN2(s,s1,s2) \
pascal@17225 20 __asm__ __volatile__ ("in" #s " %" s2 "1,%" s1 "0"