system_calls.py (7087:fb8d5786ff30) system_calls.py (7932:6220632e8636)
1# Copyright (c) 2007 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

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

74 # dpl=0, defaultSize=0, not long mode
75 limm t4, ((0 << 0) | (0 << 2) | (1 << 3) | \
76 (0 << 4) | (0 << 5) | (1 << 6) | \
77 (1 << 7) | (2 << 8) | (1 << 12) | \
78 (1 << 13) | (0 << 14) | (1 << 15)), dataSize=8
79 wrattr ss, t4
80
81 # Set the new rip.
1# Copyright (c) 2007 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

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

74 # dpl=0, defaultSize=0, not long mode
75 limm t4, ((0 << 0) | (0 << 2) | (1 << 3) | \
76 (0 << 4) | (0 << 5) | (1 << 6) | \
77 (1 << 7) | (2 << 8) | (1 << 12) | \
78 (1 << 13) | (0 << 14) | (1 << 15)), dataSize=8
79 wrattr ss, t4
80
81 # Set the new rip.
82 rdval t7, lstar
83 wrip t0, t7
82 rdval t7, lstar, dataSize=8
83 wrip t0, t7, dataSize=8
84
85 # Mask the flags against sf_mask and leave RF turned off.
86 rdval t3, sf_mask, dataSize=8
87 xor t3, t3, t1, dataSize=8
88 and t3, t3, r11, dataSize=8
89 wrflags t3, t0
90};
91

--- 138 unchanged lines hidden ---
84
85 # Mask the flags against sf_mask and leave RF turned off.
86 rdval t3, sf_mask, dataSize=8
87 xor t3, t3, t1, dataSize=8
88 and t3, t3, r11, dataSize=8
89 wrflags t3, t0
90};
91

--- 138 unchanged lines hidden ---