Skip to content

Commit

Permalink
Fix regression when building deathstar.com for aarch64 (#957)
Browse files Browse the repository at this point in the history
It turns out my earlier commit ddc08dc caused a build with
MODE=aarch64 to fail.  The commit changed deathstar.c to link
in code to support a VGA console, but this is not implemented
yet for AArch64.  Thanks to @ahgamut for spotting this issue.
  • Loading branch information
tkchia authored Nov 16, 2023
1 parent 665747a commit 7010a80
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tool/viz/deathstar.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@
#define FRAMERATE 23.976
#define WRITE(s) write(1, s, strlen(s))

#ifdef __x86_64__
__static_yoink("vga_console");
__static_yoink("EfiMain");
#endif

struct Sphere {
double cx, cy, cz, r;
Expand Down

0 comments on commit 7010a80

Please sign in to comment.