static inline unsigned int get_seg_limit(uint32_t e1, uint32_t e2)

{

    unsigned int limit;

    limit = (e1 & 0xffff) | (e2 & 0x000f0000);

    if (e2 & DESC_G_MASK)

        limit = (limit << 12) | 0xfff;

    return limit;

}

static inline unsigned int get_seg_limit(uint32_t e1, uint32_t e2)

{

    unsigned int limit;

    limit = (e1 & 0xffff) | (e2 & 0x000f0000);

    if (e2 & DESC_G_MASK)

        limit = (limit << 12) | 0xfff;

    return limit;

}

static inline unsigned int FUNC_0(uint32_t VAR_0, uint32_t VAR_1)

{

    unsigned int VAR_2;

    VAR_2 = (VAR_0 & 0xffff) | (VAR_1 & 0x000f0000);

    if (VAR_1 & DESC_G_MASK)

        VAR_2 = (VAR_2 << 12) | 0xfff;

    return VAR_2;

}

static inline unsigned int FUNC_0(uint32_t VAR_0, uint32_t VAR_1)
{ unsigned int VAR_2; VAR_2 = (VAR_0 & 0xffff) | (VAR_1 & 0x000f0000); if (VAR_1 & DESC_G_MASK)
VAR_2 = (VAR_2 << 12) | 0xfff; return VAR_2; }