Re: Double fault handling on amd64

2015-06-28 Thread Mike Larkin
On Thu, Feb 19, 2015 at 01:50:59PM +, Wei Liu wrote: > Hi all > > When I was trying to debug a double fault on 5.6, I found the trap frame > looked a bit strange. After some investigation and reading source > code, I found that double fault handling looked problematic. > > Per Intel SDM volum

Double fault handling on amd64

2015-02-19 Thread Wei Liu
Hi all When I was trying to debug a double fault on 5.6, I found the trap frame looked a bit strange. After some investigation and reading source code, I found that double fault handling looked problematic. Per Intel SDM volume 3A, processor will push 0 to stack as error code when double fault oc