Function report |
Source Code:arch\x86\lib\insn-eval.c |
Create Date:2022-07-28 07:25:34 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:get_seg_limit() - Obtain the limit of a segment descriptor*@regs: Register values as seen when entering kernel mode*@seg_reg_idx: Index of the segment register pointing to seg descriptor* Obtain the limit of the segment as indicated by the segment
Proto:static unsigned long get_seg_limit(struct pt_regs *regs, int seg_reg_idx)
Type:unsigned long
Parameter:
Type | Parameter | Name |
---|---|---|
struct pt_regs * | regs | |
int | seg_reg_idx |
703 | If sel < 0 Then Return 0 |
706 | If user_64bit_mode(regs) || v8086_mode(regs) Then Return -1L |
709 | If Not sel Then Return 0 |
721 | limit = get_desc_limit( & desc) |
725 | Return limit |
Name | Describe |
---|---|
get_seg_base_limit | get_seg_base_limit() - obtain base address and limit of a segment*@insn: Instruction |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |