id
stringlengths
22
129
text
stringlengths
60
19.5k
arch
stringclasses
9 values
syntax
stringclasses
5 values
kind
stringclasses
4 values
repo
stringclasses
32 values
path
stringlengths
7
108
license
stringclasses
10 values
commit
stringlengths
40
40
source_host
stringclasses
1 value
category
stringclasses
15 values
source_url
stringlengths
85
192
line_start
int64
1
5.48k
line_end
int64
4
5.5k
NetBSD/src:sys/arch/x68k/x68k/locore.s:13
movl %sp@(22),%sp@- | and PC jbsr _C_LABEL(straytrap) | report addql #8,%sp | pop args moveml %sp@+,#0x0303 | restore regs jra _ASM_LABEL(rei) | all done ENTRY_NOPROFILE(trap0) clrl %sp@- | stack adjust count moveml #0xFFFF,%sp@- | save user registers movl %usp,%a0 | save the user SP movl %a0,%sp@(FR_...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
0451fe21aef9a5d06d7f27a351c5083b4dabd914
github
kernel
https://github.com/NetBSD/src/blob/0451fe21aef9a5d06d7f27a351c5083b4dabd914/sys/arch/x68k/x68k/locore.s
481
540
NetBSD/src:sys/arch/x68k/x68k/locore.s:14
*/ ENTRY_NOPROFILE(trace) clrl %sp@- | stack adjust count moveml #0xFFFF,%sp@- moveq #T_TRACE,%d0 | Check PSW and see what happen. | T=0 S=0 (should not happen) | T=1 S=0 trace trap from user mode | T=0 S=1 trace trap on a trap instruction | T=1 S=1 trace trap from system mode (kernel breakpoint) m...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
0451fe21aef9a5d06d7f27a351c5083b4dabd914
github
kernel
https://github.com/NetBSD/src/blob/0451fe21aef9a5d06d7f27a351c5083b4dabd914/sys/arch/x68k/x68k/locore.s
521
580
NetBSD/src:sys/arch/x68k/x68k/locore.s:15
| If were are not on tmpstk switch to it. | (so debugger can change the stack pointer) movl %a6,%d1 cmpl #_ASM_LABEL(tmpstk),%d1 jls Lbrkpt2 | already on tmpstk | Copy frame to the temporary stack movl %sp,%a0 | %a0=src lea _ASM_LABEL(tmpstk)-96,%a1 | %a1=dst movl %a1,%sp | %sp=new frame moveq #FR_SIZE,%...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
0451fe21aef9a5d06d7f27a351c5083b4dabd914
github
kernel
https://github.com/NetBSD/src/blob/0451fe21aef9a5d06d7f27a351c5083b4dabd914/sys/arch/x68k/x68k/locore.s
561
620
NetBSD/src:sys/arch/x68k/x68k/locore.s:16
#if 0 /* not needed on hp300 */ cmpl #0,%d0 | did ddb handle it? jne Lbrkpt3 | yes, done #endif #endif /* Sun 3 drops into PROM here. */ Lbrkpt3: | The stack pointer may have been modified, or | data below it modified (by kgdb push call), | so push the hardware frame at the current sp | before restoring regi...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
0451fe21aef9a5d06d7f27a351c5083b4dabd914
github
kernel
https://github.com/NetBSD/src/blob/0451fe21aef9a5d06d7f27a351c5083b4dabd914/sys/arch/x68k/x68k/locore.s
601
660
NetBSD/src:sys/arch/x68k/x68k/locore.s:17
jbsr _C_LABEL(intio_intr) addql #4,%sp CPUINFO_INCREMENT(CI_NINTR) INTERRUPT_RESTOREREG subql #1,_C_LABEL(intr_depth) jra rei ENTRY_NOPROFILE(lev1intr) ENTRY_NOPROFILE(lev2intr) ENTRY_NOPROFILE(lev3intr) ENTRY_NOPROFILE(lev4intr) ENTRY_NOPROFILE(lev5intr) ENTRY_NOPROFILE(lev6intr) addql #1,_C_LABEL(intr_depth) ...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
0451fe21aef9a5d06d7f27a351c5083b4dabd914
github
kernel
https://github.com/NetBSD/src/blob/0451fe21aef9a5d06d7f27a351c5083b4dabd914/sys/arch/x68k/x68k/locore.s
641
700
NetBSD/src:sys/arch/x68k/x68k/locore.s:18
ENTRY_NOPROFILE(lev7intr) addql #1,_C_LABEL(intr_depth) addql #1,_C_LABEL(intrcnt)+28 clrl %sp@- moveml #0xFFFF,%sp@- | save registers movl %usp,%a0 | and save movl %a0,%sp@(FR_SP) | the user stack pointer jbsr _C_LABEL(nmihand) | call handler movl %sp@(FR_SP),%a0 | restore movl %a0,%usp | user SP mo...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
0451fe21aef9a5d06d7f27a351c5083b4dabd914
github
kernel
https://github.com/NetBSD/src/blob/0451fe21aef9a5d06d7f27a351c5083b4dabd914/sys/arch/x68k/x68k/locore.s
681
740
NetBSD/src:sys/arch/x68k/x68k/locore.s:19
rte 1: btst #5,%sp@ | yes, are we returning to user mode? beq 2f | no, done rte 2: movw #PSL_LOWIPL,%sr | lower SPL clrl %sp@- | stack adjust moveml #0xFFFF,%sp@- | save all registers movl %usp,%a1 | including movl %a1,%sp@(FR_SP) | the users SP Lrei: clrl %sp@- | VA == none clrl %sp@- | code...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
0451fe21aef9a5d06d7f27a351c5083b4dabd914
github
kernel
https://github.com/NetBSD/src/blob/0451fe21aef9a5d06d7f27a351c5083b4dabd914/sys/arch/x68k/x68k/locore.s
721
780
NetBSD/src:sys/arch/x68k/x68k/locore.s:20
/* * Use common m68k process/lwp switch and context save subroutines. */ #define FPCOPROC /* XXX: Temp. reqd. */ #include <m68k/m68k/switch_subr.s> #if defined(M68040) || defined(M68060) ENTRY(suline) movl %sp@(4),%a0 | address to write movl _C_LABEL(curpcb),%a1 | current pcb movl #Lslerr,%a1@(PCB_ONFAULT) | wh...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
0451fe21aef9a5d06d7f27a351c5083b4dabd914
github
kernel
https://github.com/NetBSD/src/blob/0451fe21aef9a5d06d7f27a351c5083b4dabd914/sys/arch/x68k/x68k/locore.s
761
820
NetBSD/src:sys/arch/x68k/x68k/locore.s:21
rts /* * _delay(u_int N) * * Delay for at least N microseconds. * This routine depends on the variable: delay_divisor * which should be set based on the CPU clock rate. */ ENTRY_NOPROFILE(_delay) | %d0 = (usecs * a certain magnification factor) movl %sp@(4),%d0 lsll #8,%d0 | %d1 = delay_divisor movl _C_LAB...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
0451fe21aef9a5d06d7f27a351c5083b4dabd914
github
kernel
https://github.com/NetBSD/src/blob/0451fe21aef9a5d06d7f27a351c5083b4dabd914/sys/arch/x68k/x68k/locore.s
801
860
NetBSD/src:sys/arch/x68k/x68k/locore.s:22
Ldoboot0: #endif movc %d0,%cacr | disable on-chip cache(s) | ok, turn off MMU.. Ldoreboot: #if defined(M68040) || defined(M68060) tstl %d2 | 68040? jne LmotommuF | no, skip movc %a1,%cacr | caches off .long 0x4e7b9003 | movc a1(=0),tc ; disable MMU jra Ldoreboot1 LmotommuF: #endif clrl %sp@ pmove %sp@,%...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
0451fe21aef9a5d06d7f27a351c5083b4dabd914
github
kernel
https://github.com/NetBSD/src/blob/0451fe21aef9a5d06d7f27a351c5083b4dabd914/sys/arch/x68k/x68k/locore.s
841
900
NetBSD/src:sys/arch/x68k/x68k/locore.s:23
.long FPU_NONE GLOBAL(intiobase) .long 0 | KVA of base of internal IO space GLOBAL(intiolimit) .long 0 | KVA of end of internal IO space #ifdef DEBUG ASGLOBAL(fulltflush) .long 0 ASGLOBAL(fullcflush) .long 0 #endif /* interrupt counters */ GLOBAL(intrnames) .asciz "spur" .asciz "lev1" .asciz "lev2" .a...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
0451fe21aef9a5d06d7f27a351c5083b4dabd914
github
kernel
https://github.com/NetBSD/src/blob/0451fe21aef9a5d06d7f27a351c5083b4dabd914/sys/arch/x68k/x68k/locore.s
881
915
NetBSD/src:sys/arch/x68k/x68k/locore.s:8
movw %a0@,%d0 movw %d0,%d1 notw %d1 movw %d1,%a1@ movw %d0,%a0@ cmpw %a1@,%d1 | JUPITER-X? jne Ljupiterdone | no, skip movl #0x0100a240,%d0 | to access system register .long 0x4e7b0006 | movc %d0,%dtt0 movb #0x01,0x01800003 | set "SUPER" bit Ljupiterdone: #endif /* JUPITER */ moveq #0,%d0 | ensure TT re...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
441bbe544caaeb44e9588a47a909f6bfdb306a61
github
kernel
https://github.com/NetBSD/src/blob/441bbe544caaeb44e9588a47a909f6bfdb306a61/sys/arch/x68k/x68k/locore.s
281
340
NetBSD/src:sys/arch/x68k/x68k/locore.s:9
/* * Should be running mapped from this point on */ Lenab1: /* set vector base in virtual address */ movl #_C_LABEL(vectab),%d0 | set Vector Base Register movc %d0,%vbr lea _ASM_LABEL(tmpstk),%sp | temporary stack /* call final pmap setup */ jbsr _C_LABEL(pmap_bootstrap2) /* set kernel stack, user SP */ movl _C_...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
441bbe544caaeb44e9588a47a909f6bfdb306a61
github
kernel
https://github.com/NetBSD/src/blob/441bbe544caaeb44e9588a47a909f6bfdb306a61/sys/arch/x68k/x68k/locore.s
321
380
NetBSD/src:sys/arch/x68k/x68k/locore.s:10
jbsr _C_LABEL(x68k_init) | additional pre-main initialization /* * Create a fake exception frame so that cpu_lwp_fork() can copy it. * main() nevers returns; we exit to user mode from a forked process * later on. */ clrw %sp@- | vector offset/frame type clrl %sp@- | PC - filled in by "execve" movw #PSL_USER...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
441bbe544caaeb44e9588a47a909f6bfdb306a61
github
kernel
https://github.com/NetBSD/src/blob/441bbe544caaeb44e9588a47a909f6bfdb306a61/sys/arch/x68k/x68k/locore.s
361
420
NetBSD/src:sys/arch/x68k/x68k/locore.s:11
jmp _ASM_LABEL(fpsp_unimp) | yes, go handle it #else clrl %sp@- | stack adjust count moveml #0xFFFF,%sp@- | save registers moveq #T_FPEMULI,%d0 | denote as FP emulation trap jra _ASM_LABEL(fault) | do it #endif Lfp_unimp: #endif /* M68040 */ #ifdef FPU_EMULATE clrl %sp@- | stack adjust count moveml #0xFFFF,...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
441bbe544caaeb44e9588a47a909f6bfdb306a61
github
kernel
https://github.com/NetBSD/src/blob/441bbe544caaeb44e9588a47a909f6bfdb306a61/sys/arch/x68k/x68k/locore.s
401
460
NetBSD/src:sys/arch/x68k/x68k/locore.s:12
/* * Handles all other FP coprocessor exceptions. * Note that since some FP exceptions generate mid-instruction frames * and may cause signal delivery, we need to test for stack adjustment * after the trap call. */ ENTRY_NOPROFILE(fpfault) clrl %sp@- | stack adjust count moveml #0xFFFF,%sp@- | save user regis...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
441bbe544caaeb44e9588a47a909f6bfdb306a61
github
kernel
https://github.com/NetBSD/src/blob/441bbe544caaeb44e9588a47a909f6bfdb306a61/sys/arch/x68k/x68k/locore.s
441
500
NetBSD/src:sys/arch/x68k/x68k/locore.s:13
clrw %sp@- movl %sp@(22),%sp@- | and PC jbsr _C_LABEL(straytrap) | report addql #8,%sp | pop args moveml %sp@+,#0x0303 | restore regs jra _ASM_LABEL(rei) | all done ENTRY_NOPROFILE(trap0) clrl %sp@- | stack adjust count moveml #0xFFFF,%sp@- | save user registers movl %usp,%a0 | save the user SP movl ...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
441bbe544caaeb44e9588a47a909f6bfdb306a61
github
kernel
https://github.com/NetBSD/src/blob/441bbe544caaeb44e9588a47a909f6bfdb306a61/sys/arch/x68k/x68k/locore.s
481
540
NetBSD/src:sys/arch/x68k/x68k/locore.s:16
addql #8,%sp | pop args #if 0 /* not needed on hp300 */ cmpl #0,%d0 | did ddb handle it? jne Lbrkpt3 | yes, done #endif #endif /* Sun 3 drops into PROM here. */ Lbrkpt3: | The stack pointer may have been modified, or | data below it modified (by kgdb push call), | so push the hardware frame at the current s...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
441bbe544caaeb44e9588a47a909f6bfdb306a61
github
kernel
https://github.com/NetBSD/src/blob/441bbe544caaeb44e9588a47a909f6bfdb306a61/sys/arch/x68k/x68k/locore.s
601
660
NetBSD/src:sys/arch/x68k/x68k/locore.s:17
pea %sp@(16-(FR_HW)) | XXX jbsr _C_LABEL(intio_intr) addql #4,%sp CPUINFO_INCREMENT(CI_NINTR) INTERRUPT_RESTOREREG subql #1,_C_LABEL(intr_depth) jra rei ENTRY_NOPROFILE(lev1intr) ENTRY_NOPROFILE(lev2intr) ENTRY_NOPROFILE(lev3intr) ENTRY_NOPROFILE(lev4intr) ENTRY_NOPROFILE(lev5intr) ENTRY_NOPROFILE(lev6intr) add...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
441bbe544caaeb44e9588a47a909f6bfdb306a61
github
kernel
https://github.com/NetBSD/src/blob/441bbe544caaeb44e9588a47a909f6bfdb306a61/sys/arch/x68k/x68k/locore.s
641
700
NetBSD/src:sys/arch/x68k/x68k/locore.s:18
jra _ASM_LABEL(rei) | all done ENTRY_NOPROFILE(lev7intr) addql #1,_C_LABEL(intr_depth) addql #1,_C_LABEL(intrcnt)+28 clrl %sp@- moveml #0xFFFF,%sp@- | save registers movl %usp,%a0 | and save movl %a0,%sp@(FR_SP) | the user stack pointer jbsr _C_LABEL(nmihand) | call handler movl %sp@(FR_SP),%a0 | restor...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
441bbe544caaeb44e9588a47a909f6bfdb306a61
github
kernel
https://github.com/NetBSD/src/blob/441bbe544caaeb44e9588a47a909f6bfdb306a61/sys/arch/x68k/x68k/locore.s
681
740
NetBSD/src:sys/arch/x68k/x68k/locore.s:19
jne 1f | no, done rte 1: btst #5,%sp@ | yes, are we returning to user mode? beq 2f | no, done rte 2: movw #PSL_LOWIPL,%sr | lower SPL clrl %sp@- | stack adjust moveml #0xFFFF,%sp@- | save all registers movl %usp,%a1 | including movl %a1,%sp@(FR_SP) | the users SP Lrei: clrl %sp@- | VA == none...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
441bbe544caaeb44e9588a47a909f6bfdb306a61
github
kernel
https://github.com/NetBSD/src/blob/441bbe544caaeb44e9588a47a909f6bfdb306a61/sys/arch/x68k/x68k/locore.s
721
780
NetBSD/src:sys/arch/x68k/x68k/locore.s:20
*/ /* * Use common m68k process/lwp switch and context save subroutines. */ #define FPCOPROC /* XXX: Temp. reqd. */ #include <m68k/m68k/switch_subr.s> #if defined(M68040) || defined(M68060) ENTRY(suline) movl %sp@(4),%a0 | address to write movl _C_LABEL(curpcb),%a1 | current pcb movl #Lslerr,%a1@(PCB_ONFAULT) ...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
441bbe544caaeb44e9588a47a909f6bfdb306a61
github
kernel
https://github.com/NetBSD/src/blob/441bbe544caaeb44e9588a47a909f6bfdb306a61/sys/arch/x68k/x68k/locore.s
761
820
NetBSD/src:sys/arch/x68k/x68k/locore.s:21
ENTRY(ecacheoff) rts /* * _delay(u_int N) * * Delay for at least N microseconds. * This routine depends on the variable: delay_divisor * which should be set based on the CPU clock rate. */ ENTRY_NOPROFILE(_delay) | %d0 = (usecs * a certain magnification factor) movl %sp@(4),%d0 lsll #8,%d0 | %d1 = delay_di...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
441bbe544caaeb44e9588a47a909f6bfdb306a61
github
kernel
https://github.com/NetBSD/src/blob/441bbe544caaeb44e9588a47a909f6bfdb306a61/sys/arch/x68k/x68k/locore.s
801
860
NetBSD/src:sys/arch/x68k/x68k/locore.s:22
movl #CACHE40_OFF,%d0 Ldoboot0: #endif movc %d0,%cacr | disable on-chip cache(s) | ok, turn off MMU.. Ldoreboot: #if defined(M68040) || defined(M68060) tstl %d2 | 68040? jne LmotommuF | no, skip movc %a1,%cacr | caches off .long 0x4e7b9003 | movc a1(=0),tc ; disable MMU jra Ldoreboot1 LmotommuF: #endif c...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
441bbe544caaeb44e9588a47a909f6bfdb306a61
github
kernel
https://github.com/NetBSD/src/blob/441bbe544caaeb44e9588a47a909f6bfdb306a61/sys/arch/x68k/x68k/locore.s
841
900
NetBSD/src:sys/arch/x68k/x68k/locore.s:23
GLOBAL(fputype) .long FPU_NONE GLOBAL(intiobase) .long 0 | KVA of base of internal IO space GLOBAL(intiolimit) .long 0 | KVA of end of internal IO space #ifdef DEBUG ASGLOBAL(fulltflush) .long 0 ASGLOBAL(fullcflush) .long 0 #endif /* interrupt counters */ GLOBAL(intrnames) .asciz "spur" .asciz "lev1" ...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
441bbe544caaeb44e9588a47a909f6bfdb306a61
github
kernel
https://github.com/NetBSD/src/blob/441bbe544caaeb44e9588a47a909f6bfdb306a61/sys/arch/x68k/x68k/locore.s
881
916
NetBSD/src:sys/arch/x68k/x68k/locore.s:8
movw %a0@,%d0 movw %d0,%d1 notw %d1 movw %d1,%a1@ movw %d0,%a0@ cmpw %a1@,%d1 | JUPITER-X? jne Ljupiterdone | no, skip movl #0x0100a240,%d0 | to access system register .long 0x4e7b0006 | movc %d0,%dtt0 movb #0x01,0x01800003 | set "SUPER" bit Ljupiterdone: #endif /* JUPITER */ moveq #0,%d0 | ensure TT re...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
8469df929f4af7108beb12d564f7f89318e711ff
github
kernel
https://github.com/NetBSD/src/blob/8469df929f4af7108beb12d564f7f89318e711ff/sys/arch/x68k/x68k/locore.s
281
340
NetBSD/src:sys/arch/x68k/x68k/locore.s:9
/* * Should be running mapped from this point on */ Lenab1: /* set vector base in virtual address */ movl #_C_LABEL(vectab),%d0 | set Vector Base Register movc %d0,%vbr lea _ASM_LABEL(tmpstk),%sp | temporary stack /* call final pmap setup */ jbsr _C_LABEL(pmap_bootstrap_finalize) /* set kernel stack, user SP */ ...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
8469df929f4af7108beb12d564f7f89318e711ff
github
kernel
https://github.com/NetBSD/src/blob/8469df929f4af7108beb12d564f7f89318e711ff/sys/arch/x68k/x68k/locore.s
321
380
NetBSD/src:sys/arch/x68k/x68k/locore.s:3
* table and is hence at 0x400 (see reset vector in vectors.s). */ PANIC("kernel jump to zero") /* NOTREACHED */ /* * Macro to relocate a symbol, used before MMU is enabled. */ #define _RELOC(var, ar) \ lea var,ar; \ addl %a5,ar #define RELOC(var, ar) _RELOC(_C_LABEL(var), ar) #define ASRELOC(var, ar) _REL...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
a07f32d2341a407d3d4bb9773f485fe1110dcb2d
github
kernel
https://github.com/NetBSD/src/blob/a07f32d2341a407d3d4bb9773f485fe1110dcb2d/sys/arch/x68k/x68k/locore.s
81
140
NetBSD/src:sys/arch/x68k/x68k/locore.s:4
RELOC(vectab,%a0) | set Vector Base Register temporaly movc %a0,%vbr #if 0 /* XXX this should be done by the boot loader */ RELOC(edata, %a0) | clear out BSS movl #_C_LABEL(end)-4,%d0 | (must be <= 256 kB) subl #_C_LABEL(edata),%d0 lsrl #2,%d0 1: clrl %a0@+ dbra %d0,1b #endif ASRELOC(tmpstk, %a0) movl %a0,%...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
a07f32d2341a407d3d4bb9773f485fe1110dcb2d
github
kernel
https://github.com/NetBSD/src/blob/a07f32d2341a407d3d4bb9773f485fe1110dcb2d/sys/arch/x68k/x68k/locore.s
121
180
NetBSD/src:sys/arch/x68k/x68k/locore.s:17
pea %sp@(16-(FR_HW)) | XXX jbsr _C_LABEL(intio_intr) addql #4,%sp CPUINFO_INCREMENT(CI_NINTR) INTERRUPT_RESTOREREG subql #1,_C_LABEL(intr_depth) jra rei ENTRY_NOPROFILE(lev1intr) ENTRY_NOPROFILE(lev2intr) ENTRY_NOPROFILE(lev3intr) ENTRY_NOPROFILE(lev4intr) ENTRY_NOPROFILE(lev5intr) ENTRY_NOPROFILE(lev6intr) add...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
36f542a77b0de48a486f9f4c524ca47e469d17b5
github
kernel
https://github.com/NetBSD/src/blob/36f542a77b0de48a486f9f4c524ca47e469d17b5/sys/arch/x68k/x68k/locore.s
641
700
NetBSD/src:sys/arch/x68k/x68k/locore.s:18
subql #1,_C_LABEL(intr_depth) jra _ASM_LABEL(rei) | all done ENTRY_NOPROFILE(lev7intr) addql #1,_C_LABEL(intr_depth) addql #1,_C_LABEL(intrcnt)+28 clrl %sp@- moveml #0xFFFF,%sp@- | save registers movl %usp,%a0 | and save movl %a0,%sp@(FR_SP) | the user stack pointer jbsr _C_LABEL(nmihand) | call handler ...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
36f542a77b0de48a486f9f4c524ca47e469d17b5
github
kernel
https://github.com/NetBSD/src/blob/36f542a77b0de48a486f9f4c524ca47e469d17b5/sys/arch/x68k/x68k/locore.s
681
740
NetBSD/src:sys/arch/x68k/x68k/locore.s:19
tstl _C_LABEL(astpending) | AST pending? jne 1f | no, done rte 1: btst #5,%sp@ | yes, are we returning to user mode? beq 2f | no, done rte 2: movw #PSL_LOWIPL,%sr | lower SPL clrl %sp@- | stack adjust moveml #0xFFFF,%sp@- | save all registers movl %usp,%a1 | including movl %a1,%sp@(FR_SP) | the...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
36f542a77b0de48a486f9f4c524ca47e469d17b5
github
kernel
https://github.com/NetBSD/src/blob/36f542a77b0de48a486f9f4c524ca47e469d17b5/sys/arch/x68k/x68k/locore.s
721
780
NetBSD/src:sys/arch/x68k/x68k/locore.s:20
* Primitives */ /* * Use common m68k process/lwp switch and context save subroutines. */ #define FPCOPROC /* XXX: Temp. reqd. */ #include <m68k/m68k/switch_subr.s> #if defined(M68040) || defined(M68060) ENTRY(suline) movl %sp@(4),%a0 | address to write movl _C_LABEL(curpcb),%a1 | current pcb movl #Lslerr,%a1@...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
36f542a77b0de48a486f9f4c524ca47e469d17b5
github
kernel
https://github.com/NetBSD/src/blob/36f542a77b0de48a486f9f4c524ca47e469d17b5/sys/arch/x68k/x68k/locore.s
761
820
NetBSD/src:sys/arch/x68k/x68k/locore.s:21
ENTRY(ecacheoff) rts /* * _delay(u_int N) * * Delay for at least N microseconds. * This routine depends on the variable: delay_divisor * which should be set based on the CPU clock rate. */ ENTRY_NOPROFILE(_delay) | %d0 = (usecs * a certain magnification factor) movl %sp@(4),%d0 lsll #8,%d0 | %d1 = delay_di...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
36f542a77b0de48a486f9f4c524ca47e469d17b5
github
kernel
https://github.com/NetBSD/src/blob/36f542a77b0de48a486f9f4c524ca47e469d17b5/sys/arch/x68k/x68k/locore.s
801
860
NetBSD/src:sys/arch/x68k/x68k/locore.s:22
nop movl #CACHE40_OFF,%d0 Ldoboot0: #endif movc %d0,%cacr | disable on-chip cache(s) | ok, turn off MMU.. Ldoreboot: #if defined(M68040) || defined(M68060) tstl %d2 | 68040? jne LmotommuF | no, skip movc %a1,%cacr | caches off .long 0x4e7b9003 | movc a1(=0),tc ; disable MMU jra Ldoreboot1 LmotommuF: #end...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
36f542a77b0de48a486f9f4c524ca47e469d17b5
github
kernel
https://github.com/NetBSD/src/blob/36f542a77b0de48a486f9f4c524ca47e469d17b5/sys/arch/x68k/x68k/locore.s
841
900
NetBSD/src:sys/arch/x68k/x68k/locore.s:16
addql #8,%sp | pop args #if 0 /* not needed on hp300 */ cmpl #0,%d0 | did ddb handle it? jne Lbrkpt3 | yes, done #endif #endif /* Sun 3 drops into PROM here. */ Lbrkpt3: | The stack pointer may have been modified, or | data below it modified (by kgdb push call), | so push the hardware frame at the current s...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
6279c1e992621a887496dc9278adf6ed8aff06c5
github
kernel
https://github.com/NetBSD/src/blob/6279c1e992621a887496dc9278adf6ed8aff06c5/sys/arch/x68k/x68k/locore.s
601
660
NetBSD/src:sys/arch/x68k/x68k/locore.s:17
pea %sp@(16-(FR_HW)) | XXX jbsr _C_LABEL(intio_intr) addql #4,%sp CPUINFO_INCREMENT(CI_NINTR) INTERRUPT_RESTOREREG subql #1,_C_LABEL(idepth) jra rei ENTRY_NOPROFILE(lev1intr) ENTRY_NOPROFILE(lev2intr) ENTRY_NOPROFILE(lev3intr) ENTRY_NOPROFILE(lev4intr) ENTRY_NOPROFILE(lev5intr) ENTRY_NOPROFILE(lev6intr) addql #...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
6279c1e992621a887496dc9278adf6ed8aff06c5
github
kernel
https://github.com/NetBSD/src/blob/6279c1e992621a887496dc9278adf6ed8aff06c5/sys/arch/x68k/x68k/locore.s
641
700
NetBSD/src:sys/arch/x68k/x68k/locore.s:18
subql #1,_C_LABEL(idepth) jra _ASM_LABEL(rei) | all done ENTRY_NOPROFILE(lev7intr) addql #1,_C_LABEL(idepth) addql #1,_C_LABEL(intrcnt)+28 clrl %sp@- moveml #0xFFFF,%sp@- | save registers movl %usp,%a0 | and save movl %a0,%sp@(FR_SP) | the user stack pointer jbsr _C_LABEL(nmihand) | call handler movl %s...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
6279c1e992621a887496dc9278adf6ed8aff06c5
github
kernel
https://github.com/NetBSD/src/blob/6279c1e992621a887496dc9278adf6ed8aff06c5/sys/arch/x68k/x68k/locore.s
681
740
NetBSD/src:sys/arch/x68k/x68k/locore.s:19
tstl _C_LABEL(astpending) | AST pending? jne 1f | no, done rte 1: btst #5,%sp@ | yes, are we returning to user mode? beq 2f | no, done rte 2: movw #PSL_LOWIPL,%sr | lower SPL clrl %sp@- | stack adjust moveml #0xFFFF,%sp@- | save all registers movl %usp,%a1 | including movl %a1,%sp@(FR_SP) | the...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
c935f8294f8dbedb30d0ac8738963ee40ec9a39a
github
kernel
https://github.com/NetBSD/src/blob/c935f8294f8dbedb30d0ac8738963ee40ec9a39a/sys/arch/x68k/x68k/locore.s
721
780
NetBSD/src:sys/arch/x68k/x68k/locore.s:20
* Use common m68k sigcode. */ #include <m68k/m68k/sigcode.s> #ifdef COMPAT_SUNOS #include <m68k/m68k/sunos_sigcode.s> #endif /* * Primitives */ /* * Use common m68k process/lwp switch and context save subroutines. */ #define FPCOPROC /* XXX: Temp. reqd. */ #include <m68k/m68k/switch_subr.s> #if defined(M68040)...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
c935f8294f8dbedb30d0ac8738963ee40ec9a39a
github
kernel
https://github.com/NetBSD/src/blob/c935f8294f8dbedb30d0ac8738963ee40ec9a39a/sys/arch/x68k/x68k/locore.s
761
820
NetBSD/src:sys/arch/x68k/x68k/locore.s:21
Lsldone: movl _C_LABEL(curpcb),%a1 | current pcb clrl %a1@(PCB_ONFAULT) | clear fault address rts #endif ENTRY(ecacheon) rts ENTRY(ecacheoff) rts /* * _delay(u_int N) * * Delay for at least N microseconds. * This routine depends on the variable: delay_divisor * which should be set based on the CPU clock r...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
c935f8294f8dbedb30d0ac8738963ee40ec9a39a
github
kernel
https://github.com/NetBSD/src/blob/c935f8294f8dbedb30d0ac8738963ee40ec9a39a/sys/arch/x68k/x68k/locore.s
801
860
NetBSD/src:sys/arch/x68k/x68k/locore.s:22
subal %a1,%a1 | a1 = 0 movl #CACHE_OFF,%d0 #if defined(M68040) || defined(M68060) movl _C_LABEL(mmutype),%d2 | d2 = mmutype addl #(-1 * MMU_68040),%d2 | 68040? jne Ldoboot0 | no, skip .word 0xf4f8 | cpusha bc - push and invalidate caches nop movl #CACHE40_OFF,%d0 Ldoboot0: #endif movc %d0,%cacr | disabl...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
c935f8294f8dbedb30d0ac8738963ee40ec9a39a
github
kernel
https://github.com/NetBSD/src/blob/c935f8294f8dbedb30d0ac8738963ee40ec9a39a/sys/arch/x68k/x68k/locore.s
841
900
NetBSD/src:sys/arch/x68k/x68k/locore.s:23
GLOBAL(cputype) .long CPU_68030 | default to 68030 CPU #ifdef M68K_MMU_HP GLOBAL(ectype) .long EC_NONE | external cache type, default to none #endif GLOBAL(fputype) .long FPU_NONE GLOBAL(intiobase) .long 0 | KVA of base of internal IO space GLOBAL(intiolimit) .long 0 | KVA of end of internal IO space #...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
c935f8294f8dbedb30d0ac8738963ee40ec9a39a
github
kernel
https://github.com/NetBSD/src/blob/c935f8294f8dbedb30d0ac8738963ee40ec9a39a/sys/arch/x68k/x68k/locore.s
881
925
NetBSD/src:sys/arch/x68k/x68k/locore.s:16
addql #8,%sp | pop args #if 0 /* not needed on hp300 */ cmpl #0,%d0 | did ddb handle it? jne Lbrkpt3 | yes, done #endif #endif /* Sun 3 drops into PROM here. */ Lbrkpt3: | The stack pointer may have been modified, or | data below it modified (by kgdb push call), | so push the hardware frame at the current s...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
703d1d4836bbf6504f494e94d6287e898624ade1
github
kernel
https://github.com/NetBSD/src/blob/703d1d4836bbf6504f494e94d6287e898624ade1/sys/arch/x68k/x68k/locore.s
601
660
NetBSD/src:sys/arch/x68k/x68k/locore.s:17
ENTRY_NOPROFILE(intiotrap) addql #1,_C_LABEL(idepth) INTERRUPT_SAVEREG pea %sp@(16-(FR_HW)) | XXX jbsr _C_LABEL(intio_intr) addql #4,%sp CPUINFO_INCREMENT(CI_NINTR) INTERRUPT_RESTOREREG subql #1,_C_LABEL(idepth) jra rei ENTRY_NOPROFILE(lev1intr) ENTRY_NOPROFILE(lev2intr) ENTRY_NOPROFILE(lev3intr) ENTRY_NOPROF...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
703d1d4836bbf6504f494e94d6287e898624ade1
github
kernel
https://github.com/NetBSD/src/blob/703d1d4836bbf6504f494e94d6287e898624ade1/sys/arch/x68k/x68k/locore.s
641
700
NetBSD/src:sys/arch/x68k/x68k/locore.s:18
addql #4,%sp CPUINFO_INCREMENT(CI_NINTR) | chalk up another interrupt INTERRUPT_RESTOREREG | restore scratch registers subql #1,_C_LABEL(idepth) jra _ASM_LABEL(rei) | all done ENTRY_NOPROFILE(lev7intr) addql #1,_C_LABEL(idepth) addql #1,_C_LABEL(intrcnt)+28 clrl %sp@- moveml #0xFFFF,%sp@- | save registers ...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
703d1d4836bbf6504f494e94d6287e898624ade1
github
kernel
https://github.com/NetBSD/src/blob/703d1d4836bbf6504f494e94d6287e898624ade1/sys/arch/x68k/x68k/locore.s
681
740
NetBSD/src:sys/arch/x68k/x68k/locore.s:19
*/ ASENTRY_NOPROFILE(rei) tstl _C_LABEL(astpending) | AST pending? jne 1f | no, done rte 1: btst #5,%sp@ | yes, are we returning to user mode? beq 2f | no, done rte 2: movw #PSL_LOWIPL,%sr | lower SPL clrl %sp@- | stack adjust moveml #0xFFFF,%sp@- | save all registers movl %usp,%a1 | including mo...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
703d1d4836bbf6504f494e94d6287e898624ade1
github
kernel
https://github.com/NetBSD/src/blob/703d1d4836bbf6504f494e94d6287e898624ade1/sys/arch/x68k/x68k/locore.s
721
780
NetBSD/src:sys/arch/x68k/x68k/locore.s:20
rte | and do real RTE /* * Use common m68k sigcode. */ #include <m68k/m68k/sigcode.s> #ifdef COMPAT_SUNOS #include <m68k/m68k/sunos_sigcode.s> #endif /* * Primitives */ /* * Use common m68k process/lwp switch and context save subroutines. */ #define FPCOPROC /* XXX: Temp. reqd. */ #include <m68k/m68k/switch...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
703d1d4836bbf6504f494e94d6287e898624ade1
github
kernel
https://github.com/NetBSD/src/blob/703d1d4836bbf6504f494e94d6287e898624ade1/sys/arch/x68k/x68k/locore.s
761
820
NetBSD/src:sys/arch/x68k/x68k/locore.s:22
*/ ENTRY_NOPROFILE(doboot) movw #PSL_HIGHIPL,%sr | cut off any interrupts subal %a1,%a1 | a1 = 0 movl #CACHE_OFF,%d0 #if defined(M68040) || defined(M68060) movl _C_LABEL(mmutype),%d2 | d2 = mmutype addl #(-1 * MMU_68040),%d2 | 68040? jne Ldoboot0 | no, skip .word 0xf4f8 | cpusha bc - push and invalidate c...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
703d1d4836bbf6504f494e94d6287e898624ade1
github
kernel
https://github.com/NetBSD/src/blob/703d1d4836bbf6504f494e94d6287e898624ade1/sys/arch/x68k/x68k/locore.s
841
900
NetBSD/src:sys/arch/x68k/x68k/locore.s:23
.data GLOBAL(mmutype) .long MMU_68030 | default to 030 internal MMU GLOBAL(cputype) .long CPU_68030 | default to 68030 CPU #ifdef M68K_MMU_HP GLOBAL(ectype) .long EC_NONE | external cache type, default to none #endif GLOBAL(fputype) .long FPU_NONE GLOBAL(intiobase) .long 0 | KVA of base of internal IO sp...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
703d1d4836bbf6504f494e94d6287e898624ade1
github
kernel
https://github.com/NetBSD/src/blob/703d1d4836bbf6504f494e94d6287e898624ade1/sys/arch/x68k/x68k/locore.s
881
928
NetBSD/src:sys/arch/x68k/x68k/locore.s:19
*/ ASENTRY_NOPROFILE(rei) tstl _C_LABEL(astpending) | AST pending? jne 1f | no, done rte 1: btst #5,%sp@ | yes, are we returning to user mode? beq 2f | no, done rte 2: movw #PSL_LOWIPL,%sr | lower SPL clrl %sp@- | stack adjust moveml #0xFFFF,%sp@- | save all registers movl %usp,%a1 | including mo...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
219483d9ac8b4beb5e84ee761625f29ac41f0242
github
kernel
https://github.com/NetBSD/src/blob/219483d9ac8b4beb5e84ee761625f29ac41f0242/sys/arch/x68k/x68k/locore.s
721
780
NetBSD/src:sys/arch/x68k/x68k/locore.s:20
rte | and do real RTE /* * Use common m68k sigcode. */ #include <m68k/m68k/sigcode.s> #ifdef COMPAT_SUNOS #include <m68k/m68k/sunos_sigcode.s> #endif /* * Primitives */ /* * Use common m68k support routines. */ #include <m68k/m68k/support.s> /* * Use common m68k process/lwp switch and context save subrout...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
219483d9ac8b4beb5e84ee761625f29ac41f0242
github
kernel
https://github.com/NetBSD/src/blob/219483d9ac8b4beb5e84ee761625f29ac41f0242/sys/arch/x68k/x68k/locore.s
761
820
NetBSD/src:sys/arch/x68k/x68k/locore.s:22
* Basically we just turn off the MMU and jump to the appropriate ROM routine. * Note that we must be running in an address range that is mapped one-to-one * logical to physical so that the PC is still valid immediately after the MMU * is turned off. We have conveniently mapped the last page of physical * memory th...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
219483d9ac8b4beb5e84ee761625f29ac41f0242
github
kernel
https://github.com/NetBSD/src/blob/219483d9ac8b4beb5e84ee761625f29ac41f0242/sys/arch/x68k/x68k/locore.s
841
900
NetBSD/src:sys/arch/x68k/x68k/locore.s:23
Lebootcode: /* * Misc. global variables. */ .data GLOBAL(mmutype) .long MMU_68030 | default to 030 internal MMU GLOBAL(cputype) .long CPU_68030 | default to 68030 CPU #ifdef M68K_MMU_HP GLOBAL(ectype) .long EC_NONE | external cache type, default to none #endif GLOBAL(fputype) .long FPU_NONE GLOBAL(intio...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
219483d9ac8b4beb5e84ee761625f29ac41f0242
github
kernel
https://github.com/NetBSD/src/blob/219483d9ac8b4beb5e84ee761625f29ac41f0242/sys/arch/x68k/x68k/locore.s
881
933
NetBSD/src:sys/arch/x68k/x68k/locore.s:24
.asciz "lev3" .asciz "lev4" .asciz "lev5" .asciz "lev6" .asciz "nmi" .asciz "clock" .asciz "com" GLOBAL(eintrnames) .even GLOBAL(intrcnt) .long 0,0,0,0,0,0,0,0,0,0 GLOBAL(eintrcnt)
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
219483d9ac8b4beb5e84ee761625f29ac41f0242
github
kernel
https://github.com/NetBSD/src/blob/219483d9ac8b4beb5e84ee761625f29ac41f0242/sys/arch/x68k/x68k/locore.s
921
933
NetBSD/src:sys/arch/x68k/x68k/locore.s:7
Lstart3: RELOC(setmemrange,%a0) | call setmemrange() jbsr %a0@ | to probe all memory regions addl #PAGE_SIZE-1,%d5 andl #PG_FRAME,%d5 | round to a page movl %d5,%a4 addl %a5,%a4 | convert to PA pea %a5@ | firstpa pea %a4@ | nextpa RELOC(pmap_bootstrap,%a0) jbsr %a0@ | pmap_bootstrap(firstpa, next...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
e697980812a414790d0f92bfc363722df6302a00
github
kernel
https://github.com/NetBSD/src/blob/e697980812a414790d0f92bfc363722df6302a00/sys/arch/x68k/x68k/locore.s
241
300
NetBSD/src:sys/arch/x68k/x68k/locore.s:8
lea 0x02c00000,%a1 | %a1: graphic VRAM ( not JUPITER-X ) | DRAM ( JUPITER-X ) movw %a0@,%d0 movw %d0,%d1 notw %d1 movw %d1,%a1@ movw %d0,%a0@ cmpw %a1@,%d1 | JUPITER-X? jne Ljupiterdone | no, skip movl #0x0100a240,%d0 | to access system register .long 0x4e7b0006 | movc %d0,%dtt0 movb #0x01,0x01...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
e697980812a414790d0f92bfc363722df6302a00
github
kernel
https://github.com/NetBSD/src/blob/e697980812a414790d0f92bfc363722df6302a00/sys/arch/x68k/x68k/locore.s
281
340
NetBSD/src:sys/arch/x68k/x68k/locore.s:9
pmove %sp@,%tc | load it /* * Should be running mapped from this point on */ Lenab1: /* set vector base in virtual address */ movl #_C_LABEL(vectab),%d0 | set Vector Base Register movc %d0,%vbr lea _ASM_LABEL(tmpstk),%sp | temporary stack /* call final pmap setup */ jbsr _C_LABEL(pmap_bootstrap_finalize) /* set...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
e697980812a414790d0f92bfc363722df6302a00
github
kernel
https://github.com/NetBSD/src/blob/e697980812a414790d0f92bfc363722df6302a00/sys/arch/x68k/x68k/locore.s
321
380
NetBSD/src:sys/arch/x68k/x68k/locore.s:10
movl %d7,_C_LABEL(boothowto) | save reboot flags movl %d6,_C_LABEL(bootdev) | and boot device jbsr _C_LABEL(x68k_init) | additional pre-main initialization /* * Create a fake exception frame so that cpu_lwp_fork() can copy it. * main() nevers returns; we exit to user mode from a forked process * later on. */ ...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
e697980812a414790d0f92bfc363722df6302a00
github
kernel
https://github.com/NetBSD/src/blob/e697980812a414790d0f92bfc363722df6302a00/sys/arch/x68k/x68k/locore.s
361
420
NetBSD/src:sys/arch/x68k/x68k/locore.s:11
jne _C_LABEL(illinst) | no, not an FP emulation #ifdef FPSP jmp _ASM_LABEL(fpsp_unimp) | yes, go handle it #else clrl %sp@- | stack adjust count moveml #0xFFFF,%sp@- | save registers moveq #T_FPEMULI,%d0 | denote as FP emulation trap jra _ASM_LABEL(fault) | do it #endif Lfp_unimp: #endif /* M68040 */ #ifdef FP...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
e697980812a414790d0f92bfc363722df6302a00
github
kernel
https://github.com/NetBSD/src/blob/e697980812a414790d0f92bfc363722df6302a00/sys/arch/x68k/x68k/locore.s
401
460
NetBSD/src:sys/arch/x68k/x68k/locore.s:12
jra _C_LABEL(illinst) #endif /* * Handles all other FP coprocessor exceptions. * Note that since some FP exceptions generate mid-instruction frames * and may cause signal delivery, we need to test for stack adjustment * after the trap call. */ ENTRY_NOPROFILE(fpfault) clrl %sp@- | stack adjust count moveml #0...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
e697980812a414790d0f92bfc363722df6302a00
github
kernel
https://github.com/NetBSD/src/blob/e697980812a414790d0f92bfc363722df6302a00/sys/arch/x68k/x68k/locore.s
441
500
NetBSD/src:sys/arch/x68k/x68k/locore.s:16
movl %d2,%sp@- | push trap type jbsr _C_LABEL(kdb_trap) | handle the trap addql #8,%sp | pop args #if 0 /* not needed on hp300 */ cmpl #0,%d0 | did ddb handle it? jne Lbrkpt3 | yes, done #endif #endif /* Sun 3 drops into PROM here. */ Lbrkpt3: | The stack pointer may have been modified, or | data below it...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
e697980812a414790d0f92bfc363722df6302a00
github
kernel
https://github.com/NetBSD/src/blob/e697980812a414790d0f92bfc363722df6302a00/sys/arch/x68k/x68k/locore.s
601
660
NetBSD/src:sys/arch/x68k/x68k/locore.s:17
rte ENTRY_NOPROFILE(intiotrap) addql #1,_C_LABEL(idepth) INTERRUPT_SAVEREG pea %sp@(16-(FR_HW)) | XXX jbsr _C_LABEL(intio_intr) addql #4,%sp CPUINFO_INCREMENT(CI_NINTR) INTERRUPT_RESTOREREG subql #1,_C_LABEL(idepth) jra rei ENTRY_NOPROFILE(lev1intr) ENTRY_NOPROFILE(lev2intr) ENTRY_NOPROFILE(lev3intr) ENTRY_N...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
e697980812a414790d0f92bfc363722df6302a00
github
kernel
https://github.com/NetBSD/src/blob/e697980812a414790d0f92bfc363722df6302a00/sys/arch/x68k/x68k/locore.s
641
700
NetBSD/src:sys/arch/x68k/x68k/locore.s:18
movl %a1,%sp@- jbsr _C_LABEL(hardclock) | hardclock(&frame) addql #4,%sp CPUINFO_INCREMENT(CI_NINTR) | chalk up another interrupt INTERRUPT_RESTOREREG | restore scratch registers subql #1,_C_LABEL(idepth) jra _ASM_LABEL(rei) | all done ENTRY_NOPROFILE(lev7intr) addql #1,_C_LABEL(idepth) addql #1,_C_LABEL(int...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
e697980812a414790d0f92bfc363722df6302a00
github
kernel
https://github.com/NetBSD/src/blob/e697980812a414790d0f92bfc363722df6302a00/sys/arch/x68k/x68k/locore.s
681
740
NetBSD/src:sys/arch/x68k/x68k/locore.s:19
* This code is complicated by the fact that sendsig may have been called * necessitating a stack cleanup. */ ASENTRY_NOPROFILE(rei) tstl _C_LABEL(astpending) | AST pending? jne 1f | no, done rte 1: btst #5,%sp@ | yes, are we returning to user mode? beq 2f | no, done rte 2: movw #PSL_LOWIPL,%sr | lower ...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
e697980812a414790d0f92bfc363722df6302a00
github
kernel
https://github.com/NetBSD/src/blob/e697980812a414790d0f92bfc363722df6302a00/sys/arch/x68k/x68k/locore.s
721
780
NetBSD/src:sys/arch/x68k/x68k/locore.s:20
moveml %sp@+,#0x7FFF | restore user registers movl %sp@,%sp | and our SP rte | and do real RTE /* * Use common m68k sigcode. */ #include <m68k/m68k/sigcode.s> #ifdef COMPAT_SUNOS #include <m68k/m68k/sunos_sigcode.s> #endif /* * Primitives */ /* * Use common m68k support routines. */ #include <m68k/m68k/...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
e697980812a414790d0f92bfc363722df6302a00
github
kernel
https://github.com/NetBSD/src/blob/e697980812a414790d0f92bfc363722df6302a00/sys/arch/x68k/x68k/locore.s
761
820
NetBSD/src:sys/arch/x68k/x68k/locore.s:21
movl %a1@+,%d0 | get lword movsl %d0,%a0@+ | put lword nop | sync movl %a1@+,%d0 | get lword movsl %d0,%a0@+ | put lword nop | sync moveq #0,%d0 | indicate no fault jra Lsldone Lslerr: moveq #-1,%d0 Lsldone: movl _C_LABEL(curpcb),%a1 | current pcb clrl %a1@(PCB_ONFAULT) | clear fault address rts ...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
e697980812a414790d0f92bfc363722df6302a00
github
kernel
https://github.com/NetBSD/src/blob/e697980812a414790d0f92bfc363722df6302a00/sys/arch/x68k/x68k/locore.s
801
860
NetBSD/src:sys/arch/x68k/x68k/locore.s:22
/* * Handle the nitty-gritty of rebooting the machine. * Basically we just turn off the MMU and jump to the appropriate ROM routine. * Note that we must be running in an address range that is mapped one-to-one * logical to physical so that the PC is still valid immediately after the MMU * is turned off. We have c...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
e697980812a414790d0f92bfc363722df6302a00
github
kernel
https://github.com/NetBSD/src/blob/e697980812a414790d0f92bfc363722df6302a00/sys/arch/x68k/x68k/locore.s
841
900
NetBSD/src:sys/arch/x68k/x68k/locore.s:23
movc %a1,%vbr | reset Vector Base Register jmp %a0@ | reboot X680x0 Lebootcode: /* * Misc. global variables. */ .data GLOBAL(mmutype) .long MMU_68030 | default to 030 internal MMU GLOBAL(cputype) .long CPU_68030 | default to 68030 CPU #ifdef M68K_MMU_HP GLOBAL(ectype) .long EC_NONE | external cache typ...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
e697980812a414790d0f92bfc363722df6302a00
github
kernel
https://github.com/NetBSD/src/blob/e697980812a414790d0f92bfc363722df6302a00/sys/arch/x68k/x68k/locore.s
881
935
NetBSD/src:sys/arch/x68k/x68k/locore.s:24
.asciz "lev1" .asciz "lev2" .asciz "lev3" .asciz "lev4" .asciz "lev5" .asciz "lev6" .asciz "nmi" .asciz "clock" .asciz "com" GLOBAL(eintrnames) .even GLOBAL(intrcnt) .long 0,0,0,0,0,0,0,0,0,0 GLOBAL(eintrcnt)
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
e697980812a414790d0f92bfc363722df6302a00
github
kernel
https://github.com/NetBSD/src/blob/e697980812a414790d0f92bfc363722df6302a00/sys/arch/x68k/x68k/locore.s
921
935
NetBSD/src:sys/arch/x68k/x68k/locore.s:21
movl %a1@+,%d0 | get lword movsl %d0,%a0@+ | put lword nop | sync movl %a1@+,%d0 | get lword movsl %d0,%a0@+ | put lword nop | sync moveq #0,%d0 | indicate no fault jra Lsldone Lslerr: moveq #-1,%d0 Lsldone: movl _C_LABEL(curpcb),%a1 | current pcb clrl %a1@(PCB_ONFAULT) | clear fault address rts ...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
57e14be5bf657a1488cafaf634721e305e9fa776
github
kernel
https://github.com/NetBSD/src/blob/57e14be5bf657a1488cafaf634721e305e9fa776/sys/arch/x68k/x68k/locore.s
801
860
NetBSD/src:sys/arch/x68k/x68k/locore.s:22
rts LmotommuC: #endif pflusha | flush entire TLB lea _C_LABEL(protorp),%a0 | CRP prototype movl %d0,%a0@(4) | stash USTP pmove %a0@,%crp | load root pointer movl #CACHE_CLR,%d0 movc %d0,%cacr | invalidate cache(s) rts /* * _delay(u_int N) * * Delay for at least N microseconds. * This routine depends o...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
57e14be5bf657a1488cafaf634721e305e9fa776
github
kernel
https://github.com/NetBSD/src/blob/57e14be5bf657a1488cafaf634721e305e9fa776/sys/arch/x68k/x68k/locore.s
841
900
NetBSD/src:sys/arch/x68k/x68k/locore.s:23
movl #CACHE_OFF,%d0 #if defined(M68040) || defined(M68060) movl _C_LABEL(mmutype),%d2 | d2 = mmutype addl #(-1 * MMU_68040),%d2 | 68040? jne Ldoboot0 | no, skip .word 0xf4f8 | cpusha bc - push and invalidate caches nop movl #CACHE40_OFF,%d0 Ldoboot0: #endif movc %d0,%cacr | disable on-chip cache(s) | ok, ...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
57e14be5bf657a1488cafaf634721e305e9fa776
github
kernel
https://github.com/NetBSD/src/blob/57e14be5bf657a1488cafaf634721e305e9fa776/sys/arch/x68k/x68k/locore.s
881
940
NetBSD/src:sys/arch/x68k/x68k/locore.s:24
GLOBAL(cputype) .long CPU_68030 | default to 68030 CPU #ifdef M68K_MMU_HP GLOBAL(ectype) .long EC_NONE | external cache type, default to none #endif GLOBAL(fputype) .long FPU_NONE GLOBAL(protorp) .long 0,0 | prototype root pointer GLOBAL(intiobase) .long 0 | KVA of base of internal IO space GLOBAL(inti...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
57e14be5bf657a1488cafaf634721e305e9fa776
github
kernel
https://github.com/NetBSD/src/blob/57e14be5bf657a1488cafaf634721e305e9fa776/sys/arch/x68k/x68k/locore.s
921
967
NetBSD/src:sys/arch/x68k/x68k/locore.s:21
movl %a1@+,%d0 | get lword movsl %d0,%a0@+ | put lword nop | sync movl %a1@+,%d0 | get lword movsl %d0,%a0@+ | put lword nop | sync moveq #0,%d0 | indicate no fault jra Lsldone Lslerr: moveq #-1,%d0 Lsldone: movl _C_LABEL(curpcb),%a1 | current pcb clrl %a1@(PCB_ONFAULT) | clear fault address rts ...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
ee2bbf4b98f5cd0a656bbceaf4ed33a05c104849
github
kernel
https://github.com/NetBSD/src/blob/ee2bbf4b98f5cd0a656bbceaf4ed33a05c104849/sys/arch/x68k/x68k/locore.s
801
860
NetBSD/src:sys/arch/x68k/x68k/locore.s:22
rts LmotommuC: #endif pflusha | flush entire TLB lea _C_LABEL(protorp),%a0 | CRP prototype movl %d0,%a0@(4) | stash USTP pmove %a0@,%crp | load root pointer movl #CACHE_CLR,%d0 movc %d0,%cacr | invalidate cache(s) rts /* * _delay(u_int N) * * Delay for at least (N/256) microseconds. * This routine dep...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
ee2bbf4b98f5cd0a656bbceaf4ed33a05c104849
github
kernel
https://github.com/NetBSD/src/blob/ee2bbf4b98f5cd0a656bbceaf4ed33a05c104849/sys/arch/x68k/x68k/locore.s
841
900
NetBSD/src:sys/arch/x68k/x68k/locore.s:23
movl #CACHE_OFF,%d0 #if defined(M68040) || defined(M68060) movl _C_LABEL(mmutype),%d2 | d2 = mmutype addl #(-1 * MMU_68040),%d2 | 68040? jne Ldoboot0 | no, skip .word 0xf4f8 | cpusha bc - push and invalidate caches nop movl #CACHE40_OFF,%d0 Ldoboot0: #endif movc %d0,%cacr | disable on-chip cache(s) | ok, ...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
ee2bbf4b98f5cd0a656bbceaf4ed33a05c104849
github
kernel
https://github.com/NetBSD/src/blob/ee2bbf4b98f5cd0a656bbceaf4ed33a05c104849/sys/arch/x68k/x68k/locore.s
881
940
NetBSD/src:sys/arch/x68k/x68k/locore.s:24
.long CPU_68030 | default to 68030 CPU #ifdef M68K_MMU_HP GLOBAL(ectype) .long EC_NONE | external cache type, default to none #endif GLOBAL(fputype) .long FPU_NONE GLOBAL(protorp) .long 0,0 | prototype root pointer GLOBAL(intiobase) .long 0 | KVA of base of internal IO space GLOBAL(intiolimit) .long 0 ...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
ee2bbf4b98f5cd0a656bbceaf4ed33a05c104849
github
kernel
https://github.com/NetBSD/src/blob/ee2bbf4b98f5cd0a656bbceaf4ed33a05c104849/sys/arch/x68k/x68k/locore.s
921
966
NetBSD/src:sys/arch/x68k/x68k/locore.s:7
Lstart3: RELOC(setmemrange,%a0) | call setmemrange() jbsr %a0@ | to probe all memory regions addl #PAGE_SIZE-1,%d5 andl #PG_FRAME,%d5 | round to a page movl %d5,%a4 addl %a5,%a4 | convert to PA pea %a5@ | firstpa pea %a4@ | nextpa RELOC(pmap_bootstrap,%a0) jbsr %a0@ | pmap_bootstrap(firstpa, next...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
2fe4d0e57eacb14a9b7849d46a14f190ce7cbcc0
github
kernel
https://github.com/NetBSD/src/blob/2fe4d0e57eacb14a9b7849d46a14f190ce7cbcc0/sys/arch/x68k/x68k/locore.s
241
300
NetBSD/src:sys/arch/x68k/x68k/locore.s:8
lea 0x02c00000,%a1 | %a1: graphic VRAM ( not JUPITER-X ) | DRAM ( JUPITER-X ) movw %a0@,%d0 movw %d0,%d1 notw %d1 movw %d1,%a1@ movw %d0,%a0@ cmpw %a1@,%d1 | JUPITER-X? jne Ljupiterdone | no, skip movl #0x0100a240,%d0 | to access system register .long 0x4e7b0006 | movc %d0,%dtt0 movb #0x01,0x01...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
2fe4d0e57eacb14a9b7849d46a14f190ce7cbcc0
github
kernel
https://github.com/NetBSD/src/blob/2fe4d0e57eacb14a9b7849d46a14f190ce7cbcc0/sys/arch/x68k/x68k/locore.s
281
340
NetBSD/src:sys/arch/x68k/x68k/locore.s:9
jmp Lenab1 Lmotommu2: pflusha #if PGSHIFT == 13 movl #0x82d08b00,%sp@- | value to load TC with #else movl #0x82c0aa00,%sp@- | value to load TC with #endif pmove %sp@,%tc | load it /* * Should be running mapped from this point on */ Lenab1: /* set vector base in virtual address */ movl #_C_LABEL(vectab),%d0 | s...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
2fe4d0e57eacb14a9b7849d46a14f190ce7cbcc0
github
kernel
https://github.com/NetBSD/src/blob/2fe4d0e57eacb14a9b7849d46a14f190ce7cbcc0/sys/arch/x68k/x68k/locore.s
321
380
NetBSD/src:sys/arch/x68k/x68k/locore.s:10
jpl Lenab3 | 68851 implies no d-cache movl #CACHE_ON,%d0 movc %d0,%cacr | clear cache(s) jra Lenab3 Ltbia040: .word 0xf518 | pflusha Lenab3: /* final setup for C code */ movl %d7,_C_LABEL(boothowto) | save reboot flags movl %d6,_C_LABEL(bootdev) | and boot device jbsr _C_LABEL(x68k_init) | additional pre-...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
2fe4d0e57eacb14a9b7849d46a14f190ce7cbcc0
github
kernel
https://github.com/NetBSD/src/blob/2fe4d0e57eacb14a9b7849d46a14f190ce7cbcc0/sys/arch/x68k/x68k/locore.s
361
420
NetBSD/src:sys/arch/x68k/x68k/locore.s:11
/* * FP exceptions. */ ENTRY_NOPROFILE(fpfline) #if defined(M68040) cmpl #FPU_68040,_C_LABEL(fputype) | 68040 FPU? jne Lfp_unimp | no, skip FPSP cmpw #0x202c,%sp@(6) | format type 2? jne _C_LABEL(illinst) | no, not an FP emulation #ifdef FPSP jmp _ASM_LABEL(fpsp_unimp) | yes, go handle it #else clrl %sp@- |...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
2fe4d0e57eacb14a9b7849d46a14f190ce7cbcc0
github
kernel
https://github.com/NetBSD/src/blob/2fe4d0e57eacb14a9b7849d46a14f190ce7cbcc0/sys/arch/x68k/x68k/locore.s
401
460
NetBSD/src:sys/arch/x68k/x68k/locore.s:12
Lfp_unsupp: #endif #ifdef FPU_EMULATE clrl %sp@- | stack adjust count moveml #0xFFFF,%sp@- | save registers moveq #T_FPEMULD,%d0 | denote as FP emulation trap jra _ASM_LABEL(fault) | do it #else jra _C_LABEL(illinst) #endif /* * Handles all other FP coprocessor exceptions. * Note that since some FP exceptio...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
2fe4d0e57eacb14a9b7849d46a14f190ce7cbcc0
github
kernel
https://github.com/NetBSD/src/blob/2fe4d0e57eacb14a9b7849d46a14f190ce7cbcc0/sys/arch/x68k/x68k/locore.s
441
500
NetBSD/src:sys/arch/x68k/x68k/locore.s:16
jbsr _C_LABEL(kgdb_trap) | handle the trap addql #8,%sp | pop args cmpl #0,%d0 | did kgdb handle it? jne Lbrkpt3 | yes, done #endif #ifdef DDB | Let DDB handle it movl %a2,%sp@- | push frame ptr movl %d2,%sp@- | push trap type jbsr _C_LABEL(kdb_trap) | handle the trap addql #8,%sp | pop args #if 0 /* ...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
2fe4d0e57eacb14a9b7849d46a14f190ce7cbcc0
github
kernel
https://github.com/NetBSD/src/blob/2fe4d0e57eacb14a9b7849d46a14f190ce7cbcc0/sys/arch/x68k/x68k/locore.s
601
660
NetBSD/src:sys/arch/x68k/x68k/locore.s:17
ENTRY_NOPROFILE(spurintr) /* level 0 */ addql #1,_C_LABEL(intrcnt)+0 INTERRUPT_SAVEREG CPUINFO_INCREMENT(CI_NINTR) INTERRUPT_RESTOREREG rte | XXX mfpcure (x680x0 hardware bug) ENTRY_NOPROFILE(kbdtimer) rte ENTRY_NOPROFILE(intiotrap) addql #1,_C_LABEL(idepth) INTERRUPT_SAVEREG pea %sp@(16-(FR_HW)) | XXX j...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
2fe4d0e57eacb14a9b7849d46a14f190ce7cbcc0
github
kernel
https://github.com/NetBSD/src/blob/2fe4d0e57eacb14a9b7849d46a14f190ce7cbcc0/sys/arch/x68k/x68k/locore.s
641
700
NetBSD/src:sys/arch/x68k/x68k/locore.s:18
subql #1,_C_LABEL(idepth) jra _ASM_LABEL(rei) ENTRY_NOPROFILE(timertrap) addql #1,_C_LABEL(idepth) INTERRUPT_SAVEREG | save scratch registers addql #1,_C_LABEL(intrcnt)+32 | count hardclock interrupts lea %sp@(16),%a1 | a1 = &clockframe movl %a1,%sp@- jbsr _C_LABEL(hardclock) | hardclock(&frame) addql #4,%sp...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
2fe4d0e57eacb14a9b7849d46a14f190ce7cbcc0
github
kernel
https://github.com/NetBSD/src/blob/2fe4d0e57eacb14a9b7849d46a14f190ce7cbcc0/sys/arch/x68k/x68k/locore.s
681
740
NetBSD/src:sys/arch/x68k/x68k/locore.s:19
* * This code deals with checking for and servicing ASTs * (profiling, scheduling) and software interrupts (network, softclock). * We check for ASTs first, just like the VAX. To avoid excess overhead * the T_ASTFLT handling code will also check for software interrupts so we * do not have to do it here. After ide...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
2fe4d0e57eacb14a9b7849d46a14f190ce7cbcc0
github
kernel
https://github.com/NetBSD/src/blob/2fe4d0e57eacb14a9b7849d46a14f190ce7cbcc0/sys/arch/x68k/x68k/locore.s
721
780
NetBSD/src:sys/arch/x68k/x68k/locore.s:20
Laststkadj: lea %sp@(FR_HW),%a1 | pointer to HW frame addql #8,%a1 | source pointer movl %a1,%a0 | source addw %d0,%a0 | + hole size = dest pointer movl %a1@-,%a0@- | copy movl %a1@-,%a0@- | 8 bytes movl %a0,%sp@(FR_SP) | new SSP moveml %sp@+,#0x7FFF | restore user registers movl %sp@,%sp | and o...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
2fe4d0e57eacb14a9b7849d46a14f190ce7cbcc0
github
kernel
https://github.com/NetBSD/src/blob/2fe4d0e57eacb14a9b7849d46a14f190ce7cbcc0/sys/arch/x68k/x68k/locore.s
761
820
NetBSD/src:sys/arch/x68k/x68k/locore.s:21
movl #Lslerr,%a1@(PCB_ONFAULT) | where to return to on a fault movl %sp@(8),%a1 | address of line movl %a1@+,%d0 | get lword movsl %d0,%a0@+ | put lword nop | sync movl %a1@+,%d0 | get lword movsl %d0,%a0@+ | put lword nop | sync movl %a1@+,%d0 | get lword movsl %d0,%a0@+ | put lword nop | syn...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
2fe4d0e57eacb14a9b7849d46a14f190ce7cbcc0
github
kernel
https://github.com/NetBSD/src/blob/2fe4d0e57eacb14a9b7849d46a14f190ce7cbcc0/sys/arch/x68k/x68k/locore.s
801
860
NetBSD/src:sys/arch/x68k/x68k/locore.s:22
#ifdef M68060 cmpl #CPU_68060,_C_LABEL(cputype) jne Lldno60 movc %cacr,%d0 orl #IC60_CUBC,%d0 | clear user branch cache entries movc %d0,%cacr Lldno60: #endif rts LmotommuC: #endif pflusha | flush entire TLB lea _C_LABEL(protorp),%a0 | CRP prototype movl %d0,%a0@(4) | stash USTP pmove %a0@,%crp | load r...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
2fe4d0e57eacb14a9b7849d46a14f190ce7cbcc0
github
kernel
https://github.com/NetBSD/src/blob/2fe4d0e57eacb14a9b7849d46a14f190ce7cbcc0/sys/arch/x68k/x68k/locore.s
841
900
NetBSD/src:sys/arch/x68k/x68k/locore.s:23
* logical to physical so that the PC is still valid immediately after the MMU * is turned off. We have conveniently mapped the last page of physical * memory this way. */ ENTRY_NOPROFILE(doboot) movw #PSL_HIGHIPL,%sr | cut off any interrupts subal %a1,%a1 | a1 = 0 movl #CACHE_OFF,%d0 #if defined(M68040) || de...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
2fe4d0e57eacb14a9b7849d46a14f190ce7cbcc0
github
kernel
https://github.com/NetBSD/src/blob/2fe4d0e57eacb14a9b7849d46a14f190ce7cbcc0/sys/arch/x68k/x68k/locore.s
881
940
NetBSD/src:sys/arch/x68k/x68k/locore.s:24
/* * Misc. global variables. */ .data GLOBAL(mmutype) .long MMU_68030 | default to 030 internal MMU GLOBAL(cputype) .long CPU_68030 | default to 68030 CPU #ifdef M68K_MMU_HP GLOBAL(ectype) .long EC_NONE | external cache type, default to none #endif GLOBAL(fputype) .long FPU_NONE GLOBAL(protorp) .long 0,...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
2fe4d0e57eacb14a9b7849d46a14f190ce7cbcc0
github
kernel
https://github.com/NetBSD/src/blob/2fe4d0e57eacb14a9b7849d46a14f190ce7cbcc0/sys/arch/x68k/x68k/locore.s
921
974
NetBSD/src:sys/arch/x68k/x68k/locore.s:21
movl #Lslerr,%a1@(PCB_ONFAULT) | where to return to on a fault movl %sp@(8),%a1 | address of line movl %a1@+,%d0 | get lword movsl %d0,%a0@+ | put lword nop | sync movl %a1@+,%d0 | get lword movsl %d0,%a0@+ | put lword nop | sync movl %a1@+,%d0 | get lword movsl %d0,%a0@+ | put lword nop | syn...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
ea86bfe41b5abacf4dbbbada9eb32fe8ee66804b
github
kernel
https://github.com/NetBSD/src/blob/ea86bfe41b5abacf4dbbbada9eb32fe8ee66804b/sys/arch/x68k/x68k/locore.s
801
860
NetBSD/src:sys/arch/x68k/x68k/locore.s:22
#ifdef M68060 cmpl #CPU_68060,_C_LABEL(cputype) jne Lldno60 movc %cacr,%d0 orl #IC60_CUBC,%d0 | clear user branch cache entries movc %d0,%cacr Lldno60: #endif rts LmotommuC: #endif pflusha | flush entire TLB lea _C_LABEL(protorp),%a0 | CRP prototype movl %d0,%a0@(4) | stash USTP pmove %a0@,%crp | load r...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
ea86bfe41b5abacf4dbbbada9eb32fe8ee66804b
github
kernel
https://github.com/NetBSD/src/blob/ea86bfe41b5abacf4dbbbada9eb32fe8ee66804b/sys/arch/x68k/x68k/locore.s
841
900
NetBSD/src:sys/arch/x68k/x68k/locore.s:23
movl %sp@(4),%d0 | %d1 = delay_divisor movl _C_LABEL(delay_divisor),%d1 L_delay: subl %d1,%d0 jgt L_delay rts /* * Handle the nitty-gritty of rebooting the machine. * Basically we just turn off the MMU and jump to the appropriate ROM routine. * Note that we must be running in an address range that is mapped on...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
ea86bfe41b5abacf4dbbbada9eb32fe8ee66804b
github
kernel
https://github.com/NetBSD/src/blob/ea86bfe41b5abacf4dbbbada9eb32fe8ee66804b/sys/arch/x68k/x68k/locore.s
881
940
NetBSD/src:sys/arch/x68k/x68k/locore.s:24
LmotommuF: #endif clrl %sp@ pmove %sp@,%tc | disable MMU Ldoreboot1: moveml 0x00ff0000,#0x0101 | get RESET vectors in ROM | (d0: ssp, a0: pc) moveml #0x0101,%a1@ | put them at 0x0000 (for Xellent30) movc %a1,%vbr | reset Vector Base Register jmp %a0@ | reboot X680x0 Lebootcode: /* * Misc. global varia...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
ea86bfe41b5abacf4dbbbada9eb32fe8ee66804b
github
kernel
https://github.com/NetBSD/src/blob/ea86bfe41b5abacf4dbbbada9eb32fe8ee66804b/sys/arch/x68k/x68k/locore.s
921
980
NetBSD/src:sys/arch/x68k/x68k/locore.s:21
movl #Lslerr,%a1@(PCB_ONFAULT) | where to return to on a fault movl %sp@(8),%a1 | address of line movl %a1@+,%d0 | get lword movsl %d0,%a0@+ | put lword nop | sync movl %a1@+,%d0 | get lword movsl %d0,%a0@+ | put lword nop | sync movl %a1@+,%d0 | get lword movsl %d0,%a0@+ | put lword nop | syn...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
156c51b999fb090a08a5116ec1d4f1d416027993
github
kernel
https://github.com/NetBSD/src/blob/156c51b999fb090a08a5116ec1d4f1d416027993/sys/arch/x68k/x68k/locore.s
801
860
NetBSD/src:sys/arch/x68k/x68k/locore.s:22
.word 0xf518 | yes, pflusha .long 0x4e7b0806 | movc %d0,%urp #ifdef M68060 cmpl #CPU_68060,_C_LABEL(cputype) jne Lldno60 movc %cacr,%d0 orl #IC60_CUBC,%d0 | clear user branch cache entries movc %d0,%cacr Lldno60: #endif rts LmotommuC: #endif pflusha | flush entire TLB lea _C_LABEL(protorp),%a0 | CRP pro...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
156c51b999fb090a08a5116ec1d4f1d416027993
github
kernel
https://github.com/NetBSD/src/blob/156c51b999fb090a08a5116ec1d4f1d416027993/sys/arch/x68k/x68k/locore.s
841
900
NetBSD/src:sys/arch/x68k/x68k/locore.s:23
ENTRY_NOPROFILE(_delay) | %d0 = arg = (usecs << 8) movl %sp@(4),%d0 | %d1 = delay_divisor movl _C_LABEL(delay_divisor),%d1 L_delay: subl %d1,%d0 jgt L_delay rts /* * Handle the nitty-gritty of rebooting the machine. * Basically we just turn off the MMU and jump to the appropriate ROM routine. * Note that we ...
x86_64
gas-like
handwritten
NetBSD/src
sys/arch/x68k/x68k/locore.s
BSD-2-Clause
156c51b999fb090a08a5116ec1d4f1d416027993
github
kernel
https://github.com/NetBSD/src/blob/156c51b999fb090a08a5116ec1d4f1d416027993/sys/arch/x68k/x68k/locore.s
881
940