mirror of
https://github.com/obhq/obliteration.git
synced 2024-11-26 20:50:22 +00:00
Moves macros to top-level (#1070)
This commit is contained in:
parent
93894163b5
commit
cb79f3a13a
@ -4,11 +4,11 @@ members = [
|
||||
"arch/x86-64",
|
||||
"gui",
|
||||
"kernel",
|
||||
"macros",
|
||||
"src/fs",
|
||||
"src/gmtx",
|
||||
"src/kernel",
|
||||
"src/llt",
|
||||
"src/macros",
|
||||
"src/obconf",
|
||||
"src/param",
|
||||
"src/pfs",
|
||||
|
@ -7,7 +7,7 @@ edition = "2021"
|
||||
anstyle = { version = "1.0.8", default-features = false }
|
||||
bitfield-struct = "0.8.0"
|
||||
hashbrown = "0.14.5"
|
||||
macros = { path = "../src/macros" }
|
||||
macros = { path = "../macros" }
|
||||
obconf = { path = "../src/obconf", features = ["virt"] }
|
||||
spin = { version = "0.9.8", features = ["spin_mutex"], default-features = false }
|
||||
talc = { version = "4.4.1", default-features = false }
|
||||
|
@ -128,7 +128,7 @@ pub unsafe fn setup_main_cpu() {
|
||||
let mask = Rflags::new()
|
||||
.with_cf(true)
|
||||
.with_tf(true)
|
||||
.with_if(true)
|
||||
.with_if(true) // https://wiki.osdev.org/SWAPGS#Complications,_Part_2
|
||||
.with_df(true)
|
||||
.with_nt(true)
|
||||
.into_bits()
|
||||
@ -192,9 +192,9 @@ global_asm!(
|
||||
);
|
||||
|
||||
// See Xfast_syscall on the PS4 for a reference.
|
||||
global_asm!("syscall_entry64:", "ud2");
|
||||
global_asm!("syscall_entry64:", "swapgs", "ud2");
|
||||
|
||||
// See fast_syscall32 on the PS4 for a reference.
|
||||
// See Xfast_syscall32 on the PS4 for a reference.
|
||||
global_asm!("syscall_entry32:", "ud2");
|
||||
|
||||
/// Raw value of a Global Descriptor-Table Register.
|
||||
|
@ -14,7 +14,7 @@ gmtx = { path = "../gmtx" }
|
||||
iced-x86 = { version = "1.18", features = ["code_asm"] }
|
||||
libc = "0.2"
|
||||
llt = { path = "../llt" }
|
||||
macros = { path = "../macros" }
|
||||
macros = { path = "../../macros" }
|
||||
param = { path = "../param" }
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
serde_yaml = "0.9"
|
||||
|
Loading…
Reference in New Issue
Block a user