Fix running on bochs by forcing x86 pentium codegen

This commit is contained in:
2025-12-07 14:48:27 +01:00
parent 69dde0bf6a
commit 4b94ea7a41
8 changed files with 18 additions and 7 deletions

View File

@ -38,7 +38,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include <sync/spinlock.h>
#define VIRT_BASE 0xC0000000
#define VIRT(x) (((uptr_t)(x)) + VIRT_BASE)
#define PAGE_SIZE 0x1000