commit | 7b7295a9c7dcd4a8be0b86e69affcd3e2c77ba11 | [log] [tgz] |
---|---|---|
author | Todd Eisenberger <teisenbe@chromium.org> | Tue Mar 21 17:29:54 2017 -0700 |
committer | Petr Hosek <phosek@google.com> | Thu Apr 30 10:14:44 2020 -0700 |
tree | 98cb4cb1fa4c3859360d934fa3fcb0cbac575342 | |
parent | cb3099b44b9a2ca953f9b0fdfb77f9bfa7727c32 [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