mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-16 10:20:30 +00:00
Use the right mask for extracting sof from cr.ifs.
This commit is contained in:
parent
eded8b5cfa
commit
2e8a70354f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=67196
@ -343,7 +343,7 @@ kdb_trap(int vector, struct trapframe *regs)
|
||||
/*
|
||||
* XXX pretend that registers outside the current frame don't exist.
|
||||
*/
|
||||
db_eregs = db_regs + DB_MISC_REGS + 32 + (ddb_regs.tf_cr_ifs & 0xff);
|
||||
db_eregs = db_regs + DB_MISC_REGS + 32 + (ddb_regs.tf_cr_ifs & 0x7f);
|
||||
|
||||
__asm __volatile("flushrs"); /* so we can look at them */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user