summaryrefslogtreecommitdiff
path: root/include/bochs.h
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2024-02-03 14:36:26 -0500
committerFreya Murphy <freya@freyacat.org>2024-02-03 14:41:52 -0500
commit8e74123683072deed9ecd29e76037a16a47e3295 (patch)
tree2a4d6394688ed23b9360ff87c8d9861ab40da01d /include/bochs.h
parentrefactor exception panic (diff)
downloadcorn-8e74123683072deed9ecd29e76037a16a47e3295.tar.gz
corn-8e74123683072deed9ecd29e76037a16a47e3295.tar.bz2
corn-8e74123683072deed9ecd29e76037a16a47e3295.zip
alloc on write paging, -O3 compile works, 'volatile' is the story of my life
Diffstat (limited to 'include/bochs.h')
-rw-r--r--include/bochs.h2
1 files changed, 1 insertions, 1 deletions
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);