hv: prepare for Sx(S3/S5) support in ACRN.

Couple of small changes merged in this change:
 - export main_entry, trampoline_spinlock and stop_cpus.
 - change vm_resume() name to resume_vm()
 - change resume_console_enable() name to resume_console()
 - extend reset_vcpu to reset more fields of vcpu

Signed-off-by: Yin Fengwei <fengwei.yin@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
Yin Fengwei
2018-06-14 21:23:50 +08:00
committed by lijinxia
parent c2be7fdedb
commit a2550b5d91
5 changed files with 16 additions and 5 deletions

View File

@@ -70,7 +70,7 @@ static inline void suspend_console(void)
del_timer(&console_timer);
}
static inline void resume_console_enable(void)
static inline void resume_console(void)
{
console_setup_timer();
}
@@ -101,7 +101,7 @@ static inline void console_setup_timer(void) {}
static inline uint32_t get_serial_handle(void) { return 0; }
static inline void suspend_console(void) {}
static inline void resume_console_enable(void) {}
static inline void resume_console(void) {}
#endif
#endif /* CONSOLE_H */