]> Joshua Wise's Git repositories - netwatch.git/blobdiff - aseg-paging/smi.c
instrument time spent in network
[netwatch.git] / aseg-paging / smi.c
index 031797d28efe7d5299d1aee94753b40a58406529..7f75a8539e1acf849d163fba5f8736aac3e14ff4 100644 (file)
@@ -28,8 +28,11 @@ void smi_entry(void)
                fb->getvmode(fb->priv);
 
        counter++;
-       sprintf(statstr, "NetWatch! %08x %08x", smi_status(), counter);
-       strblit(statstr, 0, 0, 0);
+       if (!fb || fb->curmode.text)
+       {
+               sprintf(statstr, "NetWatch! %08x %08x", smi_status(), counter);
+               strblit(statstr, 0, 0, 0);
+       }
        
        eth_poll();
        
This page took 0.026494 seconds and 4 git commands to generate.