Re: Problems building xnu-792
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com To answer a second time ... Am 09.05.2005 um 05:49 schrieb William Kucharski: This specific line translates to this line in osfmk/ppc/hw_vm.s: rlwinm r12,r11,GV_HPAGE_SHIFT,GV_HPAGE_MASK which SHOULD assemble to: rlwinm r12,r11,31,23,28 Cheers, Markus - - - - - - - - - - - - - - - - - - - Dipl. Ing. Markus Hitter http://www.jump-ing.de/ _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... according to the 10.4 mach_kernel. [...] #define GV_HPAGE_SHIFT (GV_PGIDX_SZ_LG2 - GV_GRPS_PPG_LG2) [...] calculates out as (3 - (12 - 5 + 3)))), or -1. Oooh. After finally diving into Motorola's multi-thousand-pages PPC manuals, I found rlwinm to be a bit shift operator and the third parameter is the number of bits to be shifted. This is a 5-bit parameter, so 31 == -1. It's a compiler missing feature/bug. After redefining GV_HPAGE_SHIFT in osfmk/ppc/mappings.h to 31 (works for now) and a "make clean; make" the compile completed. Two missing symbols in the final link stage left for enjoyment tomorrow. This email sent to site_archiver@lists.apple.com
participants (1)
-
Markus Hitter