Lines Matching defs:gate
613 gate_desc_dump(gate_desc_t *gate, const char *label, int header)
619 switch (gate->sgd_type) {
630 (void) mdb_snprintf(type, sizeof (type), "%3x", gate->sgd_type);
635 lastval = gate->sgd_ist;
638 lastval = gate->sgd_stkcpy;
649 if (gate->sgd_type == SDT_SYSTASKGT)
652 mdb_printf("%-30a ", GATESEG_GETOFFSET(gate));
654 mdb_printf("%4x %d %c %3s %2x\n", gate->sgd_selector,
655 gate->sgd_dpl, (gate->sgd_p ? '+' : ' '), type, lastval);
662 gate_desc_t gate;
667 if (mdb_vread(&gate, sizeof (gate_desc_t), addr) !=
669 mdb_warn("failed to read gate descriptor at %p\n", addr);
673 gate_desc_dump(&gate, "", DCMD_HDRSPEC(flags));
703 gate_desc_t gate;
706 if (mdb_vread(&gate, sizeof (gate_desc_t), addr) !=
708 mdb_warn("failed to read gate descriptor at %p\n",
714 gate_desc_dump(&gate, label, i == 0);
749 { "gate_desc", ":", "dump a gate descriptor", gate_desc },