-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
process/load: Add 32bit interpreter support
JIRA: RTOS-664
- Loading branch information
Showing
3 changed files
with
340 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
/* | ||
* Phoenix-RTOS | ||
* | ||
* Operating system kernel | ||
* | ||
* Auxiliary vector definitions | ||
* | ||
* Copyright 2024 Phoenix Systems | ||
* Author: Hubert Badocha | ||
* | ||
* This file is part of Phoenix-RTOS. | ||
* | ||
* %LICENSE% | ||
*/ | ||
|
||
#ifndef _PHOENIX_AUXV_H_ | ||
#define _PHOENIX_AUXV_H_ | ||
|
||
|
||
#include "types.h" | ||
|
||
|
||
struct auxInfo { | ||
__u32 a_type; /* Type of element. */ | ||
__u64 a_v; /* Value of element. */ | ||
}; | ||
|
||
|
||
#define AT_NULL 0 /* End of auxiliary vector. */ | ||
#define AT_PAGESZ 1 /* Page size. */ | ||
#define AT_BASE 2 /* Base address of interpreter. */ | ||
#define AT_ENTRY 3 /* Entry point address. */ | ||
#define AT_PHDR 4 /* Location of program header table. */ | ||
#define AT_PHENT 5 /* Size of one entry in program header table. */ | ||
#define AT_PHNUM 6 /* Number of entries in program header table. */ | ||
|
||
|
||
#define AUXV_TYPE_COUNT 7 /* Number of auxiliary vector element types. */ | ||
|
||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.