Changeset 35 for trunk/hal/x86_64/hal_init.c
- Timestamp:
- Jun 22, 2017, 8:10:37 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/x86_64/hal_init.c
r32 r35 24 24 #include <hal_multiboot.h> 25 25 #include <hal_segmentation.h> 26 #include <hal_internal.h> 26 27 27 28 #include <memcpy.h> … … 34 35 #include <cluster.h> 35 36 36 void x86_printf(char *s, ...);37 38 37 static void gdt_create(); 39 38 static void idt_create(); … … 47 46 #define offsetof(type, member) __builtin_offsetof(type, member) 48 47 49 50 48 /* -------------------------------------------------------------------------- */ 51 49 … … 95 93 96 94 dump_memmap(); 97 98 95 x86_printf("[+] dump finished\n"); 96 97 hal_gpt_init(firstpa); 98 x86_printf("[+] hal_gpt_init called\n"); 99 100 hal_acpi_init(); 101 x86_printf("[+] hal_acpi_init called\n"); 102 103 104 int m = 0; 105 int v = 1 / m; 99 106 100 107 char *buf = NULL; 101 108 *buf = (char)0x01; 102 103 int m = 0;104 int v = 1 / m;105 109 106 110 x86_printf("ALIVE!\n");
Note: See TracChangeset
for help on using the changeset viewer.