summaryrefslogtreecommitdiffstats
path: root/sys/amd64
diff options
context:
space:
mode:
authormdodd <mdodd@FreeBSD.org>2001-03-02 05:33:53 +0000
committermdodd <mdodd@FreeBSD.org>2001-03-02 05:33:53 +0000
commit2403b2bc07885c7742ccedd409be1eddfb9c1a97 (patch)
tree3ecce546880e280ca59ef439c1292e79b65e1dfb /sys/amd64
parent4376aa7f2b6b8e7211453f9f3832c71489e71f86 (diff)
downloadFreeBSD-src-2403b2bc07885c7742ccedd409be1eddfb9c1a97.zip
FreeBSD-src-2403b2bc07885c7742ccedd409be1eddfb9c1a97.tar.gz
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
Diffstat (limited to 'sys/amd64')
-rw-r--r--sys/amd64/include/bus_amd64.h1
-rw-r--r--sys/amd64/include/bus_at386.h1
-rw-r--r--sys/amd64/include/bus_dma.h1
3 files changed, 0 insertions, 3 deletions
diff --git a/sys/amd64/include/bus_amd64.h b/sys/amd64/include/bus_amd64.h
index 9f036b6..5af9345 100644
--- a/sys/amd64/include/bus_amd64.h
+++ b/sys/amd64/include/bus_amd64.h
@@ -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) :
diff --git a/sys/amd64/include/bus_at386.h b/sys/amd64/include/bus_at386.h
index 9f036b6..5af9345 100644
--- a/sys/amd64/include/bus_at386.h
+++ b/sys/amd64/include/bus_at386.h
@@ -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) :
diff --git a/sys/amd64/include/bus_dma.h b/sys/amd64/include/bus_dma.h
index 9f036b6..5af9345 100644
--- a/sys/amd64/include/bus_dma.h
+++ b/sys/amd64/include/bus_dma.h
@@ -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) :
OpenPOWER on IntegriCloud