- Timestamp:
- Jun 26, 2017, 4:58:25 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/x86_64/core/hal_init.c
r51 r61 79 79 /* Create the global structures */ 80 80 gdt_create(); 81 x86_printf("[+] gdt_create called\n");82 83 81 idt_create(); 84 x86_printf("[+] idt_create called\n");85 82 86 83 /* Attach cpu0 */ … … 109 106 110 107 x86_printf("-> mytest = %z\n", mytest); 111 size_t *myptr = CLUSTER_MIN_VA(0) + XPTR(0, &mytest);108 size_t *myptr = (void *)CLUSTER_MIN_VA(0) + XPTR(0, &mytest); 112 109 *myptr = 1; 113 110 x86_printf("-> mytest = %z\n", mytest);
Note: See TracChangeset
for help on using the changeset viewer.