Commit 93c78ed2 authored by Antonio Nino Diaz's avatar Antonio Nino Diaz
Browse files

libc: Fix all includes in codebase



The codebase was using non-standard headers. It is needed to replace
them by the correct ones so that we can use the new libc headers.

Change-Id: I530f71d9510cb036e69fe79823c8230afe890b9d
Acked-by: default avatarSumit Garg <sumit.garg@linaro.org>
Signed-off-by: default avatarAntonio Nino Diaz <antonio.ninodiaz@arm.com>
parent 2fb88cb2
......@@ -7,7 +7,7 @@
#ifndef __BL1_PRIVATE_H__
#define __BL1_PRIVATE_H__
#include <types.h>
#include <stdint.h>
#include <utils_def.h>
/*******************************************************************************
......
......@@ -21,8 +21,8 @@
#include <stddef.h>
#include <stdint.h>
#include <std_svc.h>
#include <stdint.h>
#include <string.h>
#include <types.h>
#include <utils.h>
#include "sp_min_private.h"
......
......@@ -9,6 +9,7 @@
#ifndef __ASSEMBLY__
#include <cdefs.h>
#include <stdint.h>
#include <utils_def.h>
......
......@@ -61,7 +61,6 @@
#include <cassert.h>
#include <stddef.h>
#include <stdint.h>
#include <types.h>
#include <utils_def.h> /* To retain compatibility */
......
......@@ -26,6 +26,7 @@
#define LOG_LEVEL_VERBOSE 50
#ifndef __ASSEMBLY__
#include <cdefs.h>
#include <stdarg.h>
#include <stdio.h>
......
/*
* Copyright (c) 2017, ARM Limited and Contributors. All rights reserved.
* Copyright (c) 2017-2018, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
......@@ -65,7 +65,7 @@
#ifndef __ASSEMBLY__
#include <cassert.h>
#include <types.h>
#include <stdint.h>
typedef struct aapcs64_params {
u_register_t arg0;
......
......@@ -36,7 +36,7 @@
#ifndef __ASSEMBLY__
#include <types.h>
#include <stdint.h>
/***************************************************************************
* This structure provides version information and the size of the
......
/*
* Copyright (c) 2014, ARM Limited and Contributors. All rights reserved.
* Copyright (c) 2014-2018, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
......@@ -7,6 +7,7 @@
#ifndef __ARM_GIC_H__
#define __ARM_GIC_H__
#include <cdefs.h>
#include <stdint.h>
/*******************************************************************************
......
/*
* Copyright (c) 2013-2016, ARM Limited and Contributors. All rights reserved.
* Copyright (c) 2013-2018, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
......@@ -17,8 +17,6 @@
#include <mmio.h>
#include <stdint.h>
#include <types.h>
/* GICv3 Re-distributor interface registers & shifts */
#define GICR_PCPUBASE_SHIFT 0x11
......
/*
* Copyright (c) 2015-2017, ARM Limited and Contributors. All rights reserved.
* Copyright (c) 2015-2018, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
......@@ -116,6 +116,7 @@
#ifndef __ASSEMBLY__
#include <cdefs.h>
#include <interrupt_props.h>
#include <stdint.h>
......
......@@ -212,7 +212,6 @@
#include <gic_common.h>
#include <interrupt_props.h>
#include <stdint.h>
#include <types.h>
#include <utils_def.h>
#define gicv3_is_intr_id_special_identifier(id) \
......
/*
* Copyright (c) 2013-2014, ARM Limited and Contributors. All rights reserved.
* Copyright (c) 2013-2018, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
......@@ -85,7 +85,7 @@
#ifndef __ASSEMBLY__
#include <types.h>
#include <stdint.h>
typedef struct {
console_t console;
......
/*
* Copyright (c) 2016, ARM Limited and Contributors. All rights reserved.
* Copyright (c) 2016-2018, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
......@@ -29,7 +29,7 @@
#ifndef __ASSEMBLY__
#include <types.h>
#include <stdint.h>
typedef struct {
console_t console;
......
......@@ -30,7 +30,7 @@
#ifndef __ASSEMBLY__
#include <types.h>
#include <stdint.h>
typedef struct console {
struct console *next;
......
/*
* Copyright (c) 2017, ARM Limited and Contributors. All rights reserved.
* Copyright (c) 2017-2018, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
......@@ -7,7 +7,7 @@
#ifndef __DW_UFS_H__
#define __DW_UFS_H__
#include <sys/types.h>
#include <stdint.h>
/* Bus Throtting */
#define BUSTHRTL 0xC0
......
/*
* Copyright (c) 2016, ARM Limited and Contributors. All rights reserved.
* Copyright (c) 2016-2018, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
......@@ -8,7 +8,7 @@
#define __PARTITION_H__
#include <cassert.h>
#include <types.h>
#include <stdint.h>
#if !PLAT_PARTITION_MAX_ENTRIES
# define PLAT_PARTITION_MAX_ENTRIES 128
......
/*
* Copyright (c) 2015, ARM Limited and Contributors. All rights reserved.
* Copyright (c) 2015-2018, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
......@@ -75,7 +75,7 @@
#ifndef __ASSEMBLY__
#include <types.h>
#include <stdint.h>
typedef struct {
console_t console;
......
......@@ -8,8 +8,9 @@
#define __ARCH_HELPERS_H__
#include <arch.h> /* for additional register definitions */
#include <cdefs.h>
#include <stdint.h>
#include <sys/types.h>
#include <string.h>
/**********************************************************************
* Macros which create inline functions to read or write CPU system
......
......@@ -26,7 +26,7 @@
#ifndef __ASSEMBLY__
#include <cassert.h>
#include <types.h>
#include <stdint.h>
/*
* The generic structure to save arguments and callee saved registers during
......
......@@ -10,7 +10,7 @@
#include <arch.h> /* for additional register definitions */
#include <cdefs.h> /* For __dead2 */
#include <stdint.h>
#include <sys/types.h>
#include <string.h>
/**********************************************************************
* Macros which create inline functions to read or write CPU system
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment