HelenOS sources

read_rflags       238 kernel/arch/amd64/include/arch/asm.h 	return (ipl_t) read_rflags();
read_rflags       292 kernel/arch/amd64/include/arch/asm.h 	return ((read_rflags() & RFLAGS_IF) == 0);
read_rflags       115 kernel/arch/amd64/src/amd64.c 	write_rflags(read_rflags() & ~(RFLAGS_IOPL | RFLAGS_NT));
read_rflags        55 kernel/arch/amd64/src/userspace.c 	uint64_t rflags = read_rflags();
HelenOS homepage, sources at GitHub