search for: romsize

Displaying 2 results from an estimated 2 matches for "romsize".

2007 Apr 18
7
[RFC, PATCH 5/24] i386 Vmi code patching
...R+1) + continue; + if (romstart->romLength * 512 > + &__VMI_END - &__VMI_START) + panic("VMI OPROM size exceeds mappable space\n"); + hypervisor_found = 1; + break; + } + } +} + + +/* + * Activate the VMI interfaces + */ +void __init vmi_init(void) +{ + int romsize; + + /* + * Setup optional callback functions if we found the VMI ROM + */ + if (hypervisor_found) { + romsize = vmi_rom->romLength * 512; + if (VROMFunc(vmi_rom, VMI_CALL_Init)) { + printk(KERN_WARNING "VMI ROM failed to initialize\n"); + hypervisor_found = 0; + } else { +...
2007 Apr 18
7
[RFC, PATCH 5/24] i386 Vmi code patching
...R+1) + continue; + if (romstart->romLength * 512 > + &__VMI_END - &__VMI_START) + panic("VMI OPROM size exceeds mappable space\n"); + hypervisor_found = 1; + break; + } + } +} + + +/* + * Activate the VMI interfaces + */ +void __init vmi_init(void) +{ + int romsize; + + /* + * Setup optional callback functions if we found the VMI ROM + */ + if (hypervisor_found) { + romsize = vmi_rom->romLength * 512; + if (VROMFunc(vmi_rom, VMI_CALL_Init)) { + printk(KERN_WARNING "VMI ROM failed to initialize\n"); + hypervisor_found = 0; + } else { +...