trap_subr64.S (6f3544cd7084abbadd83637993a4f41fd30e6ccd) trap_subr64.S (54c562081ff82b6429078f76d44491e7d1e95673)
1/* $FreeBSD$ */
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 *

--- 85 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;
1/* $FreeBSD$ */
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 *

--- 85 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 ---