ref: 72170170ad724084a638251dba76f37e21889520
parent: 526efbec42e8b2a311cd39df1c37e5ee630fee99
author: glenda <glenda@cirno>
date: Wed May 8 08:45:29 EDT 2024
use mallocalign for icc
--- a/sys/src/nix/pc64/devnix.c
+++ b/sys/src/nix/pc64/devnix.c
@@ -50,8 +50,8 @@
for(nnix = 0; nnix < MAXMACH; nnix++){
nix = &nixes[nnix];
- nix->nix.icc = &(nixes[nnix].icc);
- print("nix %p\n", nix);
+ nix->nix.icc = mallocalign(64, 64, 0, 0);
+ print("nix %p %#p\n", nix, nix->nix.icc);
}