Print this page
104 Bring back lx brand
*** 33,53 ****
#include <sys/model.h>
struct brand_mach_ops {
void (*b_sysenter)(void);
void (*b_int91)(void);
void (*b_syscall)(void);
void (*b_syscall32)(void);
};
#endif /* _ASM */
#define BRAND_CB_SYSENTER 0
! #define BRAND_CB_INT91 1
! #define BRAND_CB_SYSCALL 2
! #define BRAND_CB_SYSCALL32 3
#ifdef __cplusplus
}
#endif
--- 33,56 ----
#include <sys/model.h>
struct brand_mach_ops {
void (*b_sysenter)(void);
+ void (*b_int80)(void);
void (*b_int91)(void);
void (*b_syscall)(void);
void (*b_syscall32)(void);
+ greg_t (*b_fixsegreg)(greg_t, model_t);
};
#endif /* _ASM */
#define BRAND_CB_SYSENTER 0
! #define BRAND_CB_INT80 1
! #define BRAND_CB_INT91 2
! #define BRAND_CB_SYSCALL 3
! #define BRAND_CB_SYSCALL32 4
#ifdef __cplusplus
}
#endif