mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-17 15:27:36 +00:00
version 1.7 made some changes to correct problems identifed by compiling
with egcs-1.1.1. bus_space_write_multi_2() had an extra operation that should have been removed. Remove it. This fixes the panic when bus_space_write_multi_2() is used. Obtained from: jake
This commit is contained in:
parent
653dd8c243
commit
c7411c02f5
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=73314
@ -603,7 +603,6 @@ bus_space_write_multi_2(bus_space_tag_t tag, bus_space_handle_t bsh,
|
||||
__asm __volatile(" \n\
|
||||
cld \n\
|
||||
1: lodsw \n\
|
||||
movw %%ax,(%1) \n\
|
||||
movw %%ax,(%2) \n\
|
||||
loop 1b" :
|
||||
"=S" (addr), "=c" (count) :
|
||||
|
@ -603,7 +603,6 @@ bus_space_write_multi_2(bus_space_tag_t tag, bus_space_handle_t bsh,
|
||||
__asm __volatile(" \n\
|
||||
cld \n\
|
||||
1: lodsw \n\
|
||||
movw %%ax,(%1) \n\
|
||||
movw %%ax,(%2) \n\
|
||||
loop 1b" :
|
||||
"=S" (addr), "=c" (count) :
|
||||
|
@ -603,7 +603,6 @@ bus_space_write_multi_2(bus_space_tag_t tag, bus_space_handle_t bsh,
|
||||
__asm __volatile(" \n\
|
||||
cld \n\
|
||||
1: lodsw \n\
|
||||
movw %%ax,(%1) \n\
|
||||
movw %%ax,(%2) \n\
|
||||
loop 1b" :
|
||||
"=S" (addr), "=c" (count) :
|
||||
|
@ -603,7 +603,6 @@ bus_space_write_multi_2(bus_space_tag_t tag, bus_space_handle_t bsh,
|
||||
__asm __volatile(" \n\
|
||||
cld \n\
|
||||
1: lodsw \n\
|
||||
movw %%ax,(%1) \n\
|
||||
movw %%ax,(%2) \n\
|
||||
loop 1b" :
|
||||
"=S" (addr), "=c" (count) :
|
||||
|
@ -603,7 +603,6 @@ bus_space_write_multi_2(bus_space_tag_t tag, bus_space_handle_t bsh,
|
||||
__asm __volatile(" \n\
|
||||
cld \n\
|
||||
1: lodsw \n\
|
||||
movw %%ax,(%1) \n\
|
||||
movw %%ax,(%2) \n\
|
||||
loop 1b" :
|
||||
"=S" (addr), "=c" (count) :
|
||||
|
@ -603,7 +603,6 @@ bus_space_write_multi_2(bus_space_tag_t tag, bus_space_handle_t bsh,
|
||||
__asm __volatile(" \n\
|
||||
cld \n\
|
||||
1: lodsw \n\
|
||||
movw %%ax,(%1) \n\
|
||||
movw %%ax,(%2) \n\
|
||||
loop 1b" :
|
||||
"=S" (addr), "=c" (count) :
|
||||
|
Loading…
Reference in New Issue
Block a user