Go to the source code of this file.
◆ gel_file_load()
Sert a charger un fichier ELF en memoire sans gerer les dependances si base_raddr est egal � NULL, alors on implante le fichier a une adresse memoire choisie par le systeme
- Parameters
-
| e | Le fichier ELF |
| base_vaddr | L'adresse de base virtuelle |
| base_raddr | adresse � partir de laquelle charger le fichier |
Load an ELFfile into memory without library management.
- Parameters
-
| e | ELF file. |
| base_vaddr | Base virtual address. |
| base_raddr | Deprecated. Set it to null. |
- Returns
- 0 for success, -1 else.
◆ gel_file_load_data()
Load the data of a file from the ELF disk file in the actual memory. If the base_raddr is null, the memory is allocated by the function.
- Parameters
-
| e | ELF file. |
| block | Block of the file to load. |
| base_raddr | Base address of the block to load to. |
- Returns
- 0 for success, -1 else.