- Timestamp:
- Jul 26, 2017, 10:54:49 AM (7 years ago)
- Location:
- trunk/hal/x86_64/core
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/x86_64/core/hal_init.c
r256 r274 405 405 start_secondary_cpus(); 406 406 407 kernel_init(&btinfo);408 409 x86_printf("[+] kernel_init called\n");410 411 407 reg_t dummy; 412 408 hal_enable_irq(&dummy); 409 410 while (1); 411 412 kernel_init(&btinfo); 413 414 x86_printf("[+] kernel_init called\n"); 415 416 413 417 /* 414 418 void *ptr; … … 428 432 ppm_free_pages(ptr); 429 433 */ 430 while (1); 434 431 435 432 436 // void x86_stop(); -
trunk/hal/x86_64/core/hal_interrupt.c
r237 r274 30 30 #include <hal_internal.h> 31 31 #include <hal_special.h> 32 #include <hal_segmentation.h> 32 33 33 34 /* -------------------------------------------------------------------------- */ … … 45 46 tf->tf_rip, hal_get_current_thread()); 46 47 return; 48 49 core_t *core = CURRENT_THREAD->core; 50 curcpu()->tls_tf = tf; 51 52 core_clock(core); 47 53 } 48 54 -
trunk/hal/x86_64/core/hal_segmentation.h
r240 r274 155 155 void *tls_thr; 156 156 reg_t tls_intr; 157 void *tls_tf; 157 158 } __packed; 158 159 typedef struct tls tls_t;
Note: See TracChangeset
for help on using the changeset viewer.