HV: build: drop useless files

This patch drops the following useless files in the hypervisor:

* bsp/*/include/: After commit c849bff850 ("HV: config: adapt to the generated
  config.h") these headers are obsolete for configuration. Drop the directories
  and move the generated version.h under $(HV_OBJDIR)/include.

* all_header.c: This is a temporary file for checking violations in headers,
  which is accidentally checked in by commit 3956ce1596 ("HV: io: spell out
  explicit narrowing of integers").

Signed-off-by: Junjie Mao <junjie.mao@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
Junjie Mao
2018-07-13 19:10:30 +08:00
committed by lijinxia
parent 680c64de13
commit 4627cd4de0
4 changed files with 1 additions and 127 deletions

View File

@@ -1,25 +0,0 @@
/*
* Copyright (C) 2018 Intel Corporation. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef BSP_CFG_H
#define BSP_CFG_H
#define NR_IOAPICS 1
#define STACK_SIZE 8192
#define LOG_BUF_SIZE 0x100000
#define LOG_DESTINATION 3
#define CPU_UP_TIMEOUT 100
#define CONFIG_SERIAL_MMIO_BASE 0xfc000000
#define MALLOC_ALIGN 16
#define NUM_ALLOC_PAGES 4096
#define HEAP_SIZE 0x100000
#define CONSOLE_LOGLEVEL_DEFAULT 3
#define MEM_LOGLEVEL_DEFAULT 5
#define CONFIG_LOW_RAM_SIZE 0x00010000
#define CONFIG_RAM_START 0x6E000000
#define CONFIG_RAM_SIZE 0x02000000 /* 32M */
#define CONFIG_MTRR_ENABLED 1
#define CONFIG_REMAIN_1G_PAGES 1
#endif /* BSP_CFG_H */

View File

@@ -1,33 +0,0 @@
/*
* Copyright (C) 2018 Intel Corporation. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef BSP_CFG_H
#define BSP_CFG_H
#define NR_IOAPICS 1
#define STACK_SIZE 8192
#define LOG_BUF_SIZE 0x100000
#define LOG_DESTINATION 3
#define CPU_UP_TIMEOUT 100
#define CONFIG_SERIAL_PIO_BASE 0x3f8
#define MALLOC_ALIGN 16
#define NUM_ALLOC_PAGES 4096
#define HEAP_SIZE 0x100000
#define CONSOLE_LOGLEVEL_DEFAULT 3
#define MEM_LOGLEVEL_DEFAULT 5
#define CONFIG_LOW_RAM_SIZE 0x00010000
/*
* By default build the hypervisor in low address
* so that it can only relocate to higher address
*/
#define CONFIG_RAM_START 0x00100000
#define CONFIG_RAM_SIZE 0x02000000 /* 32M */
#define CONFIG_DMAR_PARSE_ENABLED 1
#define CONFIG_GPU_SBDF 0x00000010 /* 0000:00:02.0 */
#define CONFIG_EFI_STUB 1
#define CONFIG_UEFI_OS_LOADER_NAME "\\EFI\\org.clearlinux\\bootloaderx64.efi"
#define CONFIG_MTRR_ENABLED 1
#endif /* BSP_CFG_H */