PCI 16x50 UART Controller, O2 Enablement (#39)
[lunaix-os.git] / lunaix-os / arch / x86 / exceptions / isrm.c
index 89ff616bd0f9b9d0ef4a7b0698f6483329f46ecb..dcd576aad1c5f177a873c8e45295e91b22d48973 100644 (file)
@@ -51,6 +51,11 @@ __ivalloc_within(size_t a, size_t b, isr_cb handler)
             k++;
         }
 
+        if (j == 8) {
+            j = 0;
+            continue;
+        }
+
         if (k > b) {
             break;
         }