4 #define PADDR(a) ((a) & ~KZERO)
5 #define KADDR(a) (KZERO|(a))
8 * Some machine instructions not handled by 8[al].
10 #define OP16 BYTE $0x66
11 #define DELAY BYTE $0xEB; BYTE $0x00 /* JMP .+2 */
12 #define CPUID BYTE $0x0F; BYTE $0xA2 /* CPUID, argument in AX */
13 #define WRMSR BYTE $0x0F; BYTE $0x30 /* WRMSR, argument in AX/DX (lo/hi) */
14 #define RDTSC BYTE $0x0F; BYTE $0x31 /* RDTSC, result in AX/DX (lo/hi) */
15 #define RDMSR BYTE $0x0F; BYTE $0x32 /* RDMSR, result in AX/DX (lo/hi) */
16 #define HLT BYTE $0xF4
17 #define INVLPG BYTE $0x0F; BYTE $0x01; BYTE $0x39 /* INVLPG (%ecx) */
18 #define WBINVD BYTE $0x0F; BYTE $0x09
20 #define VectorSYSCALL 0x40
23 * Macros for calculating offsets within the page directory base
24 * and page tables. Note that these are assembler-specific hence
27 #define PDO(a) (((((a))>>22) & 0x03FF)<<2)
28 #define PTO(a) (((((a))>>12) & 0x03FF)<<2)
31 * For backwards compatiblity with 9load - should go away when 9load is changed
32 * 9load currently sets up the mmu, however the first 16MB of memory is identity
33 * mapped, so behave as if the mmu was not setup
35 TEXT _startKADDR(SB), $0
36 MOVL $_startPADDR(SB), AX
41 * Must be 4-byte aligned.
43 TEXT _multibootheader(SB), $0
44 LONG $0x1BADB002 /* magic */
45 LONG $0x00010003 /* flags */
46 LONG $-(0x1BADB002 + 0x00010003) /* checksum */
47 LONG $_multibootheader-KZERO(SB) /* header_addr */
48 LONG $_startKADDR-KZERO(SB) /* load_addr */
49 LONG $edata-KZERO(SB) /* load_end_addr */
50 LONG $end-KZERO(SB) /* bss_end_addr */
51 LONG $_multibootentry-KZERO(SB) /* entry_addr */
52 LONG $0 /* mode_type */
58 * the kernel expects the data segment to be page-aligned
59 * multiboot bootloaders put the data segment right behind text
61 TEXT _multibootentry(SB), $0
62 MOVL $etext-KZERO(SB), SI
66 MOVL $edata-KZERO(SB), CX
70 INCL CX /* one more for post decrement */
74 MOVL BX, multiboot-KZERO(SB)
75 MOVL $_startPADDR(SB), AX
79 /* multiboot structure pointer */
80 TEXT multiboot(SB), $0
84 * In protected mode with paging turned off and segment registers setup
85 * to linear map all memory. Entered via a jump to PADDR(entry),
86 * the physical address of the virtual kernel entry point of KADDR(entry).
87 * Make the basic page tables for processor 0. Six pages are needed for
90 * page tables for mapping the first 8MB of physical memory to KZERO;
92 * virtual and physical pages for mapping the Mach structure.
93 * The remaining PTEs will be allocated later when memory is sized.
94 * An identity mmu map is also needed for the switch to virtual mode.
95 * This identity mapping is removed once the MMU is going and the JMP has
96 * been made to virtual memory.
98 TEXT _startPADDR(SB), $0
99 CLI /* make sure interrupts are off */
101 /* set up the gdt so we have sane plan 9 style gdts. */
102 MOVL $tgdtptr(SB), AX
108 /* clear prefetch queue (weird code to avoid optimizations) */
111 /* set segs to something sane (avoid traps later) */
119 /* JMP $(2<<3):$mode32bit(SB) /**/
121 LONG $mode32bit-KZERO(SB)
125 * gdt to get us to 32-bit/segmented/unpaged mode
129 /* null descriptor */
133 /* data segment descriptor for 4 gigabytes (PL 0) */
135 LONG $(SEGG|SEGB|(0xF<<16)|SEGP|SEGPL(0)|SEGDATA|SEGW)
137 /* exec segment descriptor for 4 gigabytes (PL 0) */
139 LONG $(SEGG|SEGD|(0xF<<16)|SEGP|SEGPL(0)|SEGEXEC|SEGR)
142 * pointer to initial gdt
143 * Note the -KZERO which puts the physical address in the gdtptr.
144 * that's needed as we start executing in physical addresses.
150 TEXT m0rgdtptr(SB), $0
152 LONG $(CPU0GDT-KZERO)
154 TEXT m0gdtptr(SB), $0
158 TEXT m0idtptr(SB), $0
162 TEXT mode32bit(SB), $0
163 /* At this point, the GDT setup is done. */
165 MOVL $((CPU0END-CPU0PDB)>>2), CX
166 MOVL $PADDR(CPU0PDB), DI
172 MOVL $PADDR(CPU0PTE), DX
173 MOVL $(PTEWRITE|PTEVALID), BX /* page permissions */
176 MOVL $PADDR(CPU0PDB), AX
177 ADDL $PDO(KZERO), AX /* page directory offset for KZERO */
179 MOVL DX, 0(AX) /* PTE's for KZERO */
181 MOVL DX, 4(AX) /* PTE's for KZERO+4MB */
183 MOVL DX, 8(AX) /* PTE's for KZERO+8MB */
185 MOVL DX, 12(AX) /* PTE's for KZERO+12MB */
187 MOVL $PADDR(CPU0PTE), AX /* first page of page table */
188 MOVL $end-KZERO(SB), CX
190 ANDL $~(BY2XPG-1), CX /* round to 4MB */
191 MOVL CX, MemMin-KZERO(SB) /* see memory.c */
200 MOVL $PADDR(CPU0PTE), AX
201 ADDL $PTO(MACHADDR), AX /* page table entry offset for MACHADDR */
202 ORL $PADDR(CPU0MACH), BX
203 MOVL BX, (AX) /* PTE for Mach */
206 * Now ready to use the new map. Make sure the processor options are what is wanted.
207 * It is necessary on some processors to immediately follow mode switching with a JMP instruction
208 * to clear the prefetch queues.
210 MOVL $PADDR(CPU0PDB), CX /* load address of page directory */
211 MOVL (PDO(KZERO))(CX), DX /* double-map KZERO at 0 */
212 MOVL DX, (PDO(0))(CX)
217 ORL $0x80010000, DX /* PG|WP */
218 ANDL $~0x6000000A, DX /* ~(CD|NW|TS|MP) */
220 MOVL $_startpg(SB), AX /* this is a virtual address */
221 MOVL DX, CR0 /* turn on paging */
222 JMP* AX /* jump to the virtual nirvana */
225 * Basic machine environment set, can clear BSS and create a stack.
226 * The stack starts at the top of the page containing the Mach structure.
227 * The x86 architecture forces the use of the same virtual address for
228 * each processor's Mach structure, so the global Mach pointer 'm' can
229 * be initialised here.
231 TEXT _startpg(SB), $0
232 MOVL $0, (PDO(0))(CX) /* undo double-map of KZERO at 0 */
233 MOVL CX, CR3 /* load and flush the mmu */
239 SUBL DI, CX /* end-edata bytes */
240 SHRL $2, CX /* end-edata doublewords */
243 REP; STOSL /* clear BSS */
246 MOVL SP, m(SB) /* initialise global Mach pointer */
247 MOVL $0, 0(SP) /* initialise m->machno */
250 ADDL $(MACHSIZE-4), SP /* initialise stack */
253 * Need to do one final thing to ensure a clean machine environment,
254 * clear the EFLAGS register, which can only be done once there is a stack.
263 * Park a processor. Should never fall through a return from main to here,
264 * should only be called by application processors when shutting down.
286 TEXT bios32call(SB), $0
296 MOVL 12(SP), BP /* ptr */
297 BYTE $0xFF; BYTE $0x5D; BYTE $0x00 /* CALL FAR 0(BP) */
316 * in[bsl] input a byte|short|long
317 * ins[bsl] input a string of bytes|shorts|longs
318 * out[bsl] output a byte|short|long
319 * outs[bsl] output a string of bytes|shorts|longs
329 MOVL address+4(FP), DI
343 MOVL address+4(FP), DI
356 MOVL address+4(FP), DI
370 MOVL address+4(FP), SI
384 MOVL address+4(FP), SI
398 MOVL address+4(FP), SI
405 * Read/write various system registers.
406 * CR4 and the 'model specific registers' should only be read/written
407 * after it has been determined the processor supports them
409 TEXT lgdt(SB), $0 /* GDTR - global descriptor table */
410 MOVL gdtptr+0(FP), AX
414 TEXT lldt(SB), $0 /* LDTR - local descriptor table */
416 BYTE $0x0F; BYTE $0x00; BYTE $0xD0 /* LLDT AX */
419 TEXT lidt(SB), $0 /* IDTR - interrupt descriptor table */
420 MOVL idtptr+0(FP), AX
424 TEXT ltr(SB), $0 /* TR - task register */
429 TEXT getcr0(SB), $0 /* CR0 - processor control */
433 TEXT getcr2(SB), $0 /* CR2 - page fault linear address */
437 TEXT getcr3(SB), $0 /* CR3 - page directory base */
451 TEXT getcr4(SB), $0 /* CR4 - extensions */
470 TEXT _cycles(SB), $0 /* time stamp counter */
472 MOVL vlong+0(FP), CX /* &vlong */
473 MOVL AX, 0(CX) /* lo */
474 MOVL DX, 4(CX) /* hi */
479 * time stamp counter; low-order 32 bits of 64-bit cycle counter
480 * Runs at fasthz/4 cycles per second (m->clkin>>3)
482 TEXT lcycles(SB),1,$0
486 TEXT rdmsr(SB), $0 /* model-specific register */
489 TEXT _rdmsrinst(SB), $0
491 MOVL vlong+4(FP), CX /* &vlong */
492 MOVL AX, 0(CX) /* lo */
493 MOVL DX, 4(CX) /* hi */
494 MOVL BP, AX /* BP set to -1 if traped */
502 TEXT _wrmsrinst(SB), $0
504 MOVL BP, AX /* BP set to -1 if traped */
508 * Try to determine the CPU type which requires fiddling with EFLAGS.
509 * If the Id bit can be toggled then the CPUID instruction can be used
510 * to determine CPU identity and features. First have to check if it's
511 * a 386 (Ac bit can't be set). If it's not a 386 and the Id bit can't be
512 * toggled then it's an older 486 of some kind.
514 * cpuid(fun, regs[4]);
519 POPFL /* set Id|Ac */
521 POPL BX /* retrieve value */
524 POPFL /* clear Id|Ac, EFLAGS initialised */
526 POPL AX /* retrieve value */
528 TESTL $0x040000, AX /* Ac */
529 JZ _cpu386 /* can't set this bit on 386 */
530 TESTL $0x200000, AX /* Id */
531 JZ _cpu486 /* can't toggle this bit on some 486 */
557 * Basic timing loop to determine CPU frequency.
568 * Note: the encodings for the FCLEX, FINIT, FSAVE, FSTCW, FSENV and FSTSW
569 * instructions do NOT have the WAIT prefix byte (i.e. they act like their
570 * FNxxx variations) so WAIT instructions must be explicitly placed in the
575 ANDL $0xC, AX /* EM, TS */ ;\
581 ANDL $~0x4, AX /* EM=0 */ ;\
582 ORL $0x28, AX /* NE=1, TS=1 */ ;\
587 ANDL $~0xC, AX /* EM=0, TS=0 */ ;\
590 TEXT fpoff(SB), $0 /* disable */
594 TEXT fpinit(SB), $0 /* enable and init */
598 /* setfcr(FPPDBL|FPRNR|FPINVAL|FPZDIV|FPOVFL) */
599 /* note that low 6 bits are masks, not enables, on this chip */
606 TEXT fpx87save0(SB), $0 /* save state and disable */
608 FSAVE 0(AX) /* no WAIT */
612 TEXT fpx87restore0(SB), $0 /* enable and restore state */
619 TEXT fpstatus(SB), $0 /* get floating point status */
623 TEXT fpenv(SB), $0 /* save state without waiting */
628 TEXT fpclear(SB), $0 /* clear pending exceptions */
634 TEXT fpssesave0(SB), $0 /* save state and disable */
636 FXSAVE 0(AX) /* no WAIT */
640 TEXT fpsserestore0(SB), $0 /* enable and restore state */
647 TEXT ldmxcsr(SB), $0 /* Load MXCSR */
659 MOVL $(MACHADDR+0x04), CX /* save PC in m->splpc */
672 MOVL $(MACHADDR+0x04), CX /* clear m->splpc */
690 ANDL $0x200, AX /* interrupt enable flag */
699 XCHGL AX, (BX) /* lock->key */
703 POPL AX /* return PC */
738 TEXT cmpswap486(SB), $0
743 BYTE $0x0F; BYTE $0xB1; BYTE $0x0B /* CMPXCHGL CX, (BX) */
751 TEXT mul64fract(SB), $0
753 * Multiply two 64-bit number s and keep the middle 64 bits from the 128-bit result
754 * See ../port/tod.c for motivation.
757 XORL BX, BX /* BX = 0 */
760 MULL b+16(FP) /* a1*b1 */
761 MOVL AX, 4(CX) /* r2 = lo(a1*b1) */
764 MULL b+12(FP) /* a1*b0 */
765 MOVL AX, 0(CX) /* r1 = lo(a1*b0) */
766 ADDL DX, 4(CX) /* r2 += hi(a1*b0) */
769 MULL b+16(FP) /* a0*b1 */
770 ADDL AX, 0(CX) /* r1 += lo(a0*b1) */
771 ADCL DX, 4(CX) /* r2 += hi(a0*b1) + carry */
774 MULL b+12(FP) /* a0*b0 */
775 ADDL DX, 0(CX) /* r1 += hi(a0*b0) */
776 ADCL BX, 4(CX) /* r2 += carry */
780 * label consists of a stack pointer and a PC
782 TEXT gotolabel(SB), $0
784 MOVL 0(AX), SP /* restore sp */
785 MOVL 4(AX), AX /* put return pc on the stack */
787 MOVL $1, AX /* return 1 */
790 TEXT setlabel(SB), $0
792 MOVL SP, 0(AX) /* store sp */
793 MOVL 0(SP), BX /* store return pc */
795 MOVL $0, AX /* return 0 */
799 * Attempt at power saving. -rsc
819 BYTE $0x0f; BYTE $0x01; BYTE $0xc8 /* MONITOR */
824 BYTE $0x0f; BYTE $0x01; BYTE $0xc9 /* MWAIT */
828 #define RDRANDAX BYTE $0x0f; BYTE $0xc7; BYTE $0xf0
830 TEXT rdrand32(SB), $-4
836 TEXT rdrandbuf(SB), $0
861 * Used to get to the first process:
862 * set up an interrupt return frame and IRET to user level.
865 PUSHL $(UDSEL) /* old ss */
866 MOVL sp+0(FP), AX /* old sp */
868 MOVL $0x200, AX /* interrupt enable flag */
869 PUSHL AX /* old flags */
870 PUSHL $(UESEL) /* old cs */
871 PUSHL $(UTZERO+32) /* old pc */
880 * Interrupt/exception handling.
881 * Each entry in the vector table calls either _strayintr or _strayintrx depending
882 * on whether an error code has been automatically pushed onto the stack
883 * (_strayintrx) or not, in which case a dummy entry must be pushed before retrieving
884 * the trap type from the vector table entry and placing it on the stack as part
885 * of the Ureg structure.
886 * The size of each entry in the vector table (6 bytes) is known in trapinit().
888 TEXT _strayintr(SB), $0
889 PUSHL AX /* save AX */
890 MOVL 4(SP), AX /* return PC from vectortable(SB) */
893 TEXT _strayintrx(SB), $0
894 XCHGL AX, (SP) /* swap AX with vectortable CALL PC */
896 PUSHL DS /* save DS */
898 POPL DS /* fix up DS */
899 MOVBLZX (AX), AX /* trap type -> AX */
900 XCHGL AX, 4(SP) /* exchange trap type with saved AX */
902 PUSHL ES /* save ES */
904 POPL ES /* fix up ES */
906 PUSHL FS /* save the rest of the Ureg struct */
910 PUSHL SP /* Ureg* argument to trap */
916 TEXT _forkretpopgs(SB), $0
918 TEXT _forkretpopfs(SB), $0
920 TEXT _forkretpopes(SB), $0
922 TEXT _forkretpopds(SB), $0
924 ADDL $8, SP /* pop error code and trap type */
925 TEXT _forkretiret(SB), $0
929 * This is merely _strayintr optimised to vector
930 * to syscall() without going through trap().
932 TEXT _syscallintr(SB), $0
933 PUSHL $VectorSYSCALL /* trap type */
944 MOVL $syscall(SB), AX
946 PUSHL SP /* Ureg* argument to syscall */
947 PUSHL $forkret(SB) /* return pc */
950 TEXT vectortable(SB), $0
951 CALL _strayintr(SB); BYTE $0x00 /* divide error */
952 CALL _strayintr(SB); BYTE $0x01 /* debug exception */
953 CALL _strayintr(SB); BYTE $0x02 /* NMI interrupt */
954 CALL _strayintr(SB); BYTE $0x03 /* breakpoint */
955 CALL _strayintr(SB); BYTE $0x04 /* overflow */
956 CALL _strayintr(SB); BYTE $0x05 /* bound */
957 CALL _strayintr(SB); BYTE $0x06 /* invalid opcode */
958 CALL _strayintr(SB); BYTE $0x07 /* no coprocessor available */
959 CALL _strayintrx(SB); BYTE $0x08 /* double fault */
960 CALL _strayintr(SB); BYTE $0x09 /* coprocessor segment overflow */
961 CALL _strayintrx(SB); BYTE $0x0A /* invalid TSS */
962 CALL _strayintrx(SB); BYTE $0x0B /* segment not available */
963 CALL _strayintrx(SB); BYTE $0x0C /* stack exception */
964 CALL _strayintrx(SB); BYTE $0x0D /* general protection error */
965 CALL _strayintrx(SB); BYTE $0x0E /* page fault */
966 CALL _strayintr(SB); BYTE $0x0F /* */
967 CALL _strayintr(SB); BYTE $0x10 /* coprocessor error */
968 CALL _strayintrx(SB); BYTE $0x11 /* alignment check */
969 CALL _strayintr(SB); BYTE $0x12 /* machine check */
970 CALL _strayintr(SB); BYTE $0x13 /* simd error */
971 CALL _strayintr(SB); BYTE $0x14
972 CALL _strayintr(SB); BYTE $0x15
973 CALL _strayintr(SB); BYTE $0x16
974 CALL _strayintr(SB); BYTE $0x17
975 CALL _strayintr(SB); BYTE $0x18
976 CALL _strayintr(SB); BYTE $0x19
977 CALL _strayintr(SB); BYTE $0x1A
978 CALL _strayintr(SB); BYTE $0x1B
979 CALL _strayintr(SB); BYTE $0x1C
980 CALL _strayintr(SB); BYTE $0x1D
981 CALL _strayintr(SB); BYTE $0x1E
982 CALL _strayintr(SB); BYTE $0x1F
983 CALL _strayintr(SB); BYTE $0x20 /* VectorLAPIC */
984 CALL _strayintr(SB); BYTE $0x21
985 CALL _strayintr(SB); BYTE $0x22
986 CALL _strayintr(SB); BYTE $0x23
987 CALL _strayintr(SB); BYTE $0x24
988 CALL _strayintr(SB); BYTE $0x25
989 CALL _strayintr(SB); BYTE $0x26
990 CALL _strayintr(SB); BYTE $0x27
991 CALL _strayintr(SB); BYTE $0x28
992 CALL _strayintr(SB); BYTE $0x29
993 CALL _strayintr(SB); BYTE $0x2A
994 CALL _strayintr(SB); BYTE $0x2B
995 CALL _strayintr(SB); BYTE $0x2C
996 CALL _strayintr(SB); BYTE $0x2D
997 CALL _strayintr(SB); BYTE $0x2E
998 CALL _strayintr(SB); BYTE $0x2F
999 CALL _strayintr(SB); BYTE $0x30
1000 CALL _strayintr(SB); BYTE $0x31
1001 CALL _strayintr(SB); BYTE $0x32
1002 CALL _strayintr(SB); BYTE $0x33
1003 CALL _strayintr(SB); BYTE $0x34
1004 CALL _strayintr(SB); BYTE $0x35
1005 CALL _strayintr(SB); BYTE $0x36
1006 CALL _strayintr(SB); BYTE $0x37
1007 CALL _strayintr(SB); BYTE $0x38
1008 CALL _strayintr(SB); BYTE $0x39
1009 CALL _strayintr(SB); BYTE $0x3A
1010 CALL _strayintr(SB); BYTE $0x3B
1011 CALL _strayintr(SB); BYTE $0x3C
1012 CALL _strayintr(SB); BYTE $0x3D
1013 CALL _strayintr(SB); BYTE $0x3E
1014 CALL _strayintr(SB); BYTE $0x3F
1015 CALL _syscallintr(SB); BYTE $0x40 /* VectorSYSCALL */
1016 CALL _strayintr(SB); BYTE $0x41
1017 CALL _strayintr(SB); BYTE $0x42
1018 CALL _strayintr(SB); BYTE $0x43
1019 CALL _strayintr(SB); BYTE $0x44
1020 CALL _strayintr(SB); BYTE $0x45
1021 CALL _strayintr(SB); BYTE $0x46
1022 CALL _strayintr(SB); BYTE $0x47
1023 CALL _strayintr(SB); BYTE $0x48
1024 CALL _strayintr(SB); BYTE $0x49
1025 CALL _strayintr(SB); BYTE $0x4A
1026 CALL _strayintr(SB); BYTE $0x4B
1027 CALL _strayintr(SB); BYTE $0x4C
1028 CALL _strayintr(SB); BYTE $0x4D
1029 CALL _strayintr(SB); BYTE $0x4E
1030 CALL _strayintr(SB); BYTE $0x4F
1031 CALL _strayintr(SB); BYTE $0x50
1032 CALL _strayintr(SB); BYTE $0x51
1033 CALL _strayintr(SB); BYTE $0x52
1034 CALL _strayintr(SB); BYTE $0x53
1035 CALL _strayintr(SB); BYTE $0x54
1036 CALL _strayintr(SB); BYTE $0x55
1037 CALL _strayintr(SB); BYTE $0x56
1038 CALL _strayintr(SB); BYTE $0x57
1039 CALL _strayintr(SB); BYTE $0x58
1040 CALL _strayintr(SB); BYTE $0x59
1041 CALL _strayintr(SB); BYTE $0x5A
1042 CALL _strayintr(SB); BYTE $0x5B
1043 CALL _strayintr(SB); BYTE $0x5C
1044 CALL _strayintr(SB); BYTE $0x5D
1045 CALL _strayintr(SB); BYTE $0x5E
1046 CALL _strayintr(SB); BYTE $0x5F
1047 CALL _strayintr(SB); BYTE $0x60
1048 CALL _strayintr(SB); BYTE $0x61
1049 CALL _strayintr(SB); BYTE $0x62
1050 CALL _strayintr(SB); BYTE $0x63
1051 CALL _strayintr(SB); BYTE $0x64
1052 CALL _strayintr(SB); BYTE $0x65
1053 CALL _strayintr(SB); BYTE $0x66
1054 CALL _strayintr(SB); BYTE $0x67
1055 CALL _strayintr(SB); BYTE $0x68
1056 CALL _strayintr(SB); BYTE $0x69
1057 CALL _strayintr(SB); BYTE $0x6A
1058 CALL _strayintr(SB); BYTE $0x6B
1059 CALL _strayintr(SB); BYTE $0x6C
1060 CALL _strayintr(SB); BYTE $0x6D
1061 CALL _strayintr(SB); BYTE $0x6E
1062 CALL _strayintr(SB); BYTE $0x6F
1063 CALL _strayintr(SB); BYTE $0x70
1064 CALL _strayintr(SB); BYTE $0x71
1065 CALL _strayintr(SB); BYTE $0x72
1066 CALL _strayintr(SB); BYTE $0x73
1067 CALL _strayintr(SB); BYTE $0x74
1068 CALL _strayintr(SB); BYTE $0x75
1069 CALL _strayintr(SB); BYTE $0x76
1070 CALL _strayintr(SB); BYTE $0x77
1071 CALL _strayintr(SB); BYTE $0x78
1072 CALL _strayintr(SB); BYTE $0x79
1073 CALL _strayintr(SB); BYTE $0x7A
1074 CALL _strayintr(SB); BYTE $0x7B
1075 CALL _strayintr(SB); BYTE $0x7C
1076 CALL _strayintr(SB); BYTE $0x7D
1077 CALL _strayintr(SB); BYTE $0x7E
1078 CALL _strayintr(SB); BYTE $0x7F
1079 CALL _strayintr(SB); BYTE $0x80 /* Vector[A]PIC */
1080 CALL _strayintr(SB); BYTE $0x81
1081 CALL _strayintr(SB); BYTE $0x82
1082 CALL _strayintr(SB); BYTE $0x83
1083 CALL _strayintr(SB); BYTE $0x84
1084 CALL _strayintr(SB); BYTE $0x85
1085 CALL _strayintr(SB); BYTE $0x86
1086 CALL _strayintr(SB); BYTE $0x87
1087 CALL _strayintr(SB); BYTE $0x88
1088 CALL _strayintr(SB); BYTE $0x89
1089 CALL _strayintr(SB); BYTE $0x8A
1090 CALL _strayintr(SB); BYTE $0x8B
1091 CALL _strayintr(SB); BYTE $0x8C
1092 CALL _strayintr(SB); BYTE $0x8D
1093 CALL _strayintr(SB); BYTE $0x8E
1094 CALL _strayintr(SB); BYTE $0x8F
1095 CALL _strayintr(SB); BYTE $0x90
1096 CALL _strayintr(SB); BYTE $0x91
1097 CALL _strayintr(SB); BYTE $0x92
1098 CALL _strayintr(SB); BYTE $0x93
1099 CALL _strayintr(SB); BYTE $0x94
1100 CALL _strayintr(SB); BYTE $0x95
1101 CALL _strayintr(SB); BYTE $0x96
1102 CALL _strayintr(SB); BYTE $0x97
1103 CALL _strayintr(SB); BYTE $0x98
1104 CALL _strayintr(SB); BYTE $0x99
1105 CALL _strayintr(SB); BYTE $0x9A
1106 CALL _strayintr(SB); BYTE $0x9B
1107 CALL _strayintr(SB); BYTE $0x9C
1108 CALL _strayintr(SB); BYTE $0x9D
1109 CALL _strayintr(SB); BYTE $0x9E
1110 CALL _strayintr(SB); BYTE $0x9F
1111 CALL _strayintr(SB); BYTE $0xA0
1112 CALL _strayintr(SB); BYTE $0xA1
1113 CALL _strayintr(SB); BYTE $0xA2
1114 CALL _strayintr(SB); BYTE $0xA3
1115 CALL _strayintr(SB); BYTE $0xA4
1116 CALL _strayintr(SB); BYTE $0xA5
1117 CALL _strayintr(SB); BYTE $0xA6
1118 CALL _strayintr(SB); BYTE $0xA7
1119 CALL _strayintr(SB); BYTE $0xA8
1120 CALL _strayintr(SB); BYTE $0xA9
1121 CALL _strayintr(SB); BYTE $0xAA
1122 CALL _strayintr(SB); BYTE $0xAB
1123 CALL _strayintr(SB); BYTE $0xAC
1124 CALL _strayintr(SB); BYTE $0xAD
1125 CALL _strayintr(SB); BYTE $0xAE
1126 CALL _strayintr(SB); BYTE $0xAF
1127 CALL _strayintr(SB); BYTE $0xB0
1128 CALL _strayintr(SB); BYTE $0xB1
1129 CALL _strayintr(SB); BYTE $0xB2
1130 CALL _strayintr(SB); BYTE $0xB3
1131 CALL _strayintr(SB); BYTE $0xB4
1132 CALL _strayintr(SB); BYTE $0xB5
1133 CALL _strayintr(SB); BYTE $0xB6
1134 CALL _strayintr(SB); BYTE $0xB7
1135 CALL _strayintr(SB); BYTE $0xB8
1136 CALL _strayintr(SB); BYTE $0xB9
1137 CALL _strayintr(SB); BYTE $0xBA
1138 CALL _strayintr(SB); BYTE $0xBB
1139 CALL _strayintr(SB); BYTE $0xBC
1140 CALL _strayintr(SB); BYTE $0xBD
1141 CALL _strayintr(SB); BYTE $0xBE
1142 CALL _strayintr(SB); BYTE $0xBF
1143 CALL _strayintr(SB); BYTE $0xC0
1144 CALL _strayintr(SB); BYTE $0xC1
1145 CALL _strayintr(SB); BYTE $0xC2
1146 CALL _strayintr(SB); BYTE $0xC3
1147 CALL _strayintr(SB); BYTE $0xC4
1148 CALL _strayintr(SB); BYTE $0xC5
1149 CALL _strayintr(SB); BYTE $0xC6
1150 CALL _strayintr(SB); BYTE $0xC7
1151 CALL _strayintr(SB); BYTE $0xC8
1152 CALL _strayintr(SB); BYTE $0xC9
1153 CALL _strayintr(SB); BYTE $0xCA
1154 CALL _strayintr(SB); BYTE $0xCB
1155 CALL _strayintr(SB); BYTE $0xCC
1156 CALL _strayintr(SB); BYTE $0xCD
1157 CALL _strayintr(SB); BYTE $0xCE
1158 CALL _strayintr(SB); BYTE $0xCF
1159 CALL _strayintr(SB); BYTE $0xD0
1160 CALL _strayintr(SB); BYTE $0xD1
1161 CALL _strayintr(SB); BYTE $0xD2
1162 CALL _strayintr(SB); BYTE $0xD3
1163 CALL _strayintr(SB); BYTE $0xD4
1164 CALL _strayintr(SB); BYTE $0xD5
1165 CALL _strayintr(SB); BYTE $0xD6
1166 CALL _strayintr(SB); BYTE $0xD7
1167 CALL _strayintr(SB); BYTE $0xD8
1168 CALL _strayintr(SB); BYTE $0xD9
1169 CALL _strayintr(SB); BYTE $0xDA
1170 CALL _strayintr(SB); BYTE $0xDB
1171 CALL _strayintr(SB); BYTE $0xDC
1172 CALL _strayintr(SB); BYTE $0xDD
1173 CALL _strayintr(SB); BYTE $0xDE
1174 CALL _strayintr(SB); BYTE $0xDF
1175 CALL _strayintr(SB); BYTE $0xE0
1176 CALL _strayintr(SB); BYTE $0xE1
1177 CALL _strayintr(SB); BYTE $0xE2
1178 CALL _strayintr(SB); BYTE $0xE3
1179 CALL _strayintr(SB); BYTE $0xE4
1180 CALL _strayintr(SB); BYTE $0xE5
1181 CALL _strayintr(SB); BYTE $0xE6
1182 CALL _strayintr(SB); BYTE $0xE7
1183 CALL _strayintr(SB); BYTE $0xE8
1184 CALL _strayintr(SB); BYTE $0xE9
1185 CALL _strayintr(SB); BYTE $0xEA
1186 CALL _strayintr(SB); BYTE $0xEB
1187 CALL _strayintr(SB); BYTE $0xEC
1188 CALL _strayintr(SB); BYTE $0xED
1189 CALL _strayintr(SB); BYTE $0xEE
1190 CALL _strayintr(SB); BYTE $0xEF
1191 CALL _strayintr(SB); BYTE $0xF0
1192 CALL _strayintr(SB); BYTE $0xF1
1193 CALL _strayintr(SB); BYTE $0xF2
1194 CALL _strayintr(SB); BYTE $0xF3
1195 CALL _strayintr(SB); BYTE $0xF4
1196 CALL _strayintr(SB); BYTE $0xF5
1197 CALL _strayintr(SB); BYTE $0xF6
1198 CALL _strayintr(SB); BYTE $0xF7
1199 CALL _strayintr(SB); BYTE $0xF8
1200 CALL _strayintr(SB); BYTE $0xF9
1201 CALL _strayintr(SB); BYTE $0xFA
1202 CALL _strayintr(SB); BYTE $0xFB
1203 CALL _strayintr(SB); BYTE $0xFC
1204 CALL _strayintr(SB); BYTE $0xFD
1205 CALL _strayintr(SB); BYTE $0xFE
1206 CALL _strayintr(SB); BYTE $0xFF