Skip to content

Commit

Permalink
Work around for divide by 0 exception.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian Rogers committed Mar 17, 2009
1 parent ae7d064 commit e0a140e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tools/bootloader/sysSignal_Intel.c
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@
*/
static int decodeModRMLength(unsigned char modrm)
{
SYS_START();
switch ((modrm >> 6) & 3) {
case 0: // reg, [reg]
switch (modrm & 7) {
Expand All @@ -156,7 +155,6 @@ static int decodeModRMLength(unsigned char modrm)
return 5;
}
case 3: // reg, reg
ERROR_PRINTF("%s: Unexpected reg,reg opcode %x\n", Me, modrm);
return 1;
}
}
Expand Down

0 comments on commit e0a140e

Please sign in to comment.