2 Copyright © 1995-2017, The AROS Development Team. All rights reserved.
6 #include <aros/symbolsets.h>
7 #include <exec/types.h>
9 #include "kernel_base.h"
10 #include <kernel_debug.h>
14 static int cpu_Init(struct KernelBase
*KernelBase
)
16 /* All x86-64 processors have SSE */
17 D(bug("[Kernel] %s: KernelBase @ 0x%p\n", __func__
, KernelBase
);)
18 D(bug("[Kernel] %s: context size = %u + %u\n", __func__
, AROS_ROUNDUP2(sizeof(struct AROSCPUContext
), 16), sizeof(struct FPXContext
));)
20 KernelBase
->kb_ContextSize
= AROS_ROUNDUP2(sizeof(struct AROSCPUContext
), 16) + sizeof(struct FPXContext
);
22 D(bug("[Kernel] %s: CPU Context size = %u bytes\n", __func__
, KernelBase
->kb_ContextSize
);)
27 ADD2INITLIB(cpu_Init
, 5);