in the file src/cpu/amd/model_lx/model_lx_init.c
static void model_lx_init(device_t dev) { printk_debug("model_lx_init\n");
/* Turn on caching if we haven't already */
x86_enable_cache();
/* Enable the local cpu apics */ //setup_lapic();
// do VSA late init vsm_end_post_smi();
// Set gate A20 (legacy vsm disables it in late init) printk_debug("A20 (0x92): %d\n",inb(0x92)); outb(0x02,0x92); printk_debug("A20 (0x92): %d\n",inb(0x92));
printk_debug("model_lx_init DONE\n"); }; ~ when using vsm_end_post_smi() function, Unexpected Exception occures, any advice would be appreciated!
_________________________________________________________________ 与联机的朋友进行交流,请使用 MSN Messenger: http://messenger.msn.com/cn