Lines Matching +full:up +full:- +full:counting

2  * Copyright (C) 2007-2009 Michal Simek <monstr@monstr.eu>
3 * Copyright (C) 2007-2009 PetaLogix
7 * Copyright (c) 1995-1996 Gary Thomas <gdt@linuxppc.org>
12 * Low-level exception handers, MMU support, and rewrite.
15 * Copyright (c) 1998-1999 TiVo, Inc.
72 * r8 == 0 - msr instructions are implemented
73 * r8 != 0 - msr instructions are not implemented
76 msrclr r8, 0 /* clear nothing - just read msr for test */
82 is broken or non-existent */
86 /* Save 1 as word and load byte - 0 - BIG, 1 - LITTLE */
95 bnei r11, no_fdt_arg /* No - get out of here */
99 ori r3, r0, (0x10000 - 4)
103 addik r11, r11, 4 /* increment counting */
105 addik r3, r3, -4 /* descrement loop */
117 ori r3, r0, COMMAND_LINE_SIZE - 1 /* number of loops */
119 /* r2=r5+r11 - r5 contain pointer to command line */
123 addik r11, r11, 1 /* increment counting */
125 addik r3, r3, -1 /* decrement loop */
135 ori r3, r0, (LMB_SIZE - 4)
139 addik r11, r11, 4 /* increment counting */
141 addik r3, r3, -4 /* descrement loop */
146 * Set up the initial MMU state so we can do the first level of
151 addik r3, r0, MICROBLAZE_TLB_SIZE -1 /* Invalidate all TLB entries */
157 addik r3, r3, -1
168 * a virtual address. So, set up a TLB mapping to cover this once
183 addik r11, r12, -0x1000000
185 addik r11, r12, -0x0800000
187 addik r11, r12, -0x0400000
190 addik r11, r12, -0x0200000
193 addik r11, r12, -0x0100000
197 GT4: /* r11 contains the rest - will be either 1 or 4 */
204 addik r2, r11, -0x0400000
207 addik r11, r11, -0x0100000
214 GT17: /* TLB1 is 4MB - kernel size <20MB */
218 GT20: /* TLB1 is 16MB - kernel size >20MB */
232 * TLB0 is always used - check if is not zero (r9 stores TLB0 value)
304 /* Use temporary TLB_ID for LMB - clear this temporary mapping later */
333 addik r1, r0, init_thread_union + THREAD_SIZE - 4
348 /* Go back to running unmapped so we can load up new values
361 /* Load up the kernel context */