commit | e90a80332828a93adb8a42b785f2df496e7b986c | [log] [tgz] |
---|---|---|
author | Todd Eisenberger <teisenbe@chromium.org> | Tue Mar 21 17:29:54 2017 -0700 |
committer | Petr Hosek <phosek@google.com> | Tue Aug 21 18:34:18 2018 -0700 |
tree | bf43beb7d8f540a140771352a677a2ad83f82deb | |
parent | 22447f851468055a38ae330431804ed1edd3107b [diff] |
[pc][linuxboot] Wait for DMA to finish Change-Id: Ie20a752db86ba1f4b6c1ab5f6fd7cebe0d813ca2
diff --git a/pc-bios/linuxboot.bin b/pc-bios/linuxboot.bin index 306002f..12d0b41 100644 --- a/pc-bios/linuxboot.bin +++ b/pc-bios/linuxboot.bin Binary files differ
diff --git a/pc-bios/optionrom/linuxboot.S b/pc-bios/optionrom/linuxboot.S index fb09f79..eec3c58 100644 --- a/pc-bios/optionrom/linuxboot.S +++ b/pc-bios/optionrom/linuxboot.S
@@ -208,6 +208,11 @@ bswap %eax add $4, %dx out %eax, (%dx) +.Lwait_for_dma: + mov -16(%bp), %eax + bswap %eax + test $~1, %eax + jnz .Lwait_for_dma mov %ebp, %esp