Lines Matching defs:gd
2923 setgate(struct gate_descriptor *gd, void *func, int args, int type, int dpl,
2927 gd->gd_looffset = (int)func;
2928 gd->gd_selector = GSEL(seg, SEL_KPL);
2929 gd->gd_stkcpy = args;
2930 gd->gd_xx = 0;
2931 gd->gd_type = type;
2932 gd->gd_dpl = dpl;
2933 gd->gd_p = 1;
2934 gd->gd_hioffset = (int)func >> 16;
2938 unsetgate(struct gate_descriptor *gd)
2940 gd->gd_p = 0;
2941 gd->gd_hioffset = 0;
2942 gd->gd_looffset = 0;
2943 gd->gd_selector = 0;
2944 gd->gd_xx = 0;
2945 gd->gd_stkcpy = 0;
2946 gd->gd_type = 0;
2947 gd->gd_dpl = 0;