Ignore:
Timestamp:
Jul 20, 2017, 10:29:05 AM (7 years ago)
Author:
max@…
Message:

add a dumb lock for the console

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/hal/x86_64/core/hal_exception.c

    r234 r242  
    6969        }
    7070
     71        x86_lock();
    7172        x86_printf("\n****** EXCEPTION OCCURRED ******\n");
    7273        x86_printf("%s\n", (char *)buf);
     
    7778                x86_printf("-> va  = %Z\n", rcr2());
    7879        x86_printf("****** EXCEPTION OCCURRED ******\n\n");
     80        x86_unlock();
    7981
    8082        while (1);
Note: See TracChangeset for help on using the changeset viewer.