|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] [PATCH] caml-stubdom: fix "red zone" bug
Ian Campbell writes ("Re: [Xen-devel] [PATCH] caml-stubdom: fix "red zone"
bug"):
> A kernel (or anything which runs only in ring 0) generally cannot use
> red-zoning on itself because there is no stack switch when taking an
> exception/interrupt/etc from ring 0 and so the hardware has already
> trashed the red-zone before the software would get to do any
> fixup/obeying etc.
Thanks for the explanation. It hadn't occurred to me that they'd
write something into the ABI which you can't implement when running in
a kernel ...
I've applied Patrick's patch.
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|