Ignore:
Timestamp:
Jul 20, 2017, 9:55:05 AM (7 years ago)
Author:
max@…
Message:

Make the secondary CPUs jump into kernel_init().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/hal/x86_64/core/hal_segmentation.h

    r234 r240  
    154154        uint32_t tls_lid;
    155155        void *tls_thr;
     156        reg_t tls_intr;
    156157} __packed;
    157158typedef struct tls tls_t;
     
    160161void lidt(struct region_descriptor *);
    161162void ltr(uint16_t);
     163tls_t *curcpu();
     164
     165#define INTRS_ENABLED   0xFFEFAAAA
     166#define INTRS_DISABLED  0xD0CCCCC0
    162167
    163168#endif /* !x86_ASM */
Note: See TracChangeset for help on using the changeset viewer.