Changeset 276 for trunk/hal/x86_64
- Timestamp:
- Jul 26, 2017, 1:24:51 PM (7 years ago)
- Location:
- trunk/hal/x86_64/core
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/x86_64/core/hal_exception.c
r242 r276 30 30 #include <hal_kentry.h> 31 31 #include <hal_internal.h> 32 #include <hal_segmentation.h> 32 33 33 34 static const char *exc_type[] = { … … 74 75 x86_printf("-> rip = %Z\n", ctx->tf_rip); 75 76 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()); 76 79 x86_printf("-> err = %Z\n", ctx->tf_err); 77 80 if (excno == T_PAGEFLT) -
trunk/hal/x86_64/core/hal_init.c
r274 r276 405 405 start_secondary_cpus(); 406 406 407 kernel_init(&btinfo); 408 409 x86_printf("[+] kernel_init called\n"); 410 407 411 reg_t dummy; 408 412 hal_enable_irq(&dummy); 409 413 410 414 while (1); 411 412 kernel_init(&btinfo);413 414 x86_printf("[+] kernel_init called\n");415 416 415 417 416 /*
Note: See TracChangeset
for help on using the changeset viewer.