commit | 62de31b4feb5eacc4139f4d9fc28ae102921b4c7 | [log] [tgz] |
---|---|---|
author | Kevin O'Connor <kevin@koconnor.net> | Tue Sep 22 12:35:00 2015 -0400 |
committer | Kevin O'Connor <kevin@koconnor.net> | Fri Oct 09 13:30:59 2015 -0400 |
tree | abc7644646894282e58daac29d90ac86e7b66c37 | |
parent | 4c599ef3960ed8f2aaf7a73980814ebe42e37bf3 [diff] |
Always enable caching on transition32; backup/restore cr0 on call32 Always enable caching at start of 32bit code and always make sure the paging flag is off. Because this alters the cr0 register, perform a backup and restore of it when using call32(). Also, rename get/setcr0() to cr0_read/write() to more closely match other register access functions. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>