# | Line 553 | Line 553 | AC_CACHE_CHECK([whether we can map Low M | |
---|---|---|
553 | AC_TRY_RUN([ | |
554 | #include "vm_alloc.cpp" | |
555 | int main(void) { /* returns 0 if we could map the lowmem globals */ | |
556 | < | volatile char * lm; |
556 | > | volatile char * lm = 0; |
557 | if (vm_init() < 0) exit(1); | |
558 | < | if ((lm = (volatile char *)vm_acquire_fixed(0, 0x2000)) == VM_MAP_FAILED) exit(1); |
558 | > | if (vm_acquire_fixed(0, 0x2000) < 0) exit(1); |
559 | lm[0] = 'z'; | |
560 | if (vm_release((char *)lm, 0x2000) < 0) exit(1); | |
561 | vm_exit(); exit(0); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |