1/* 2 * Copyright (c) 2007 The Hewlett-Packard Development Company 3 * All rights reserved. 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 306 unchanged lines hidden (view full) --- 315 installSegDesc(tc, SEGMENT_REG_FS, dsDesc, true); 316 installSegDesc(tc, SEGMENT_REG_GS, dsDesc, true); 317 installSegDesc(tc, SEGMENT_REG_SS, dsDesc, true); 318 319 //Activate long mode. 320 cr0.pg = 1; 321 tc->setMiscReg(MISCREG_CR0, cr0); 322 |
323 tc->pcState(tc->getSystemPtr()->kernelEntry); |
324 325 // We should now be in long mode. Yay! 326 327 Addr ebdaPos = 0xF0000; 328 Addr fixed, table; 329 330 //Write out the SMBios/DMI table 331 writeOutSMBiosTable(ebdaPos, fixed, table); --- 82 unchanged lines hidden --- |