Changes in kernel/tools/amd64/decpt.py [28f4adb:11675207] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/tools/amd64/decpt.py
r28f4adb r11675207 7 7 def main(): 8 8 if len(sys.argv) != 2 or not sys.argv[1].startswith('0x'): 9 print ("%s 0x..." % sys.argv[0])9 print "%s 0x..." % sys.argv[0] 10 10 sys.exit(1) 11 11 … … 16 16 ptl1 = (address >> 30) & 0x1ff 17 17 ptl0 = (address >> 39) & 0x1ff 18 print ("Ptl0: %3d" % ptl0)19 print ("Ptl1: %3d" % ptl1)20 print ("Ptl2: %3d" % ptl2)21 print ("Ptl3: %3d" % ptl3)22 print ("Offset: 0x%x" % offset)18 print "Ptl0: %3d" % ptl0 19 print "Ptl1: %3d" % ptl1 20 print "Ptl2: %3d" % ptl2 21 print "Ptl3: %3d" % ptl3 22 print "Offset: 0x%x" % offset 23 23 24 24 if __name__ == '__main__':
Note:
See TracChangeset
for help on using the changeset viewer.