@@ -189,6 +189,21 @@ s! {
189
189
__unused4: :: c_ulong,
190
190
__unused5: :: c_ulong
191
191
}
192
+
193
+ pub struct user_regs_struct {
194
+ pub regs: [ u64 ; 32 ] ,
195
+ pub orig_a0: u64 ,
196
+ pub csr_era: u64 ,
197
+ pub csr_badv: u64 ,
198
+ pub reserved: [ u64 ; 10 ] ,
199
+
200
+ }
201
+
202
+ pub struct user_fp_struct {
203
+ pub fpr: [ u64 ; 32 ] ,
204
+ pub fcc: u64 ,
205
+ pub fcsr: u32 ,
206
+ }
192
207
}
193
208
194
209
pub const __SIZEOF_PTHREAD_CONDATTR_T: usize = 4 ;
@@ -549,7 +564,7 @@ pub const SYS_landlock_add_rule: ::c_long = 445;
549
564
pub const SYS_landlock_restrict_self : :: c_long = 446 ;
550
565
pub const SYS_process_mrelease : :: c_long = 448 ;
551
566
pub const SYS_futex_waitv : :: c_long = 449 ;
552
- // pub const SYS_set_mempolicy_home_node: ::c_long = 450;
567
+ pub const SYS_set_mempolicy_home_node : :: c_long = 450 ;
553
568
554
569
pub const POSIX_FADV_DONTNEED : :: c_int = 4 ;
555
570
pub const POSIX_FADV_NOREUSE : :: c_int = 5 ;
@@ -684,6 +699,8 @@ pub const ENOTRECOVERABLE: ::c_int = 131;
684
699
pub const ERFKILL : :: c_int = 132 ;
685
700
pub const EHWPOISON : :: c_int = 133 ;
686
701
702
+ pub const MADV_SOFT_OFFLINE : :: c_int = 101 ;
703
+
687
704
pub const MAP_NORESERVE : :: c_int = 0x4000 ;
688
705
pub const MAP_ANONYMOUS : :: c_int = 0x0020 ;
689
706
pub const MAP_ANON : :: c_int = 0x0020 ;
@@ -695,6 +712,7 @@ pub const MAP_POPULATE: ::c_int = 0x8000;
695
712
pub const MAP_NONBLOCK : :: c_int = 0x10000 ;
696
713
pub const MAP_STACK : :: c_int = 0x20000 ;
697
714
pub const MAP_HUGETLB : :: c_int = 0x40000 ;
715
+ pub const MAP_SYNC : :: c_int = 0x080000 ;
698
716
pub const MCL_CURRENT : :: c_int = 0x0001 ;
699
717
pub const MCL_FUTURE : :: c_int = 0x0002 ;
700
718
pub const MCL_ONFAULT : :: c_int = 0x0004 ;
@@ -746,6 +764,8 @@ pub const PTRACE_GETFPXREGS: ::c_uint = 18;
746
764
pub const PTRACE_SETFPXREGS : :: c_uint = 19 ;
747
765
pub const PTRACE_GETREGS : :: c_uint = 12 ;
748
766
pub const PTRACE_SETREGS : :: c_uint = 13 ;
767
+ pub const PTRACE_SYSEMU : :: c_uint = 31 ;
768
+ pub const PTRACE_SYSEMU_SINGLESTEP : :: c_uint = 32 ;
749
769
750
770
pub const RTLD_DEEPBIND : :: c_int = 0x8 ;
751
771
pub const RTLD_GLOBAL : :: c_int = 0x100 ;
@@ -846,6 +866,7 @@ pub const ECHOPRT: ::tcflag_t = 0x00000400;
846
866
pub const ECHOCTL : :: tcflag_t = 0x00000200 ;
847
867
pub const ISIG : :: tcflag_t = 0x00000001 ;
848
868
pub const ICANON : :: tcflag_t = 0x00000002 ;
869
+ pub const XCASE : :: tcflag_t = 0x00000004 ;
849
870
pub const PENDIN : :: tcflag_t = 0x00004000 ;
850
871
pub const NOFLSH : :: tcflag_t = 0x00000080 ;
851
872
0 commit comments