locore32.S (90643) | locore32.S (91467) |
---|---|
1/* $FreeBSD: head/sys/powerpc/aim/locore.S 90643 2002-02-14 01:39:11Z benno $ */ | 1/* $FreeBSD: head/sys/powerpc/aim/locore.S 91467 2002-02-28 03:24:07Z benno $ */ |
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 --- 925 unchanged lines hidden (view full) --- 935 mr 30,3 936 bl trap 937 mr 3,30 938 bl ast 939 FRAME_LEAVE(tempsave) 940 rfi 941 942/* | 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 --- 925 unchanged lines hidden (view full) --- 935 mr 30,3 936 bl trap 937 mr 3,30 938 bl ast 939 FRAME_LEAVE(tempsave) 940 rfi 941 942/* |
943 * Child comes here at the end of a fork. 944 * Mostly similar to the above. 945 */ 946 .globl fork_trampoline 947fork_trampoline: 948 xor 3,3,3 949#if 0 /* XXX */ 950 bl lcsplx 951#endif 952 mtlr 31 953 mr 3,30 954 blrl /* jump indirect to r31 */ 955 mr 3,30 956 bl ast 957 FRAME_LEAVE(tempsave) 958 rfi 959 960/* | |
961 * DSI second stage fault handler 962 */ 963s_dsitrap: 964 mfdsisr 31 /* test whether this may be a 965 spill fault */ 966 mtcr 31 967 mtsprg 1,1 /* save SP */ 968 bc 4,1,disitrap /* branch if table miss is false */ --- 385 unchanged lines hidden --- | 943 * DSI second stage fault handler 944 */ 945s_dsitrap: 946 mfdsisr 31 /* test whether this may be a 947 spill fault */ 948 mtcr 31 949 mtsprg 1,1 /* save SP */ 950 bc 4,1,disitrap /* branch if table miss is false */ --- 385 unchanged lines hidden --- |