Discuss 10.6.5 kernel with lapic.c fixed at the Kernel / Kext (Driver) Support - Hackint0sh.org; I have fixed and compiled xnu-1504.9.17 or 10.6.5 kernel. I had added " /* NMI: ...
-
Senior Professional
Array
10.6.5 kernel with lapic.c fixed
I have fixed and compiled xnu-1504.9.17 or 10.6.5 kernel. I had added " /* NMI: ummasked, off course */
LAPIC_WRITE(LVT_LINT1, LAPIC_LVT_DM_NMI);" and that way machines with issues with lapic.c con boot up without "CPUS=" and load all cores.
so the code will look like this:
----------------------------------------------------------
}
/* Set flat delivery model, logical processor id */
LAPIC_WRITE(DFR, LAPIC_DFR_FLAT);
LAPIC_WRITE(LDR, (get_cpu_number()) << LAPIC_LDR_SHIFT);
/* Accept all */
LAPIC_WRITE(TPR, 0);
LAPIC_WRITE(SVR, LAPIC_VECTOR(SPURIOUS) | LAPIC_SVR_ENABLE);
/* ExtINT */
if (get_cpu_number() == master_cpu) {
value = LAPIC_READ(LVT_LINT0);
value &= ~LAPIC_LVT_MASKED;
value |= LAPIC_LVT_DM_EXTINT;
LAPIC_WRITE(LVT_LINT0, value);
}
/* NMI: ummasked, off course */
LAPIC_WRITE(LVT_LINT1, LAPIC_LVT_DM_NMI);
/* Timer: unmasked, one-shot */
LAPIC_WRITE(LVT_TIMER, LAPIC_VECTOR(TIMER));
/* Perfmon: unmasked */
LAPIC_WRITE(LVT_PERFCNT, LAPIC_VECTOR(PERFCNT));
/* Thermal: unmasked */
LAPIC_WRITE(LVT_THERMAL, LAPIC_VECTOR(THERMAL));
------------------------------------------------------------
Here is a Vanilla Kernel 10.6.4 that has lapic issue fixed (that affect HP's laptops).
Installing or replacing the kernel will give you the option of booting up 64 bit mode, not with the Legacy kernel which work on 32 bit only. So, the kernel works great same as the Legacy kernel, loading all 4 cores/8 threads but on 64 bit mode.
10.6.5 mach kernel (Mediafire)
10.6.5 mach kernel (Megaupload)
I have added in the mach_kernel folder "i386, X86_64 and Universal Binary Kernel (meanings both).
If you're booting up from your Hard drive remember to replace the mach_kernel from both, system root and preboot.dmg
Enjoy it...
HP dv7t Quad Laptop
Intel® Core™ i7-720QM Processor at 1.6GHz, 6GB DDR3 SDRAM (2 DIMM),1GB Nvidia GeForce GT 230M Graphics,500GB (7,200RPM) SATA Hard Drive
Dual Boots:
Snow Leopard OS and Windows 7 Ultimate. jailbreak Ipad 3G 64 Gig, working with Cydia apps.
Visit my blog for tips:
http://extraspeed.blogspot.com/
Google wave id:
braggingrightsblog@googlewave.com “Wisdom is not a product of schooling but of the lifelong attempt to acquire it”
-
Similar Threads
-
By iwdb in forum Kernel / Kext (Driver) Support
Replies: 1
Last Post: 12-02-2011, 10:59 PM
-
By Extraspeed in forum Kernel / Kext (Driver) Support
Replies: 0
Last Post: 04-26-2011, 04:33 PM
-
By tfox121 in forum General
Replies: 1
Last Post: 07-10-2009, 11:24 PM
-
By vk2 in forum Free Toolchain Software
Replies: 2
Last Post: 02-04-2008, 06:36 PM
-
By Rousey in forum iPhone "2G" (Rev. 1)
Replies: 4
Last Post: 10-20-2007, 01:57 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks