Lines Matching refs:str
256 const ERR_MSG_1: &str = in do_invalid_TSS()
258 const ERR_MSG_2: &str = "Refers to a descriptor in the IDT.\n"; in do_invalid_TSS()
259 const ERR_MSG_3: &str = "Refers to a descriptor in the current LDT.\n"; in do_invalid_TSS()
260 const ERR_MSG_4: &str = "Refers to a descriptor in the GDT.\n"; in do_invalid_TSS()
262 let msg1: &str = if (error_code & 0x1) != 0 { in do_invalid_TSS()
268 let msg2: &str = if (error_code & 0x02) != 0 { in do_invalid_TSS()
320 …const ERR_MSG_1: &str = "The exception occurred during delivery of an event external to the progra… in do_general_protection()
321 const ERR_MSG_2: &str = "Refers to a gate descriptor in the IDT;\n"; in do_general_protection()
322 const ERR_MSG_3: &str = "Refers to a descriptor in the GDT or the current LDT;\n"; in do_general_protection()
323 const ERR_MSG_4: &str = "Refers to a segment or gate descriptor in the LDT;\n"; in do_general_protection()
324 const ERR_MSG_5: &str = "Refers to a descriptor in the current GDT;\n"; in do_general_protection()
326 let msg1: &str = if (error_code & 0x1) != 0 { in do_general_protection()
332 let msg2: &str = if (error_code & 0x02) != 0 { in do_general_protection()
338 let msg3: &str = if (error_code & 0x02) == 0 { in do_general_protection()