|
Re: Can cegcc cross compile network driver: msg#00044gnu.cegcc.devel
Danny, Many Thanks! You are not mis-interpreting my message. Further information/quesions are: 1. ACX100 driver is linked against the Linux kernel, what is the module to be linked in cegcc? is it libcoredll.a? ( I am downloading the src of cegcc, it needs some time :) 2. What is the relationship between the WinCE NDIS and libcoredll.a, which one is sitting on higher layer? I have read and write sth related to NDIS protocol driver, I get to know that NDIS has 3 kinds of layers. The bottom is the miniport driver, which is the hardware driver. If ACX100 driver can be ported to WinCE, it should be one of the NDIS miniport driver, right? 3. The good thing on WinCE is that all drivers are DLL files, which can be loaded dynammically. 4. There are functions like (in ACX100 PCI driver): write_reg32(), write_flush(), are these functions supported in cegcc? Cheer! - Ling Bell Labs Research China Http://qianwuge.spaces.live.com/ -----Original Message----- From: cegcc-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@xxxxxxxxxxxxxxxx [mailto:cegcc-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@xxxxxxxxxxxxxxxx] On Behalf Of Danny Backx Sent: 2007年7月10日 上午(五哥)2:15 To: support-H2kY8MLGjOm+XT7JhA+gdA@xxxxxxxxxxxxxxxx Cc: CeGCC Development List Subject: Re: [Cegcc-devel] Can cegcc cross compile network driver On Mon, 2007-07-09 at 13:44 -0400, support-H2kY8MLGjOm+XT7JhA+gdA@xxxxxxxxxxxxxxxx wrote: > >From my experience the main library (CoreDLL) was missing > >RegisterDevice > and DeRegister device, would this be an issue in driver development? > > -Steven According to my sources and the library on my system, these calls are both in our libcoredll.a so you can access them. Or am I mis-interpreting your message ? Danny dannypc: {19} cd /opt/mingw32ce/arm-wince-mingw32ce/lib dannypc: {20} l *core* -rw-r--r-- 1 danny backx 1200338 Jul 7 16:07 libcoredll.a dannypc: {21} arm-wince-mingw32ce-nm libcoredll.a | grep -i registerdevice 00000000 T RegisterDevice 00000000 I __imp_RegisterDevice 00000000 T DeregisterDevice 00000000 I __imp_DeregisterDevice dannypc: {22} cdce /home/danny/src/cegcc/svn.sf.net/cegcc/trunk/cegcc dannypc: {23} cd src/cegcc/importlibs/defs/ dannypc: {24} fgrep -i registerdevice coredll.def DeregisterDevice RegisterDevice dannypc: {25} > >-- Original Message -- > >From: Danny Backx <danny.backx-rJAIWvhRp0CZIoH1IeqzKA@xxxxxxxxxxxxxxxx> > >To: "Qian, Ling (Ling)" > ><lingqian-cfy2TCaE7SFv+uJa97DSA9BPR1lH4CV8@xxxxxxxxxxxxxxxx> > >Date: Mon, 09 Jul 2007 19:26:30 +0200 > >Cc: cegcc-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@xxxxxxxxxxxxxxxx > >Subject: Re: [Cegcc-devel] Can cegcc cross compile network driver > > > > > >On Mon, 2007-07-09 at 23:29 +0800, Qian, Ling (Ling) wrote: > >> All, > >> > >> I am trying to write a TI ACX100-based wifi driver under Windows > >> Mobile 2003/2005. I have found a Linux TI Acx100 driver, but it's a > >> kernel driver. My question is that can CeGCC be used to cross compile > >> the Linux driver and make the driver work under Windows Mobile? > > > >Drivers are DLLs that need to implement a couple of specific functions, > >and that may need special installation. > > > >Yes, this is possible with cegcc. An example recently created by Pedro > >is in the tools/PipeLib directory of our SVN. > > > >Obviously the Linux device driver and the WinCE device driver have > >different characteristics. But that's your porting effort. > > > > Danny > > > >-- > >Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info > > > >Attachment: signature.asc > > > >------------------------------------------------------------------------- > >This SF.net email is sponsored by DB2 Express > >Download DB2 Express C - the FREE version of DB2 express and take > >control of your XML. No limits. Just data. Click to get it now. > >http://sourceforge.net/powerbar/db2/ > >_______________________________________________ > >Cegcc-devel mailing list > >Cegcc-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@xxxxxxxxxxxxxxxx > >https://lists.sourceforge.net/lists/listinfo/cegcc-devel > > -- Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/_______________________________________________ Cegcc-devel mailing list Cegcc-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@xxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/cegcc-devel |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: C++ exceptions: 00044, Pedro Alves |
|---|---|
| Next by Date: | Re: Can cegcc cross compile network driver: 00044, Pedro Alves |
| Previous by Thread: | Re: Can cegcc cross compile network driveri: 00044, Danny Backx |
| Next by Thread: | Re: Can cegcc cross compile network driver: 00044, Pedro Alves |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |