• R
    allow i386 __set_thread_area to be called more than once · f630df09
    Rich Felker 提交于
    previously a new GDT slot was requested, even if one had already been
    obtained by a previous call. instead extract the old slot number from
    GS and reuse it if it was already set. the formula (GS-3)/8 for the
    slot number automatically yields -1 (request for new slot) if GS is
    zero (unset).
    f630df09
__set_thread_area.s 542 字节