• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

google / alioth / 47406043340
49%

Build:
DEFAULT BRANCH: main
Ran 04 Dec 2026 07:21PM UTC
Jobs 1
Files 132
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

04 Dec 2026 07:05PM UTC coverage: 48.219% (-0.02%) from 48.234%
47406043340

push

github

Lencerf
fix(x86): expose flat low RAM and skip EBDA ACPI on firmware boot

In x86 Board::create_ram() and Board::create_firmware_data(), the
direct-boot low-memory layout (reserving [0x0, 0x500) for IVT/BDA and
placing ACPI tables in [0x80000, 0xA0000)) was gated on
spec.coco.is_none(). When booting non-CoCo UEFI firmware (such as
OVMF/AVMF), those entries were exported via fw_cfg etc/e820 and ACPI
tables were written into EBDA RAM even though firmware loads ACPI from
fw_cfg and owns the low memory map.

This broke upstream EDK2 in two ways:
- OvmfPkg PlatformGetLowMemoryCB requires the low E820_RAM region to
  start at address 0 (EDK2 commit 0a0919607ceb). Starting etc/e820 with
  a Reserved entry left LowMemory at 0, falling back to CMOS (16 MiB)
  and underflowing PeiInstallPeiMemory.
- DXE GetMemoryMap() asserts that Reserved GCD entries are 4 KiB
  page-aligned, rejecting the 0x500-byte entry.

Replace the spec.coco.is_none() checks with !self.is_firmware_boot(),
which checks whether the payload has a firmware image (CoCo guests
always boot via firmware), so firmware boots expose a single
[0, low_mem_size) RAM region in etc/e820.

Signed-off-by: Changyuan Lyu <changyuanl@google.com>

1180 of 1992 branches covered (59.24%)

Branch coverage included in aggregate %.

0 of 8 new or added lines in 1 file covered. (0.0%)

8024 of 17096 relevant lines covered (46.93%)

964.28 hits per line

Uncovered Changes

Lines Coverage ∆ File
8
2.59
-0.05% alioth/src/board/board_amd64/board_amd64.rs
Jobs
ID Job ID Ran Files Coverage
1 47406043340.1 04 Dec 2026 07:21PM UTC 132
48.22
GitHub Action Run
Source Files on build 47406043340
  • Tree
  • List 132
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #47406043340
  • 11bb930d on github
  • Prev Build on gh-readonly-queue/main/pr-579-23e6d207633b27ca3d2974ff392e6584180e8a40 (#47014282326)
  • Next Build on main (#47416217149)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc