Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 1 addition & 8 deletions val/include/val_logger.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,8 @@
#ifndef VAL_LOG_H
#define VAL_LOG_H

#ifdef TARGET_UEFI
#include <stddef.h>
#elif !defined(TARGET_LINUX)
#include <stdint.h>
#include <stddef.h>
#include <stdarg.h>
#endif

#include "pal_interface.h"
#include "pal_common_intf.h"

/* Verbosity enums, Lower the value, higher the verbosity */
typedef enum {
Expand Down
4 changes: 2 additions & 2 deletions val/include/val_status.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
#ifndef VAL_STATUS_H
#define VAL_STATUS_H

#if !defined(TARGET_UEFI) && !defined(TARGET_LINUX)
#include <stdint.h>
#if !defined(TARGET_LINUX)
#include <stdbool.h>
#endif

#include "pal_interface.h"
Expand Down
9 changes: 1 addition & 8 deletions val/include/val_sysreg.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,9 @@
#ifndef VAL_SYSREG_H
#define VAL_SYSREG_H

#ifdef TARGET_UEFI
#include <stddef.h>
#elif !defined(TARGET_LINUX)
#include <stddef.h>
#include <stdint.h>
#include <stdbool.h>
#endif

#include "val_arch.h"
#include "pal_interface.h"
#include "pal_common_intf.h"

typedef unsigned long u_register_t;

Expand Down
3 changes: 1 addition & 2 deletions val/src/val_logger.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
*
*/

#include "include/val_logger.h"
#include "include/pal_common_intf.h"
#include "val_logger.h"

static void val_putc(char c)
{
Expand Down
Loading