Changeset 276


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

update

Location:
trunk/hal/x86_64/core
Files:
2 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)
  • trunk/hal/x86_64/core/hal_init.c

    r274 r276  
    405405        start_secondary_cpus();
    406406
     407        kernel_init(&btinfo);
     408
     409        x86_printf("[+] kernel_init called\n");
     410
    407411        reg_t dummy;
    408412        hal_enable_irq(&dummy);
    409413
    410414        while (1);
    411 
    412         kernel_init(&btinfo);
    413 
    414         x86_printf("[+] kernel_init called\n");
    415 
    416415
    417416/*
Note: See TracChangeset for help on using the changeset viewer.