Deleted Added
full compact
locore64.S (224216) locore64.S (230400)
1/* $FreeBSD: head/sys/powerpc/aim/locore64.S 224216 2011-07-19 12:41:57Z attilio $ */
1/* $FreeBSD: head/sys/powerpc/aim/locore64.S 230400 2012-01-20 22:34:19Z andreast $ */
2/* $NetBSD: locore.S,v 1.24 2000/05/31 05:09:17 thorpej Exp $ */
3
4/*-
5 * Copyright (C) 2001 Benno Rice
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions

--- 100 unchanged lines hidden (view full) ---

110 .globl kernel_text
111kernel_text:
112
113/*
114 * Startup entry. Note, this must be the first thing in the text
115 * segment!
116 */
117 .text
2/* $NetBSD: locore.S,v 1.24 2000/05/31 05:09:17 thorpej Exp $ */
3
4/*-
5 * Copyright (C) 2001 Benno Rice
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions

--- 100 unchanged lines hidden (view full) ---

110 .globl kernel_text
111kernel_text:
112
113/*
114 * Startup entry. Note, this must be the first thing in the text
115 * segment!
116 */
117 .text
118ASENTRY(__start)
118ASENTRY_NOPROF(__start)
119 li 8,0
120 li 9,0x100
121 mtctr 9
1221:
123 dcbf 0,8
124 icbi 0,8
125 addi 8,8,0x20
126 bdnz 1b

--- 70 unchanged lines hidden (view full) ---

197/*
198 * int setfault()
199 *
200 * Similar to setjmp to setup for handling faults on accesses to user memory.
201 * Any routine using this may only call bcopy, either the form below,
202 * or the (currently used) C code optimized, so it doesn't use any non-volatile
203 * registers.
204 */
119 li 8,0
120 li 9,0x100
121 mtctr 9
1221:
123 dcbf 0,8
124 icbi 0,8
125 addi 8,8,0x20
126 bdnz 1b

--- 70 unchanged lines hidden (view full) ---

197/*
198 * int setfault()
199 *
200 * Similar to setjmp to setup for handling faults on accesses to user memory.
201 * Any routine using this may only call bcopy, either the form below,
202 * or the (currently used) C code optimized, so it doesn't use any non-volatile
203 * registers.
204 */
205ASENTRY(setfault)
205ASENTRY_NOPROF(setfault)
206 mflr 0
207 mfcr 12
208 mfsprg 4,0
209 ld 4,TD_PCB(13) /* curthread = r13 */
210 std 3,PCB_ONFAULT(4)
211 std 0,0(3)
212 std 1,8(3)
213 std 2,16(3)

--- 26 unchanged lines hidden ---
206 mflr 0
207 mfcr 12
208 mfsprg 4,0
209 ld 4,TD_PCB(13) /* curthread = r13 */
210 std 3,PCB_ONFAULT(4)
211 std 0,0(3)
212 std 1,8(3)
213 std 2,16(3)

--- 26 unchanged lines hidden ---