From: Benoit M. <ben...@cg...> - 2004-04-14 12:19:22
|
Hi these two ones are the mod I made, but only running on "clean" nt4 (fresh install), wasn't running on my workstation (dev computer) making it to reboot, think about free mem, but hadn' time to investigate (since this, I migrate my computer to win2k....... sry) i'm sorry, but i don't have unidiff based on 20040227 : -src/colinux/os/winnt/kernel/lowlevel/alloc.c $ diff alloc.c alloc_mod.c 93c93 < ExFreePoolWithTag(ptr, CO_OS_POOL_TAG); --- > ExFreePool(ptr); -/src/colinux/os/winnt/user/misc.c $ diff misc.c misc_mod.c 20,21c20 < MEMORYSTATUSEX m; < BOOL ret; --- > MEMORYSTATUS m; 24,28c23 < ret = GlobalMemoryStatusEx(&m); < if (ret != TRUE) { < co_debug("Error, GlobalMemoryStatusEx returned: %x\n", GetLastError()); < return CO_RC(ERROR); < } --- > GlobalMemoryStatus(&m); 30c25 < if (m.ullTotalPhys > (DWORDLONG)0xFF000000) { --- > if (m.dwTotalPhys > (DWORDLONG)0xFF000000) { 36c31 < *mem_size = 0xFF000000 & (((unsigned long)m.ullTotalPhys) + 0xFFFFFF); --- > *mem_size = 0xFF000000 & (((unsigned long)m.dwTotalPhys) + 0xFFFFFF); ----- Original Message ----- From: "Dan Aloni" <da...@co...> To: "Benoit MICHEL" <ben...@cg...> Cc: "Cooperative Linux Development" <col...@li...> Sent: Wednesday, April 14, 2004 6:22 AM Subject: Re: [coLinux-devel] coLinux on NT4? > On Thu, Mar 04, 2004 at 10:59:56AM +0100, Benoit MICHEL wrote: > > Hi all > > > > I succeed in running colinux on nt4 sp6a after replacing ExFreePoolWithTag > > (in src/colinux/winnt/kernel/lowlevel/alloc.c) with > > ExFreePool. > > and GlobalMemoryStatusEx (in /src/colinux/os/winnt/user/misc.c) with > > GlobalMemoryStatus. > > Can you please send a unidiff patch for the tree, with all the > changes you have made? > > -- > Dan Aloni > da...@co... > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > coLinux-devel mailing list > coL...@li... > https://lists.sourceforge.net/lists/listinfo/colinux-devel |