Re: pmap of amd64

Previous thread: IPv6 Router Alert breaks forwarding by Andrew McDonald on Sunday, October 14, 2007 - 10:35 am. (2 messages)

Next thread: Bluetooth by Dmitry Komissaroff on Tuesday, October 16, 2007 - 7:05 am. (8 messages)
To: <kernel@...>
Date: Monday, October 15, 2007 - 1:25 pm

You can't, because not all traps to the system disable interrupts.
This means that another interrupt can occur after the stack frame has
been pushed, but before swapgs has been run the first time.

It really is a lot easier to just load a pointer from a fixed address.

-Matt
Matthew Dillon
<dillon@backplane.com>

Previous thread: IPv6 Router Alert breaks forwarding by Andrew McDonald on Sunday, October 14, 2007 - 10:35 am. (2 messages)

Next thread: Bluetooth by Dmitry Komissaroff on Tuesday, October 16, 2007 - 7:05 am. (8 messages)