entry.S (f4091322d7397c8eb85c071570cab0e82ee3e261) entry.S (39d91a9eafec7524482e70af76ccbe803dce5b8e)
1/*
2 * OpenRISC entry.S
3 *
4 * Linux architectural port borrowing liberally from similar works of
5 * others. All original copyrights apply as per the original source
6 * declaration.
7 *
8 * Modifications for the OpenRISC architecture:

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

1066 l.sw PT_GPR18(r1),r18
1067 l.sw PT_GPR20(r1),r20
1068 l.sw PT_GPR22(r1),r22
1069 l.sw PT_GPR24(r1),r24
1070 l.sw PT_GPR26(r1),r26
1071 l.jr r29
1072 l.sw PT_GPR28(r1),r28
1073
1/*
2 * OpenRISC entry.S
3 *
4 * Linux architectural port borrowing liberally from similar works of
5 * others. All original copyrights apply as per the original source
6 * declaration.
7 *
8 * Modifications for the OpenRISC architecture:

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

1066 l.sw PT_GPR18(r1),r18
1067 l.sw PT_GPR20(r1),r20
1068 l.sw PT_GPR22(r1),r22
1069 l.sw PT_GPR24(r1),r24
1070 l.sw PT_GPR26(r1),r26
1071 l.jr r29
1072 l.sw PT_GPR28(r1),r28
1073
1074ENTRY(sys_clone)
1075 l.movhi r29,hi(_sys_clone)
1076 l.ori r29,r29,lo(_sys_clone)
1074ENTRY(__sys_clone)
1075 l.movhi r29,hi(sys_clone)
1076 l.ori r29,r29,lo(sys_clone)
1077 l.j _fork_save_extra_regs_and_call
1078 l.addi r7,r1,0
1079
1077 l.j _fork_save_extra_regs_and_call
1078 l.addi r7,r1,0
1079
1080ENTRY(sys_fork)
1081 l.movhi r29,hi(_sys_fork)
1082 l.ori r29,r29,lo(_sys_fork)
1080ENTRY(__sys_fork)
1081 l.movhi r29,hi(sys_fork)
1082 l.ori r29,r29,lo(sys_fork)
1083 l.j _fork_save_extra_regs_and_call
1084 l.addi r3,r1,0
1085
1086ENTRY(sys_sigaltstack)
1087 l.j _sys_sigaltstack
1088 l.addi r5,r1,0
1089
1090ENTRY(sys_rt_sigreturn)

--- 29 unchanged lines hidden ---
1083 l.j _fork_save_extra_regs_and_call
1084 l.addi r3,r1,0
1085
1086ENTRY(sys_sigaltstack)
1087 l.j _sys_sigaltstack
1088 l.addi r5,r1,0
1089
1090ENTRY(sys_rt_sigreturn)

--- 29 unchanged lines hidden ---