]> rtime.felk.cvut.cz Git - l4.git/commitdiff
fiasco: drivers-frst: Force bootstrap not to use delay() with port 0x80.
authorMaxim Baryshnikov <barysmax@fel.cvut.cz>
Mon, 18 Apr 2016 14:45:58 +0000 (16:45 +0200)
committerMaxim Baryshnikov <barysmax@fel.cvut.cz>
Mon, 18 Apr 2016 14:51:41 +0000 (16:51 +0200)
l4/pkg/drivers-frst/include/io_regblock_port.h

index 62cdeb28fcd3f1e27b1bb32463eeb1690db81076..121c3fe84433cb4bd5479ca1803f313fa1b60e72 100644 (file)
@@ -51,8 +51,8 @@ namespace L4
     void write32(unsigned long reg, unsigned int val) const
     { asm volatile("out %0, %w1" : : "a" (val), "Nd" (_base + reg)); }
 
-    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"); */}
 
   private:
     unsigned long _base;