Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   1) /* SPDX-License-Identifier: GPL-2.0-only */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   2) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   3)  * Early kernel startup code for Hexagon
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   4)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   5)  * Copyright (c) 2010-2013, The Linux Foundation. All rights reserved.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   6)  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   7) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   8) #include <linux/linkage.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   9) #include <linux/init.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  10) #include <asm/asm-offsets.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  11) #include <asm/mem-layout.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  12) #include <asm/vm_mmu.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  13) #include <asm/page.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  14) #include <asm/hexagon_vm.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  15) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  16) #define SEGTABLE_ENTRIES #0x0e0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  17) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  18) 	__INIT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  19) ENTRY(stext)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  20) 	/*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  21) 	 * VMM will already have set up true vector page, MMU, etc.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  22) 	 * To set up initial kernel identity map, we have to pass
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  23) 	 * the VMM a pointer to some canonical page tables. In
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  24) 	 * this implementation, we're assuming that we've got
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  25) 	 * them precompiled. Generate value in R24, as we'll need
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  26) 	 * it again shortly.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  27) 	 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  28) 	r24.L = #LO(swapper_pg_dir)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  29) 	r24.H = #HI(swapper_pg_dir)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  30) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  31) 	/*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  32) 	 * Symbol is kernel segment address, but we need
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  33) 	 * the logical/physical address.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  34) 	 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  35) 	r25 = pc;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  36) 	r2.h = #0xffc0;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  37) 	r2.l = #0x0000;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  38) 	r25 = and(r2,r25);	/*  R25 holds PHYS_OFFSET now  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  39) 	r1.h = #HI(PAGE_OFFSET);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  40) 	r1.l = #LO(PAGE_OFFSET);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  41) 	r24 = sub(r24,r1);	/* swapper_pg_dir - PAGE_OFFSET */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  42) 	r24 = add(r24,r25);	/* + PHYS_OFFSET */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  43) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  44) 	r0 = r24;  /* aka __pa(swapper_pg_dir)  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  45) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  46) 	/*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  47) 	 * Initialize page dir to make the virtual and physical
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  48) 	 * addresses where the kernel was loaded be identical.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  49) 	 * Done in 4MB chunks.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  50) 	 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  51) #define PTE_BITS ( __HVM_PTE_R | __HVM_PTE_W | __HVM_PTE_X	\
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  52) 		  | __HEXAGON_C_WB_L2 << 6			\
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  53) 		  | __HVM_PDE_S_4MB)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  54) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  55) 	/*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  56) 	 * Get number of VA=PA entries; only really needed for jump
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  57) 	 * to hyperspace; gets blown away immediately after
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  58) 	 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  59) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  60) 	{
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  61) 		r1.l = #LO(_end);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  62) 		r2.l = #LO(stext);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  63) 		r3 = #1;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  64) 	}
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  65) 	{
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  66) 		r1.h = #HI(_end);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  67) 		r2.h = #HI(stext);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  68) 		r3 = asl(r3, #22);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  69) 	}
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  70) 	{
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  71) 		r1 = sub(r1, r2);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  72) 		r3 = add(r3, #-1);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  73) 	}  /* r1 =  _end - stext  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  74) 	r1 = add(r1, r3);  /*  + (4M-1) */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  75) 	r26 = lsr(r1, #22); /*  / 4M = # of entries */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  76) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  77) 	r1 = r25;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  78) 	r2.h = #0xffc0;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  79) 	r2.l = #0x0000;		/* round back down to 4MB boundary  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  80) 	r1 = and(r1,r2);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  81) 	r2 = lsr(r1, #22)	/* 4MB page number		*/
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  82) 	r2 = asl(r2, #2)	/* times sizeof(PTE) (4bytes)	*/
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  83) 	r0 = add(r0,r2)		/* r0 = address of correct PTE	*/
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  84) 	r2 = #PTE_BITS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  85) 	r1 = add(r1,r2)		/* r1 = 4MB PTE for the first entry	*/
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  86) 	r2.h = #0x0040
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  87) 	r2.l = #0x0000		/* 4MB increments */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  88) 	loop0(1f,r26);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  89) 1:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  90) 	memw(r0 ++ #4) = r1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  91) 	{ r1 = add(r1, r2); } :endloop0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  92) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  93) 	/*  Also need to overwrite the initial 0xc0000000 entries  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  94) 	/*  PAGE_OFFSET >> (4MB shift - 4 bytes per entry shift)  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  95) 	R1.H = #HI(PAGE_OFFSET >> (22 - 2))
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  96) 	R1.L = #LO(PAGE_OFFSET >> (22 - 2))
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  97) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  98) 	r0 = add(r1, r24);	/* advance to 0xc0000000 entry */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  99) 	r1 = r25;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 100) 	r2.h = #0xffc0;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 101) 	r2.l = #0x0000;		/* round back down to 4MB boundary  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 102) 	r1 = and(r1,r2);	/* for huge page */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 103) 	r2 = #PTE_BITS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 104) 	r1 = add(r1,r2);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 105) 	r2.h = #0x0040
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 106) 	r2.l = #0x0000		/* 4MB increments */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 107) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 108) 	loop0(1f,SEGTABLE_ENTRIES);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 109) 1:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 110) 	memw(r0 ++ #4) = r1;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 111) 	{ r1 = add(r1,r2); } :endloop0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 112) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 113) 	r0 = r24;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 114) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 115) 	/*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 116) 	 * The subroutine wrapper around the virtual instruction touches
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 117) 	 * no memory, so we should be able to use it even here.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 118) 	 * Note that in this version, R1 and R2 get "clobbered"; see
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 119) 	 * vm_ops.S
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 120) 	 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 121) 	r1 = #VM_TRANS_TYPE_TABLE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 122) 	call	__vmnewmap;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 123) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 124) 	/*  Jump into virtual address range.  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 125) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 126) 	r31.h = #hi(__head_s_vaddr_target)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 127) 	r31.l = #lo(__head_s_vaddr_target)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 128) 	jumpr r31
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 129) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 130) 	/*  Insert trippy space effects.  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 131) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 132) __head_s_vaddr_target:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 133) 	/*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 134) 	 * Tear down VA=PA translation now that we are running
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 135) 	 * in kernel virtual space.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 136) 	 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 137) 	r0 = #__HVM_PDE_S_INVALID
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 138) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 139) 	r1.h = #0xffc0;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 140) 	r1.l = #0x0000;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 141) 	r2 = r25;		/* phys_offset */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 142) 	r2 = and(r1,r2);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 143) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 144) 	r1.l = #lo(swapper_pg_dir)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 145) 	r1.h = #hi(swapper_pg_dir)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 146) 	r2 = lsr(r2, #22)	/* 4MB page number		*/
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 147) 	r2 = asl(r2, #2)	/* times sizeof(PTE) (4bytes)	*/
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 148) 	r1 = add(r1,r2);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 149) 	loop0(1f,r26)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 150) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 151) 1:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 152) 	{
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 153) 		memw(R1 ++ #4) = R0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 154) 	}:endloop0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 155) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 156) 	r0 = r24
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 157) 	r1 = #VM_TRANS_TYPE_TABLE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 158) 	call __vmnewmap
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 159) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 160) 	/*  Go ahead and install the trap0 return so angel calls work  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 161) 	r0.h = #hi(_K_provisional_vec)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 162) 	r0.l = #lo(_K_provisional_vec)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 163) 	call __vmsetvec
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 164) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 165) 	/*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 166) 	 * OK, at this point we should start to be much more careful,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 167) 	 * we're going to enter C code and start touching memory
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 168) 	 * in all sorts of places.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 169) 	 * This means:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 170) 	 *      SGP needs to be OK
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 171) 	 *	Need to lock shared resources
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 172) 	 *	A bunch of other things that will cause
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 173) 	 * 	all kinds of painful bugs
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 174) 	 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 175) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 176) 	/*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 177) 	 * Stack pointer should be pointed at the init task's
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 178) 	 * thread stack, which should have been declared in arch/init_task.c.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 179) 	 * So uhhhhh...
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 180) 	 * It's accessible via the init_thread_union, which is a union
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 181) 	 * of a thread_info struct and a stack; of course, the top
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 182) 	 * of the stack is not for you.  The end of the stack
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 183) 	 * is simply init_thread_union + THREAD_SIZE.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 184) 	 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 185) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 186) 	{r29.H = #HI(init_thread_union); r0.H = #HI(_THREAD_SIZE); }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 187) 	{r29.L = #LO(init_thread_union); r0.L = #LO(_THREAD_SIZE); }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 188) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 189) 	/*  initialize the register used to point to current_thread_info */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 190) 	/*  Fixme:  THREADINFO_REG can't be R2 because of that memset thing. */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 191) 	{r29 = add(r29,r0); THREADINFO_REG = r29; }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 192) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 193) 	/*  Hack:  zero bss; */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 194) 	{ r0.L = #LO(__bss_start);  r1 = #0; r2.l = #LO(__bss_stop); }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 195) 	{ r0.H = #HI(__bss_start);           r2.h = #HI(__bss_stop); }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 196) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 197) 	r2 = sub(r2,r0);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 198) 	call memset;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 199) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 200) 	/*  Set PHYS_OFFSET; should be in R25 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 201) #ifdef CONFIG_HEXAGON_PHYS_OFFSET
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 202) 	r0.l = #LO(__phys_offset);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 203) 	r0.h = #HI(__phys_offset);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 204) 	memw(r0) = r25;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 205) #endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 206) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 207) 	/* Time to make the doughnuts.   */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 208) 	call start_kernel
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 209) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 210) 	/*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 211) 	 * Should not reach here.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 212) 	 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 213) 1:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 214) 	jump 1b
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 215) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 216) .p2align PAGE_SHIFT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 217) ENTRY(external_cmdline_buffer)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 218)         .fill _PAGE_SIZE,1,0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 219) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 220) .data
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 221) .p2align PAGE_SHIFT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 222) ENTRY(empty_zero_page)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 223)         .fill _PAGE_SIZE,1,0