trap_subr64.S (212722) | trap_subr64.S (214574) |
---|---|
1/* $FreeBSD: head/sys/powerpc/aim/trap_subr64.S 212722 2010-09-16 03:46:17Z nwhitehorn $ */ | 1/* $FreeBSD: head/sys/powerpc/aim/trap_subr64.S 214574 2010-10-30 23:07:30Z nwhitehorn $ */ |
2/* $NetBSD: trap_subr.S,v 1.20 2002/04/22 23:20:08 kleink Exp $ */ 3 4/*- 5 * Copyright (C) 1995, 1996 Wolfgang Solfrank. 6 * Copyright (C) 1995, 1996 TooLs GmbH. 7 * All rights reserved. 8 * 9 * Redistribution and use in source and binary forms, with or without --- 84 unchanged lines hidden (view full) --- 94 95 cmpli 0, %r31, 0; /* If SLBE is not valid, stop */ 96 beqlr; 97 ld %r30, 0(%r28) /* Load SLBV */ 98 slbmte %r30, %r31; /* Install SLB entry */ 99 100 addi %r28, %r28, 16; /* Advance pointer */ 101 addi %r29, %r29, 1; | 2/* $NetBSD: trap_subr.S,v 1.20 2002/04/22 23:20:08 kleink Exp $ */ 3 4/*- 5 * Copyright (C) 1995, 1996 Wolfgang Solfrank. 6 * Copyright (C) 1995, 1996 TooLs GmbH. 7 * All rights reserved. 8 * 9 * Redistribution and use in source and binary forms, with or without --- 84 unchanged lines hidden (view full) --- 94 95 cmpli 0, %r31, 0; /* If SLBE is not valid, stop */ 96 beqlr; 97 ld %r30, 0(%r28) /* Load SLBV */ 98 slbmte %r30, %r31; /* Install SLB entry */ 99 100 addi %r28, %r28, 16; /* Advance pointer */ 101 addi %r29, %r29, 1; |
102 cmpli 0, %r29, USER_SR; /* Repeat if we are not at the end */ | 102 cmpli 0, %r29, USER_SLB_SLOT; /* Repeat if we are not at the end */ |
103 blt instkernslb; 104 blr; 105 106/* 107 * FRAME_SETUP assumes: 108 * SPRG1 SP (1) 109 * SPRG3 trap type 110 * savearea r27-r31,DAR,DSISR (DAR & DSISR only for DSI traps) --- 538 unchanged lines hidden --- | 103 blt instkernslb; 104 blr; 105 106/* 107 * FRAME_SETUP assumes: 108 * SPRG1 SP (1) 109 * SPRG3 trap type 110 * savearea r27-r31,DAR,DSISR (DAR & DSISR only for DSI traps) --- 538 unchanged lines hidden --- |