diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2015-09-22 12:35:00 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2015-10-09 13:30:59 -0400 |
commit | 62de31b4feb5eacc4139f4d9fc28ae102921b4c7 (patch) | |
tree | abc7644646894282e58daac29d90ac86e7b66c37 /src/sha1.c | |
parent | 4c599ef3960ed8f2aaf7a73980814ebe42e37bf3 (diff) | |
download | seabios-hppa-62de31b4feb5eacc4139f4d9fc28ae102921b4c7.zip seabios-hppa-62de31b4feb5eacc4139f4d9fc28ae102921b4c7.tar.gz seabios-hppa-62de31b4feb5eacc4139f4d9fc28ae102921b4c7.tar.bz2 |
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>
Diffstat (limited to 'src/sha1.c')
0 files changed, 0 insertions, 0 deletions