Ignore:
Timestamp:
Jul 26, 2017, 1:24:51 PM (7 years ago)
Author:
max@…
Message:

update

File:
1 edited

Legend:

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

    r242 r276  
    3030#include <hal_kentry.h>
    3131#include <hal_internal.h>
     32#include <hal_segmentation.h>
    3233
    3334static const char *exc_type[] = {
     
    7475        x86_printf("-> rip = %Z\n", ctx->tf_rip);
    7576        x86_printf("-> rsp = %Z\n", ctx->tf_rsp);
     77        x86_printf("-> tls = %Z (gid=%Z)\n", (uint64_t)curcpu(),
     78            (uint64_t)hal_get_gid());
    7679        x86_printf("-> err = %Z\n", ctx->tf_err);
    7780        if (excno == T_PAGEFLT)
Note: See TracChangeset for help on using the changeset viewer.