]> rtime.felk.cvut.cz Git - l4.git/commitdiff
fiasco: drivers-frst: Get this code back to default state. Port interference problem...
authorMaxim Baryshnikov <barysmax@fel.cvut.cz>
Fri, 22 Apr 2016 00:44:39 +0000 (02:44 +0200)
committerMaxim Baryshnikov <barysmax@fel.cvut.cz>
Fri, 22 Apr 2016 00:49:25 +0000 (02:49 +0200)
Conflicts:
l4/pkg/drivers-frst/include/io_regblock_port.h

l4/pkg/drivers-frst/include/io_regblock_port.h
l4/pkg/l4re-core/l4util/include/ARCH-x86/port_io.h

index 62cdeb28fcd3f1e27b1bb32463eeb1690db81076..36caba82977154f53ddcc2934d33fc990248740c 100644 (file)
@@ -51,8 +51,16 @@ namespace L4
     void write32(unsigned long reg, unsigned int val) const
     { asm volatile("out %0, %w1" : : "a" (val), "Nd" (_base + reg)); }
 
+<<<<<<< HEAD
     void delay() const
     { asm volatile ("outb %al,$0x80"); }
+=======
+    void delay() const //root linux in jailhouse have a problem when cell used port 0x80
+    {  
+        asm volatile ("outb %al,$0x80"); 
+       /*for (int i = 0; i < 1000000; i++);*/
+    }
+>>>>>>> d8997e7... fiasco: drivers-frst: Get this code back to default state. Port interference problem was solved into the linux kernel configuration.
 
   private:
     unsigned long _base;
index facfe3a7a732cd84e6a6ad4c49c3caa14fa5955a..e5434f3bcbe3993921fb557f1fe39a3586387b3c 100644 (file)
@@ -268,6 +268,7 @@ L4_INLINE void
 l4util_iodelay(void)
 {
   asm volatile ("outb %al,$0x80");
+ /*for(int i = 0; i < 1000000; i++);*/ 
 }
 
 #endif