diff options
author | mdodd <mdodd@FreeBSD.org> | 2001-03-02 05:33:53 +0000 |
---|---|---|
committer | mdodd <mdodd@FreeBSD.org> | 2001-03-02 05:33:53 +0000 |
commit | 2403b2bc07885c7742ccedd409be1eddfb9c1a97 (patch) | |
tree | 3ecce546880e280ca59ef439c1292e79b65e1dfb /sys/i386/include | |
parent | 4376aa7f2b6b8e7211453f9f3832c71489e71f86 (diff) | |
download | FreeBSD-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/i386/include')
-rw-r--r-- | sys/i386/include/bus_at386.h | 1 | ||||
-rw-r--r-- | sys/i386/include/bus_dma.h | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/sys/i386/include/bus_at386.h b/sys/i386/include/bus_at386.h index 9f036b6..5af9345 100644 --- a/sys/i386/include/bus_at386.h +++ b/sys/i386/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/i386/include/bus_dma.h b/sys/i386/include/bus_dma.h index 9f036b6..5af9345 100644 --- a/sys/i386/include/bus_dma.h +++ b/sys/i386/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) : |