Changeset 345 for trunk/hal/x86_64/core/hal_init.c
- Timestamp:
- Aug 8, 2017, 11:28:39 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/x86_64/core/hal_init.c
r339 r345 628 628 memset(tss, 0, sizeof(*tss)); 629 629 630 /* tss->tss_rsp0 */630 tss->tss_rsp0 = ((uint64_t)&data->boot_stack + STKSIZE) & ~0xF; 631 631 tss->tss_ist[0] = ((uint64_t)&data->intr_stack + STKSIZE) & ~0xF; 632 632 tss->tss_ist[1] = ((uint64_t)&data->dbfl_stack + STKSIZE) & ~0xF; … … 654 654 cputls->tls_gid = hal_lapic_gid(); 655 655 cputls->tls_lid = lid; 656 /* cputls->tls_rsp0 = (uint64_t)&data->tss.tss_rsp0; */656 cputls->tls_rsp0 = (uint64_t)&data->tss.tss_rsp0; 657 657 cputls->tls_intr = INTRS_DISABLED; 658 658
Note: See TracChangeset
for help on using the changeset viewer.