1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 01:57:45 +00:00

LibELF: Move AuxiliaryValue into the ELF namespace

This commit is contained in:
Andreas Kling 2020-12-25 14:48:30 +01:00
parent 6c9a6bea1e
commit 40e9edd798
8 changed files with 40 additions and 39 deletions

View file

@ -26,6 +26,9 @@
#pragma once
#include <AK/String.h>
#include <AK/Types.h>
/* Auxiliary Vector types, from Intel386 ABI ver 1.0 section 2.3.3 */
typedef struct
{
@ -63,9 +66,7 @@ typedef struct
#define AT_EXE_BASE 32 /* a_ptr holds base address where main program was loaded into memory */
#define AT_EXE_SIZE 33 /* a_val holds the size of the main program in memory */
#ifdef __cplusplus
# include <AK/String.h>
# include <AK/Types.h>
namespace ELF {
struct AuxiliaryValue {
enum Type {
@ -117,4 +118,4 @@ struct AuxiliaryValue {
String optional_string;
};
#endif /* __cplusplus */
}