mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-30 21:28:59 +00:00
LibELF: Use VirtualAddress class from LibBareMetal
This commit is contained in:
parent
de3637d85f
commit
7c4dd0c8cf
Notes:
sideshowbarker
2024-07-19 09:29:55 +09:00
Author: https://github.com/supercomputer7
Commit: 7c4dd0c8cf
Pull-request: https://github.com/SerenityOS/serenity/pull/1194
3 changed files with 3 additions and 4 deletions
|
@ -26,10 +26,9 @@
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#include <LibBareMetal/Memory/VirtualAddress.h>
|
||||||
#include <LibELF/exec_elf.h>
|
#include <LibELF/exec_elf.h>
|
||||||
|
|
||||||
#include <Kernel/VM/VirtualAddress.h>
|
|
||||||
|
|
||||||
class ELFDynamicObject {
|
class ELFDynamicObject {
|
||||||
public:
|
public:
|
||||||
explicit ELFDynamicObject(VirtualAddress base_address, VirtualAddress dynamic_section_address);
|
explicit ELFDynamicObject(VirtualAddress base_address, VirtualAddress dynamic_section_address);
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
#include <AK/HashMap.h>
|
#include <AK/HashMap.h>
|
||||||
#include <AK/OwnPtr.h>
|
#include <AK/OwnPtr.h>
|
||||||
#include <AK/String.h>
|
#include <AK/String.h>
|
||||||
#include <Kernel/VM/VirtualAddress.h>
|
#include <LibBareMetal/Memory/VirtualAddress.h>
|
||||||
#include <LibELF/exec_elf.h>
|
#include <LibELF/exec_elf.h>
|
||||||
|
|
||||||
class ELFImage {
|
class ELFImage {
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
#include <LibELF/ELFImage.h>
|
#include <LibELF/ELFImage.h>
|
||||||
|
|
||||||
#ifdef KERNEL
|
#ifdef KERNEL
|
||||||
#include <Kernel/VM/VirtualAddress.h>
|
# include <LibBareMetal/Memory/VirtualAddress.h>
|
||||||
class Region;
|
class Region;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue