summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibX86
diff options
context:
space:
mode:
authorHendiadyoin1 <leon2002.la@gmail.com>2021-06-30 15:28:33 +0200
committerAndreas Kling <kling@serenityos.org>2021-06-30 19:05:51 +0200
commit8e575d2f6279daa63fd8e35e8ccdebd3f051e458 (patch)
tree5e72080b5a525a6ea0784d97f484a1aa165c3ec9 /Userland/Libraries/LibX86
parent59eea93d2aa7a903bfc90a2e4e033ffa521b7b3a (diff)
downloadserenity-8e575d2f6279daa63fd8e35e8ccdebd3f051e458.zip
Debugger: Compile on x86_64
This is not guaranteed to work at all
Diffstat (limited to 'Userland/Libraries/LibX86')
-rw-r--r--Userland/Libraries/LibX86/Instruction.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Userland/Libraries/LibX86/Instruction.h b/Userland/Libraries/LibX86/Instruction.h
index 6ef4768b92..8985f92e39 100644
--- a/Userland/Libraries/LibX86/Instruction.h
+++ b/Userland/Libraries/LibX86/Instruction.h
@@ -278,20 +278,20 @@ enum MMXRegisterIndex {
class LogicalAddress {
public:
LogicalAddress() { }
- LogicalAddress(u16 selector, u32 offset)
+ LogicalAddress(u16 selector, FlatPtr offset)
: m_selector(selector)
, m_offset(offset)
{
}
u16 selector() const { return m_selector; }
- u32 offset() const { return m_offset; }
+ FlatPtr offset() const { return m_offset; }
void set_selector(u16 selector) { m_selector = selector; }
- void set_offset(u32 offset) { m_offset = offset; }
+ void set_offset(FlatPtr offset) { m_offset = offset; }
private:
u16 m_selector { 0 };
- u32 m_offset { 0 };
+ FlatPtr m_offset { 0 };
};
class InstructionStream {