Browse Source

Add missing registers in User_Regs on AMD64

flysand7 10 months ago
parent
commit
e54b1560ee
1 changed files with 6 additions and 0 deletions
  1. 6 0
      core/sys/linux/types.odin

+ 6 - 0
core/sys/linux/types.odin

@@ -1136,6 +1136,12 @@ when ODIN_ARCH == .arm32 {
 		eflags:           uint,
 		rsp:              uint,
 		ss:               uint,
+		fs_base:          uint,
+		gs_base:          uint,
+		ds:               uint,
+		es:               uint,
+		fs:               uint,
+		gs:               uint,
 	}
 	// All floating point state
 	_Arch_User_FP_Regs :: struct {