From 8e74123683072deed9ecd29e76037a16a47e3295 Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Sat, 3 Feb 2024 14:36:26 -0500 Subject: alloc on write paging, -O3 compile works, 'volatile' is the story of my life --- include/bochs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/bochs.h') diff --git a/include/bochs.h b/include/bochs.h index 4aa933e..f17b468 100644 --- a/include/bochs.h +++ b/include/bochs.h @@ -8,4 +8,4 @@ * @param width - the width of the screen * @param height - the height of the screen */ -uint32_t *bochs_init(uint16_t w, uint16_t h, uint8_t b); +volatile uint32_t *bochs_init(uint16_t w, uint16_t h, uint8_t b); -- cgit v1.2.3-freya