Squash commits for public release
This commit is contained in:
38
utils/legacy/interrgen.py
Normal file
38
utils/legacy/interrgen.py
Normal file
@@ -0,0 +1,38 @@
|
||||
for i in range(32):
|
||||
print("""
|
||||
isr{0}:
|
||||
cli
|
||||
pusha
|
||||
push ds
|
||||
push es
|
||||
push fs
|
||||
push gs
|
||||
push esp
|
||||
push byte {0}
|
||||
jmp isr_common_bottom
|
||||
""".format(i)
|
||||
)
|
||||
|
||||
|
||||
for i in range(32, 40):
|
||||
print("""
|
||||
irq{0}:
|
||||
cli
|
||||
pusha
|
||||
push ds
|
||||
push es
|
||||
push fs
|
||||
push gs
|
||||
push esp
|
||||
push byte {1}
|
||||
jmp irq_master_common_bottom
|
||||
""".format(i-32, i)
|
||||
)
|
||||
|
||||
|
||||
for i in range(40, 48):
|
||||
print("""
|
||||
syscall{0}:
|
||||
|
||||
""".format(i-32, i)
|
||||
)
|
||||
Reference in New Issue
Block a user