From ef670a64a6b89be77175c11dc899254c20c69510 Mon Sep 17 00:00:00 2001 From: bunnie Date: Wed, 26 Feb 2025 14:50:37 +0800 Subject: [PATCH 1/2] add note about message loop refactor --- RELEASE-v0.9.md | 1 + 1 file changed, 1 insertion(+) diff --git a/RELEASE-v0.9.md b/RELEASE-v0.9.md index 286d2443f..d4816ce85 100644 --- a/RELEASE-v0.9.md +++ b/RELEASE-v0.9.md @@ -517,6 +517,7 @@ perform the Xous firmware upgrade. This requires running manual update commands, - graphics-server is deprecated as a dependency. Clients should now use `ux-api::minigfx` for drawing primitive dependencies. - This change now hides the GAM abstraction in most cases. The GAM is used to implement windowing; for lightweight platforms that don't have the screen real estate for windows, the `canvas`/`Gid` abstractions still exist but are ignored, and applications can draw directly to the screen. - `baosec` target in particular supports no windowing as the screen is 128x128: the UI is purely modal, where every user interaction occupies the entire screen. + - Modify the core message loop to use reply_and_receive_next() API ## Roadmap - Lots of testing and bug fixes From 3e11c374000118812d15fb3e7bec075e44a7aabe Mon Sep 17 00:00:00 2001 From: bunnie Date: Wed, 26 Feb 2025 14:59:23 +0800 Subject: [PATCH 2/2] fix missing path expansion in precursor target --- services/graphics-server/src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/graphics-server/src/main.rs b/services/graphics-server/src/main.rs index c48d8b0ab..85792b790 100644 --- a/services/graphics-server/src/main.rs +++ b/services/graphics-server/src/main.rs @@ -34,7 +34,7 @@ mod testing; fn draw_boot_logo(display: &mut XousDisplay) { display.blit_screen(&poweron::LOGO_MAP); } #[cfg(any(feature = "precursor", feature = "renode"))] -fn map_fonts() -> MemoryRange { +fn map_fonts() -> xous::MemoryRange { log::trace!("mapping fonts"); // this maps an extra page if the total length happens to fall on a 4096-byte boundary, but this is ok // because the reserved area is much larger @@ -80,7 +80,7 @@ fn map_fonts() -> MemoryRange { } #[cfg(any(feature = "cramium-soc"))] -fn map_fonts() -> MemoryRange { +fn map_fonts() -> xous::MemoryRange { log::trace!("mapping fonts"); // this maps an extra page if the total length happens to fall on a 4096-byte boundary, but this is ok // because the reserved area is much larger