CSR_HGEIP
hgei_mask = csr_read(CSR_HGEIP) & csr_read(CSR_HGEIE);
ret = !!(csr_read(CSR_HGEIP) & BIT(imsic->vsfile_hgei));