kern

diff src/asmops.h @ 36:e70b1ab9613e

- added cmos rtc code - added time/date functions in klibc - implemented an iowait macro with output to 0x80
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 10 Jun 2011 05:33:38 +0300
parents b11a86695493
children e6de3c6015cb
line diff
     1.1 --- a/src/asmops.h	Thu Jun 09 05:09:49 2011 +0300
     1.2 +++ b/src/asmops.h	Fri Jun 10 05:33:38 2011 +0300
     1.3 @@ -32,4 +32,6 @@
     1.4  	"outl %0, %1\n\t" \
     1.5  	:: "a" ((unsigned long)(src)), "dN" ((unsigned short)(port)))
     1.6  
     1.7 +#define iodelay() outb(0, 0x80)
     1.8 +
     1.9  #endif	/* ASMOPS_H_ */