pacache.S (a02633e9b13dcb9b1a656b08f81bc8ba2d4d2294) pacache.S (0adb24e03a124b79130c9499731936b11ce2677d)
1/*
2 * PARISC TLB and cache flushing support
3 * Copyright (C) 2000-2001 Hewlett-Packard (John Marvin)
4 * Copyright (C) 2001 Matthew Wilcox (willy at parisc-linux.org)
5 * Copyright (C) 2002 Richard Hirst (rhirst with parisc-linux.org)
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by

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

1105 syncdma
1106 bv %r0(%r2)
1107 nop
1108 .exit
1109
1110 .procend
1111ENDPROC_CFI(flush_kernel_dcache_range_asm)
1112
1/*
2 * PARISC TLB and cache flushing support
3 * Copyright (C) 2000-2001 Hewlett-Packard (John Marvin)
4 * Copyright (C) 2001 Matthew Wilcox (willy at parisc-linux.org)
5 * Copyright (C) 2002 Richard Hirst (rhirst with parisc-linux.org)
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by

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

1105 syncdma
1106 bv %r0(%r2)
1107 nop
1108 .exit
1109
1110 .procend
1111ENDPROC_CFI(flush_kernel_dcache_range_asm)
1112
1113ENTRY_CFI(purge_kernel_dcache_range_asm)
1114 .proc
1115 .callinfo NO_CALLS
1116 .entry
1117
1118 ldil L%dcache_stride, %r1
1119 ldw R%dcache_stride(%r1), %r23
1120 ldo -1(%r23), %r21
1121 ANDCM %r26, %r21, %r26
1122
11231: cmpb,COND(<<),n %r26, %r25,1b
1124 pdc,m %r23(%r26)
1125
1126 sync
1127 syncdma
1128 bv %r0(%r2)
1129 nop
1130 .exit
1131
1132 .procend
1133ENDPROC_CFI(purge_kernel_dcache_range_asm)
1134
1113ENTRY_CFI(flush_user_icache_range_asm)
1114 .proc
1115 .callinfo NO_CALLS
1116 .entry
1117
1118 ldil L%icache_stride, %r1
1119 ldw R%icache_stride(%r1), %r23
1120 ldo -1(%r23), %r21

--- 172 unchanged lines hidden ---
1135ENTRY_CFI(flush_user_icache_range_asm)
1136 .proc
1137 .callinfo NO_CALLS
1138 .entry
1139
1140 ldil L%icache_stride, %r1
1141 ldw R%icache_stride(%r1), %r23
1142 ldo -1(%r23), %r21

--- 172 unchanged lines hidden ---