jump.py (10544:049273bc03f6) jump.py (10959:30c700ee0d47)
1# Copyright (c) 2007 The Hewlett-Packard Development Company
1# Copyright (c) 2007 The Hewlett-Packard Development Company
2# Copyright (c) 2012-2013 AMD
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
9# terms below provided that you ensure that this notice is replicated

--- 112 unchanged lines hidden (view full) ---

122 ld t4, tsl, [1, t0, t3], dataSize=8, addressSize=8, atCPL0=True
123 br rom_local_label("farJmpProcessDescriptor")
124farJmpGlobalDescriptor:
125 ld t4, tsg, [1, t0, t3], dataSize=8, addressSize=8, atCPL0=True
126farJmpProcessDescriptor:
127 rcri t0, t4, 13, flags=(ECF,), dataSize=2
128 br rom_local_label("farJmpSystemDescriptor"), flags=(nCECF,)
129 chks t2, t4, CSCheck, dataSize=8
3# All rights reserved.
4#
5# The license below extends only to copyright in the software and shall
6# not be construed as granting a license to any other intellectual
7# property including but not limited to intellectual property relating
8# to a hardware implementation of the functionality of the software
9# licensed hereunder. You may use the software subject to the license
10# terms below provided that you ensure that this notice is replicated

--- 112 unchanged lines hidden (view full) ---

123 ld t4, tsl, [1, t0, t3], dataSize=8, addressSize=8, atCPL0=True
124 br rom_local_label("farJmpProcessDescriptor")
125farJmpGlobalDescriptor:
126 ld t4, tsg, [1, t0, t3], dataSize=8, addressSize=8, atCPL0=True
127farJmpProcessDescriptor:
128 rcri t0, t4, 13, flags=(ECF,), dataSize=2
129 br rom_local_label("farJmpSystemDescriptor"), flags=(nCECF,)
130 chks t2, t4, CSCheck, dataSize=8
130 wrdl cs, t4, t2
131 wrsel cs, t2
132 wrip t0, t1
131 wrdl cs, t4, t2, dataSize=4
132 wrsel cs, t2, dataSize=4
133 wrip t0, t1, dataSize=4
133 eret
134
135farJmpSystemDescriptor:
136 panic "Far jumps to system descriptors aren't implemented"
137 eret
138};
139
140def macroop JMP_FAR_REAL_M

--- 34 unchanged lines hidden ---
134 eret
135
136farJmpSystemDescriptor:
137 panic "Far jumps to system descriptors aren't implemented"
138 eret
139};
140
141def macroop JMP_FAR_REAL_M

--- 34 unchanged lines hidden ---