Lines Matching +full:mode +full:- +full:bootloader
14 #include <asm/asm-offsets.h>
45 /************************ 32-bit real-mode calls ***********************/
59 STREG %rp, -RP_OFFSET(%sp) /* save RP */
63 STREG %r27, -1*REG_SZ(%sp)
64 STREG %r29, -2*REG_SZ(%sp)
66 STREG %sp, -REG_SZ(%arg0) /* save SP on real-mode stack */
67 copy %arg0, %sp /* adopt the real-mode SP */
73 /* 32-bit calling convention passes first 4 args in registers */
75 ldw -8(%arg1), %arg2
76 ldw -12(%arg1), %arg3
77 ldw -4(%arg1), %arg1 /* obviously must do this one last! */
106 LDREG -REG_SZ(%sp), %sp /* restore SP */
108 LDREG -1*REG_SZ(%sp), %r27
109 LDREG -2*REG_SZ(%sp), %r29
110 ldo -2*REG_SZ(%sp), %sp
113 LDREG -RP_OFFSET(%sp), %rp /* restore RP */
120 # define POP_CR(r, where) LDREG,mb -REG_SZ(where), %r1 ! mtctl %r1, r
154 * more general-purpose use by the several places which need RFIs
159 #if !defined(BOOTLOADER)
160 /* switch to real mode... */
189 #endif /* defined(BOOTLOADER) */
197 #if !defined(BOOTLOADER)
226 #endif /* defined(BOOTLOADER) */
233 /************************ 64-bit real-mode calls ***********************/
244 std %rp, -0x10(%sp) /* save RP */
245 std %sp, -8(%arg0) /* save SP on real-mode stack */
246 copy %arg0, %sp /* adopt the real-mode SP */
255 /* 32-bit calling convention passes first 4 args in registers */
285 ldd -8(%sp), %sp /* restore SP */
286 ldd -0x10(%sp), %rp /* restore RP */
294 /* http://lists.parisc-linux.org/hypermail/parisc-linux/10916.html