interrupts_and_exceptions.py (10474:799c8ee4ecba) | interrupts_and_exceptions.py (12584:2af98e1fb894) |
---|---|
1# Copyright (c) 2007-2008 The Hewlett-Packard Development Company 2# All rights reserved. 3# 4# The license below extends only to copyright in the software and shall 5# not be construed as granting a license to any other intellectual 6# property including but not limited to intellectual property relating 7# to a hardware implementation of the functionality of the software 8# licensed hereunder. You may use the software subject to the license --- 23 unchanged lines hidden (view full) --- 32# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 33# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 34# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 35# 36# Authors: Gabe Black 37 38microcode = ''' 39def macroop IRET_REAL { | 1# Copyright (c) 2007-2008 The Hewlett-Packard Development Company 2# All rights reserved. 3# 4# The license below extends only to copyright in the software and shall 5# not be construed as granting a license to any other intellectual 6# property including but not limited to intellectual property relating 7# to a hardware implementation of the functionality of the software 8# licensed hereunder. You may use the software subject to the license --- 23 unchanged lines hidden (view full) --- 32# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 33# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 34# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 35# 36# Authors: Gabe Black 37 38microcode = ''' 39def macroop IRET_REAL { |
40 .serializing | 40 .serialize_after |
41 panic "Real mode iret isn't implemented!" 42}; 43 44def macroop IRET_PROT { | 41 panic "Real mode iret isn't implemented!" 42}; 43 44def macroop IRET_PROT { |
45 .serializing | 45 .serialize_after |
46 .adjust_env oszIn64Override 47 48 # Check for a nested task. This isn't supported at the moment. 49 rflag t1, 14; #NT bit 50 panic "Task switching with iret is unimplemented!", flags=(nCEZF,) 51 52 #t1 = temp_RIP 53 #t2 = temp_CS --- 205 unchanged lines hidden --- | 46 .adjust_env oszIn64Override 47 48 # Check for a nested task. This isn't supported at the moment. 49 rflag t1, 14; #NT bit 50 panic "Task switching with iret is unimplemented!", flags=(nCEZF,) 51 52 #t1 = temp_RIP 53 #t2 = temp_CS --- 205 unchanged lines hidden --- |