Add load, safe load, read xcr0 functions
authorMichael Taufen <mtaufen@gmail.com>
Mon, 22 Feb 2016 22:27:02 +0000 (14:27 -0800)
committerBarret Rhoden <brho@cs.berkeley.edu>
Fri, 26 Feb 2016 16:28:20 +0000 (11:28 -0500)
commitec1f29c21f3dfdcf0bda3bf5d2332bce961b11ba
treefa51c6c35fa0c632a5135f828b1ffc1197994a6a
parent9949dba08521e870d756c203a2c9a8d637530138
Add load, safe load, read xcr0 functions

void lxcr0(uint64_t xcr0)
int safe_lxcr0(uint64_t xcr0)
uint64_t rxcr0(void)

Signed-off-by: Michael Taufen <mtaufen@gmail.com>
Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/arch/x86/x86.h
kern/include/trap.h