Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 57803
b: refs/heads/master
c: 51be24c
h: refs/heads/master
i:
  57801: 7631af5
  57799: c0af46f
v: v3
  • Loading branch information
Mike Frysinger authored and Bryan Wu committed Jun 11, 2007
1 parent 8820faa commit cbe4770
Show file tree
Hide file tree
Showing 22 changed files with 73 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 52a078120c33b06a9abb721357adaafc3b55b7c1
refs/heads/master: 51be24c351bc9ee4937121100adb098eeb1effdd
5 changes: 5 additions & 0 deletions trunk/arch/blackfin/kernel/entry.S
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,12 @@ ENTRY(_ret_from_fork)
RESTORE_ALL_SYS
p0 = reti;
jump (p0);
ENDPROC(_ret_from_fork)

ENTRY(_sys_fork)
r0 = -EINVAL;
rts;
ENDPROC(_sys_fork)

ENTRY(_sys_vfork)
r0 = sp;
Expand All @@ -72,6 +74,7 @@ ENTRY(_sys_vfork)
SP += 12;
rets = [sp++];
rts;
ENDPROC(_sys_vfork)

ENTRY(_sys_clone)
r0 = sp;
Expand All @@ -82,6 +85,7 @@ ENTRY(_sys_clone)
SP += 12;
rets = [sp++];
rts;
ENDPROC(_sys_clone)

ENTRY(_sys_rt_sigreturn)
r0 = sp;
Expand All @@ -92,3 +96,4 @@ ENTRY(_sys_rt_sigreturn)
SP += 12;
rets = [sp++];
rts;
ENDPROC(_sys_rt_sigreturn)
3 changes: 3 additions & 0 deletions trunk/arch/blackfin/lib/divsi3.S
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
*/

.global ___divsi3;
.type ___divsi3, STT_FUNC;

#ifdef CONFIG_ARITHMETIC_OPS_L1
.section .l1.text
Expand Down Expand Up @@ -214,3 +215,5 @@ ___divsi3 :
.Lret_zero:
R0 = 0;
RTS;

.size ___divsi3, .-___divsi3
4 changes: 3 additions & 1 deletion trunk/arch/blackfin/lib/ins.S
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ ENTRY(_insl)
.Llong_loop_e: NOP;
sti R3;
RTS;

ENDPROC(_insl)

ENTRY(_insw)
P0 = R0; /* P0 = port */
Expand All @@ -61,6 +61,7 @@ ENTRY(_insw)
.Lword_loop_e: NOP;
sti R3;
RTS;
ENDPROC(_insw)

ENTRY(_insb)
P0 = R0; /* P0 = port */
Expand All @@ -75,3 +76,4 @@ ENTRY(_insb)
.Lbyte_loop_e: NOP;
sti R3;
RTS;
ENDPROC(_insb)
2 changes: 1 addition & 1 deletion trunk/arch/blackfin/lib/memchr.S
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,4 @@ ENTRY(_memchr)
R0 += -1;
RTS;

.size _memchr,.-_memchr
ENDPROC(_memchr)
2 changes: 1 addition & 1 deletion trunk/arch/blackfin/lib/memcmp.S
Original file line number Diff line number Diff line change
Expand Up @@ -107,4 +107,4 @@ ENTRY(_memcmp)
P3 = I1;
RTS;

.size _memcmp,.-_memcmp
ENDPROC(_memcmp)
2 changes: 2 additions & 0 deletions trunk/arch/blackfin/lib/memcpy.S
Original file line number Diff line number Diff line change
Expand Up @@ -140,3 +140,5 @@ ENTRY(_memcpy)
B[P0--] = R1;

RTS;

ENDPROC(_memcpy)
2 changes: 1 addition & 1 deletion trunk/arch/blackfin/lib/memmove.S
Original file line number Diff line number Diff line change
Expand Up @@ -100,4 +100,4 @@ ENTRY(_memmove)
P3 = I1;
RTS;

.size _memmove,.-_memmove
ENDPROC(_memmove)
2 changes: 1 addition & 1 deletion trunk/arch/blackfin/lib/memset.S
Original file line number Diff line number Diff line change
Expand Up @@ -106,4 +106,4 @@ ENTRY(_memset)
B[P0++] = R1;
JUMP .Laligned;

.size _memset,.-_memset
ENDPROC(_memset)
2 changes: 2 additions & 0 deletions trunk/arch/blackfin/lib/modsi3.S
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,5 @@ ___modsi3:
R0 = 0;
.LRETURN_R0:
RTS;

.size ___modsi3, .-___modsi3
3 changes: 3 additions & 0 deletions trunk/arch/blackfin/lib/outs.S
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ ENTRY(_outsl)
.Llong_loop_s: R0 = [P1++];
.Llong_loop_e: [P0] = R0;
RTS;
ENDPROC(_outsl)

ENTRY(_outsw)
P0 = R0; /* P0 = port */
Expand All @@ -50,6 +51,7 @@ ENTRY(_outsw)
.Lword_loop_s: R0 = W[P1++];
.Lword_loop_e: W[P0] = R0;
RTS;
ENDPROC(_outsw)

ENTRY(_outsb)
P0 = R0; /* P0 = port */
Expand All @@ -60,3 +62,4 @@ ENTRY(_outsb)
.Lbyte_loop_s: R0 = B[P1++];
.Lbyte_loop_e: B[P0] = R0;
RTS;
ENDPROC(_outsb)
2 changes: 2 additions & 0 deletions trunk/arch/blackfin/lib/smulsi3_highpart.S
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,5 @@ ___smulsi3_highpart:

R0 = R0 + R1;
RTS;

.size ___smulsi3_highpart, .-___smulsi3_highpart
2 changes: 2 additions & 0 deletions trunk/arch/blackfin/lib/udivsi3.S
Original file line number Diff line number Diff line change
Expand Up @@ -296,3 +296,5 @@ ENTRY(___udivsi3)
R1 = R0 - R3;
IF CC R0 = R1;
RTS;

ENDPROC(___udivsi3)
4 changes: 4 additions & 0 deletions trunk/arch/blackfin/lib/umodsi3.S
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@
#endif

.extern ___udivsi3;
.type ___udivsi3, STT_FUNC;
.globl ___umodsi3
.type ___umodsi3, STT_FUNC;
___umodsi3:

CC=R0==0;
Expand Down Expand Up @@ -64,3 +66,5 @@ ___umodsi3:
R0 = 0;
.LRETURN_R0:
RTS;

.size ___umodsi3, .-___umodsi3
2 changes: 2 additions & 0 deletions trunk/arch/blackfin/lib/umulsi3_highpart.S
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,5 @@ ___umulsi3_highpart:
R1 = PACK(R1.l,R0.h);
R0 = R1 + R2;
RTS;

.size ___umulsi3_highpart, .-___umulsi3_highpart
10 changes: 10 additions & 0 deletions trunk/arch/blackfin/mach-common/cache.S
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ ENTRY(_cache_invalidate)
.Lno_dcache_b:
R7 = [SP++];
RTS;
ENDPROC(_cache_invalidate)

/* Invalidate the Entire Instruction cache by
* disabling IMC bit
Expand Down Expand Up @@ -106,6 +107,8 @@ ENTRY(_invalidate_entire_icache)

( R7:5) = [SP++];
RTS;
ENDPROC(_invalidate_entire_icache)
ENDPROC(_icache_invalidate)

/*
* blackfin_cache_flush_range(start, end)
Expand All @@ -129,6 +132,7 @@ ENTRY(_blackfin_icache_flush_range)
IFLUSH [P0];
SSYNC;
RTS;
ENDPROC(_blackfin_icache_flush_range)

/*
* blackfin_icache_dcache_flush_range(start, end)
Expand All @@ -155,6 +159,7 @@ ENTRY(_blackfin_icache_dcache_flush_range)
FLUSH [P0];
SSYNC;
RTS;
ENDPROC(_blackfin_icache_dcache_flush_range)

/* Throw away all D-cached data in specified region without any obligation to
* write them back. However, we must clean the D-cached entries around the
Expand Down Expand Up @@ -183,6 +188,7 @@ ENTRY(_blackfin_dcache_invalidate_range)
FLUSHINV[P0];
SSYNC;
RTS;
ENDPROC(_blackfin_dcache_invalidate_range)

/* Invalidate the Entire Data cache by
* clearing DMC[1:0] bits
Expand Down Expand Up @@ -221,6 +227,8 @@ ENTRY(_dcache_invalidate)

( R7:6) = [SP++];
RTS;
ENDPROC(_dcache_invalidate)
ENDPROC(_invalidate_entire_dcache)

ENTRY(_blackfin_dcache_flush_range)
R2 = -L1_CACHE_BYTES;
Expand All @@ -241,6 +249,7 @@ ENTRY(_blackfin_dcache_flush_range)
FLUSH[P0];
SSYNC;
RTS;
ENDPROC(_blackfin_dcache_flush_range)

ENTRY(_blackfin_dflush_page)
P1 = 1 << (PAGE_SHIFT - L1_CACHE_SHIFT);
Expand All @@ -251,3 +260,4 @@ ENTRY(_blackfin_dflush_page)
.Lfl1: FLUSH [P0++];
SSYNC;
RTS;
ENDPROC(_blackfin_dflush_page)
4 changes: 4 additions & 0 deletions trunk/arch/blackfin/mach-common/cacheinit.S
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ ENTRY(_bfin_icache_init)
SSYNC;
STI R2;
RTS;

ENDPROC(_bfin_icache_init)
#endif

#if defined(CONFIG_BLKFIN_DCACHE)
Expand Down Expand Up @@ -134,4 +136,6 @@ ENTRY(_bfin_dcache_init)
SSYNC;
STI R2;
RTS;

ENDPROC(_bfin_dcache_init)
#endif
4 changes: 2 additions & 2 deletions trunk/arch/blackfin/mach-common/cplbhdlr.S
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@

.align 2

.global __cplb_hdr;
.type __cplb_hdr, STT_FUNC;
ENTRY(__cplb_hdr)
R2 = SEQSTAT;

Expand Down Expand Up @@ -128,3 +126,5 @@ ENTRY(__cplb_hdr)
call _panic_cplb_error;
SP += 12;
JUMP _handle_bad_cplb;

ENDPROC(__cplb_hdr)
1 change: 1 addition & 0 deletions trunk/arch/blackfin/mach-common/cplbmgr.S
Original file line number Diff line number Diff line change
Expand Up @@ -592,6 +592,7 @@ ENTRY(_cplb_mgr)
( R7:4,P5:3 ) = [SP++];
R0 = CPLB_RELOADED;
RTS;
ENDPROC(_cplb_mgr)

.data
.align 4;
Expand Down
Loading

0 comments on commit cbe4770

Please sign in to comment.