arch/intel64: move timer frequency configuration to common files

this logic can be common for intel64 chips

Signed-off-by: p-szafonimateusz <p-szafonimateusz@xiaomi.com>
This commit is contained in:
p-szafonimateusz 2024-03-01 10:38:34 +01:00 committed by Xiang Xiao
parent 636b2309e4
commit 0fe777abd4
5 changed files with 5 additions and 4 deletions

View File

@ -37,6 +37,7 @@ set(SRCS
intel64_sigdeliver.c
intel64_usestack.c
intel64_systemreset.c
intel64_freq.c
intel64_start.c
intel64_handlers.c
intel64_idle.c

View File

@ -34,7 +34,7 @@ CMN_CSRCS += intel64_map_region.c intel64_regdump.c intel64_releasestack.c
CMN_CSRCS += intel64_rtc.c intel64_restore_auxstate.c intel64_savestate.c
CMN_CSRCS += intel64_stackframe.c intel64_schedulesigaction.c
CMN_CSRCS += intel64_sigdeliver.c intel64_usestack.c x86_64_tcbinfo.c
CMN_CSRCS += intel64_systemreset.c
CMN_CSRCS += intel64_systemreset.c intel64_freq.c
# Required Intel64 files

View File

@ -1,5 +1,5 @@
/****************************************************************************
* boards/x86_64/intel64/qemu-intel64/src/qemu_freq.c
* arch/x86_64/src/intel64/intel64_freq.c
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with

View File

@ -18,7 +18,7 @@
#
# ##############################################################################
set(SRCS qemu_boot.c qemu_bringup.c qemu_freq.c qemu_net.c)
set(SRCS qemu_boot.c qemu_bringup.c qemu_net.c)
if(CONFIG_BOARDCTL)
list(APPEND SRCS qemu_appinit.c)

View File

@ -20,7 +20,7 @@
include $(TOPDIR)/Make.defs
CSRCS = qemu_boot.c qemu_bringup.c qemu_freq.c qemu_net.c
CSRCS = qemu_boot.c qemu_bringup.c qemu_net.c
ifeq ($(CONFIG_BOARDCTL),y)
CSRCS += qemu_appinit.c