Changeset 1433ecda in mainline for kernel/arch/amd64/src
- Timestamp:
- 2018-04-04T15:42:37Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2c4e1cc
- Parents:
- 47b2d7e3
- Location:
- kernel/arch/amd64/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/amd64/src/cpu/cpu.c
r47b2d7e3 r1433ecda 136 136 } 137 137 138 void cpu_print_report(cpu_t *m)138 void cpu_print_report(cpu_t *m) 139 139 { 140 140 printf("cpu%d: (%s family=%d model=%d stepping=%d apicid=%u) %dMHz\n", -
kernel/arch/amd64/src/fpu_context.c
r47b2d7e3 r1433ecda 40 40 { 41 41 asm volatile ( 42 43 42 "fxsave %[fctx]\n" 43 : [fctx] "=m" (fctx->fpu) 44 44 ); 45 45 } … … 49 49 { 50 50 asm volatile ( 51 52 51 "fxrstor %[fctx]\n" 52 : [fctx] "=m" (fctx->fpu) 53 53 ); 54 54 } … … 60 60 * it masks all FPU exceptions*/ 61 61 asm volatile ( 62 62 "fninit\n" 63 63 ); 64 64 } -
kernel/arch/amd64/src/interrupt.c
r47b2d7e3 r1433ecda 60 60 */ 61 61 62 void (* 63 void (* 64 void (* 62 void (*disable_irqs_function)(uint16_t irqmask) = NULL; 63 void (*enable_irqs_function)(uint16_t irqmask) = NULL; 64 void (*eoi_function)(void) = NULL; 65 65 const char *irqs_info = NULL; 66 66 … … 231 231 (iroutine_t) tlb_shootdown_ipi); 232 232 exc_register(VECTOR_SMP_CALL_IPI, "smp_call", true, 233 233 (iroutine_t) arch_smp_call_ipi_recv); 234 234 #endif 235 235 } -
kernel/arch/amd64/src/pm.c
r47b2d7e3 r1433ecda 55 55 .limit_0_15 = 0xffffU, 56 56 .limit_16_19 = 0xfU, 57 57 .access = AR_PRESENT | AR_CODE | DPL_KERNEL | AR_READABLE, 58 58 .longmode = 1, 59 59 .granularity = 1
Note:
See TracChangeset
for help on using the changeset viewer.