Changeset 235 for trunk/hal/x86_64/core/hal_init.c
- Timestamp:
- Jul 19, 2017, 10:03:41 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/x86_64/core/hal_init.c
r234 r235 313 313 hal_enable_irq(&dummy); 314 314 315 while (1); 316 315 317 kernel_init(&btinfo); 316 318 … … 347 349 /* x86-specific per-cpu structures */ 348 350 typedef struct { 351 bool_t valid; 349 352 struct tss tss; 350 353 struct tls tls; … … 354 357 } percpu_archdata_t; 355 358 percpu_archdata_t cpudata[CONFIG_MAX_LOCAL_CORES] __in_kdata; 359 360 void cpu_activate(uint32_t gid) 361 { 362 cpudata[gid].valid = true; 363 } 356 364 357 365 static void
Note: See TracChangeset
for help on using the changeset viewer.