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

Debugger: Compile on x86_64

This is not guaranteed to work at all
This commit is contained in:
Hendiadyoin1 2021-06-30 15:28:33 +02:00 committed by Andreas Kling
parent 59eea93d2a
commit 8e575d2f62
2 changed files with 21 additions and 10 deletions

View file

@ -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 {