From 9182a83ef28e23a90ed2ae45206082338cd1912a Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Fri, 18 Mar 2022 23:43:05 -0400 Subject: [PATCH] HELLO: Make sure scratch area is page-aligned --- src/hello/scratch.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hello/scratch.d b/src/hello/scratch.d index 8463100..21c0531 100644 --- a/src/hello/scratch.d +++ b/src/hello/scratch.d @@ -1,4 +1,4 @@ -__gshared ubyte[512 * 1024] scratch; +align(4096) __gshared ubyte[512 * 1024] scratch; __gshared size_t scratch_used; size_t scratch_free()