1 /* 2 * Copyright 2018 The Hafnium Authors. 3 * 4 * Use of this source code is governed by a BSD-style 5 * license that can be found in the LICENSE file or at 6 * https://opensource.org/licenses/BSD-3-Clause. 7 */ 8 9 #include "hf/cpu.h" 10 11 /** 12 * The entry point of CPUs when they are turned on. It is supposed to initialise 13 * all state and return the first vCPU to run. 14 */ cpu_main(struct cpu * c)15struct vcpu *cpu_main(struct cpu *c) 16 { 17 return arch_vcpu_resume(c); 18 } 19