Revert GCD BB changes | Move GCD to 0x4000 to not conflict w/ bootrom

This commit is contained in:
abejgonzalez
2023-11-03 14:52:01 -07:00
parent d7f78ba2e4
commit 19fda05fba
3 changed files with 11 additions and 29 deletions

View File

@@ -1,9 +1,9 @@
#include "mmio.h"
#define GCD_STATUS 0x1000
#define GCD_X 0x1004
#define GCD_Y 0x1008
#define GCD_GCD 0x100C
#define GCD_STATUS 0x4000
#define GCD_X 0x4004
#define GCD_Y 0x4008
#define GCD_GCD 0x400C
unsigned int gcd_ref(unsigned int x, unsigned int y) {
while (y != 0) {