Changeset 99 for trunk/hal/x86_64/core/hal_init.c
- Timestamp:
- Jun 29, 2017, 3:48:39 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/x86_64/core/hal_init.c
r94 r99 28 28 #include <hal_internal.h> 29 29 #include <hal_remote.h> 30 #include <hal_irqmask.h> 30 31 31 32 #include <memcpy.h> … … 181 182 xptr_t myptr = XPTR(0, &mytest); 182 183 183 hal_remote_atomic_add(myptr, 3);184 x86_printf("-> mytest = %z\n", mytest);185 186 184 hal_remote_spt(myptr, hoho); 187 185 x86_printf("-> mytest = %Z\n", hal_remote_lpt(myptr)); 188 186 189 190 187 init_bootinfo(&btinfo); 188 189 reg_t dummy; 190 hal_enable_irq(&dummy); 191 191 192 kernel_init(&btinfo); 193 192 194 x86_printf("[+] kernel_init called\n"); 195 196 while (1); 193 197 194 198 // void x86_stop(); 195 199 // x86_stop(); 196 197 sti();198 while (1);199 200 200 201 int m = 0;
Note: See TracChangeset
for help on using the changeset viewer.