|
本帖最后由 wintoflash 于 2017-6-10 13:54 编辑
mmap.c
- GRUB_MOD_INIT(mmap)
- {
- cmd = grub_register_command ("badram", grub_cmd_badram,
- N_("ADDR1,MASK1[,ADDR2,MASK2[,...]]"),
- N_("Declare memory regions as faulty (badram)."));
- cmd_cut = grub_register_command ("cutmem", grub_cmd_cutmem,
- N_("FROM[K|M|G] TO[K|M|G]"),
- N_("Remove any memory regions in specified range."));
- }
复制代码
drivemap用的是int13h吧,跟grub4dos的map差不多,efi下没有这个东西。
所以xorboot才是真正的黑科技. |
|