Skip to content

Commit

Permalink
Remove XMS A20 line status at boot
Browse files Browse the repository at this point in the history
  • Loading branch information
ghaerr committed Oct 31, 2024
1 parent 2d59813 commit 9374e88
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions elks/arch/i86/mm/xms.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
#include <linuxmt/memory.h>
#include <linuxmt/kernel.h>
#include <linuxmt/init.h>

#include <linuxmt/string.h>
#include <linuxmt/debug.h>
#include <arch/segment.h>

/* linear address to start XMS buffer allocations from */
Expand Down Expand Up @@ -51,10 +51,10 @@ int xms_init(void)
return 0;
}
#endif
printk("A20 was %s", verify_a20()? "on" : "off");
debug("A20 was %s", verify_a20()? "on" : "off");
enable_a20_gate();
enabled = verify_a20();
printk(" now %s, ", enabled? "on" : "off");
debug(" now %s, ", enabled? "on" : "off");
if (!enabled) {
printk("disabled, A20 error, ");
return 0;
Expand Down

0 comments on commit 9374e88

Please sign in to comment.