1 #ifndef MICROBLAZE_TARGET_SYSCALL_H 2 #define MICROBLAZE_TARGET_SYSCALL_H 3 4 #define UNAME_MACHINE "microblaze" 5 #define UNAME_MINIMUM_RELEASE "2.6.32" 6 7 /* We use microblaze_reg_t to keep things similar to the kernel sources. */ 8 typedef uint32_t microblaze_reg_t; 9 10 struct target_pt_regs { 11 microblaze_reg_t r0; 12 microblaze_reg_t r1; 13 microblaze_reg_t r2; 14 microblaze_reg_t r3; 15 microblaze_reg_t r4; 16 microblaze_reg_t r5; 17 microblaze_reg_t r6; 18 microblaze_reg_t r7; 19 microblaze_reg_t r8; 20 microblaze_reg_t r9; 21 microblaze_reg_t r10; 22 microblaze_reg_t r11; 23 microblaze_reg_t r12; 24 microblaze_reg_t r13; 25 microblaze_reg_t r14; 26 microblaze_reg_t r15; 27 microblaze_reg_t r16; 28 microblaze_reg_t r17; 29 microblaze_reg_t r18; 30 microblaze_reg_t r19; 31 microblaze_reg_t r20; 32 microblaze_reg_t r21; 33 microblaze_reg_t r22; 34 microblaze_reg_t r23; 35 microblaze_reg_t r24; 36 microblaze_reg_t r25; 37 microblaze_reg_t r26; 38 microblaze_reg_t r27; 39 microblaze_reg_t r28; 40 microblaze_reg_t r29; 41 microblaze_reg_t r30; 42 microblaze_reg_t r31; 43 microblaze_reg_t pc; 44 microblaze_reg_t msr; 45 microblaze_reg_t ear; 46 microblaze_reg_t esr; 47 microblaze_reg_t fsr; 48 uint32_t kernel_mode; 49 }; 50 51 #define TARGET_CLONE_BACKWARDS 52 #define TARGET_MINSIGSTKSZ 2048 53 #define TARGET_MLOCKALL_MCL_CURRENT 1 54 #define TARGET_MLOCKALL_MCL_FUTURE 2 55 56 #define TARGET_WANT_NI_OLD_SELECT 57 58 #endif 59