?? vxw_pt5.html
字號:
<br>(From: Bill Pringlemeir, bpringlemeir@yahoo.com)<p>I wrote a routine to uncompress an image compressed by deflate. The trick isthat you have to skip the first byte. I think it's a 0x08; it's a tag thatWRS adds to the start of the compressed block. Other than that it was justa matter of using the zlib routines to decompress it.<br>I haven't tried to compress an image with anything other than deflate, butit shouldn't be too hard.<br>I bet if you asked your FAE nicely, he'd get you the source to deflate andinflateLib.<br>(From: pkockritz@mac.com, Pete Kockritz)<p><hr WIDTH="50%"><a NAME="5.13-D"></a><p>Q: How can I autostart a loaded module.<p>A: without changing loader code or implementing an own version of loader:If you set C++ Constructor to automatic in VxWorks (standard), you mightwrap your application by a static 'startup' class. The creator of the classmay spawn the main task of your application.<br>(From: Michael Lawnick, Lawnick@softec.de)<p><hr WIDTH="60%"><p><h3><a NAME="5.14"><center>5.14 VxWorks AE issues</center></a></h3><a NAME="5.14-A"></a>Q: How can I access a fixed address register from within a user level domain?<p>A: This would work if the code was located in the kernel domain, butwould not be allowed from a user level domain. Probably the simplestway of getting this to work from user level is to create a smallfunction in your kernel that does this, make it an entry point andcall it from your application...<br>(From: John, john_94501@yahoo.com)<hr WIDTH="100%"><p><h3><a NAME="index"><center>Index</center></a></h3><TABLE BORDER=1 CELLSPACING=3><TR><TD VALIGN=TOP><A HREF="#5.1">5.1</A></TD><TD VALIGN=TOP><A HREF="#5.1-A">A</A></TD><TD VALIGN=TOP>When I download some C++ code my target crashes, even when I don't startanything.</TD></TR><TR><TD VALIGN=TOP></TD><TD VALIGN=TOP><A HREF="#5.9-F">B</A></TD><TD VALIGN=TOP>What is the syntax of "taskSpawn" for spawning a method of anobject (C++) as a task.</TD></TR><TR><TD VALIGN=TOP></TD><TD VALIGN=TOP><A HREF="vxw_pt1.html#1.1-H">C</A></TD><TD VALIGN=TOP>How can I call a C++ function from within a C-file?</TD></TR><TR><TD VALIGN=TOP></TD><TD VALIGN=TOP><A HREF="#5.1-D">D</A></TD><TD VALIGN=TOP>What is the preferred extension for C++ files?</TD></TR><TR><TD VALIGN=TOP></TD><TD VALIGN=TOP><A HREF="#5.1-E">E</A></TD><TD VALIGN=TOP>Gotcha with C++ static constructors and GCC 2.95.x (PPC)</TD></TR><TR><TD VALIGN=TOP><A HREF="#5.2">5.2</A></TD><TD VALIGN=TOP><A HREF="#5.2-A">A</A></TD><TD VALIGN=TOP>Is there any instance where msgQDelete can be blocking?</TD></TR><TR><TD VALIGN=TOP><A HREF="#5.3">5.3</A></TD><TD VALIGN=TOP><A HREF="#5.3-A">A</A></TD><TD VALIGN=TOP>In my BSP there is an intConnect, but no intDisconnect. How can I disconnecta function from a interrupt?</TD></TR><TR><TD VALIGN=TOP></TD><TD VALIGN=TOP><A HREF="#5.3-B">B</A></TD><TD VALIGN=TOP>What does "workQPanic: Kernel work queue overflow" mean?</TD></TR><TR><TD VALIGN=TOP></TD><TD VALIGN=TOP><A HREF="#5.3-C">C</A></TD><TD VALIGN=TOP>What does the function "__get_eh_context" do?</TD></TR><TR><TD VALIGN=TOP></TD><TD VALIGN=TOP><A HREF="#5.3-D">D</A></TD><TD VALIGN=TOP>After calling intlock it seems that the interrupts are not locked whenlooking at the interrupt control register.</TD></TR><TR><TD VALIGN=TOP><A HREF="#5.4">5.4</A></TD><TD VALIGN=TOP><A HREF="#5.4-A">A</A></TD><TD VALIGN=TOP>When I try to load a module with unresolved externals the functionloadModule returns a module-ID instead of returning NULL, as described inthe manual. How do I detect if there are unresolved externals?</TD></TR><TR><TD VALIGN=TOP></TD><TD VALIGN=TOP><A HREF="#5.4-B">B</A></TD><TD VALIGN=TOP>The ld command, run from a script, is behaving differently on a UNIX and anNT box.</TD></TR><TR><TD VALIGN=TOP><A HREF="#5.5">5.5</A></TD><TD VALIGN=TOP><A HREF="#5.5-A">A</A></TD><TD VALIGN=TOP>Has anyone ported pthreads.h from Linux to VxWorks?</TD></TR><TR><TD VALIGN=TOP></TD><TD VALIGN=TOP><A HREF="#5.5-B">B</A></TD><TD VALIGN=TOP>Is there a way to implement the VxWorks API on top of pthreads?</TD></TR><TR><TD VALIGN=TOP><A HREF="#5.6">5.6</A></TD><TD VALIGN=TOP><A HREF="#5.6-A">A</A></TD><TD VALIGN=TOP>When I do a hard reboot the system reacts differently than when using Ctrl-X.</TD></TR><TR><TD VALIGN=TOP><A HREF="#5.7">5.7</A></TD><TD VALIGN=TOP><A HREF="#5.7-A">A</A></TD><TD VALIGN=TOP>It looks like the priority inversion mechanism is not working correctly.</TD></TR><TR><TD VALIGN=TOP><A HREF="#5.8">5.8</A></TD><TD VALIGN=TOP><A HREF="#5.8-A">A</A></TD><TD VALIGN=TOP>How can I start multiple simulators on NT and have these communicating?</TD></TR><TR><TD VALIGN=TOP></TD><TD VALIGN=TOP><A HREF="#5.8-B">B</A></TD><TD VALIGN=TOP>How do I increase the memory of the simulator?</TD></TR><TR><TD VALIGN=TOP></TD><TD VALIGN=TOP><A HREF="#5.8-C">C</A></TD><TD VALIGN=TOP>How can I have 2 simulators communicate with eachother on Win2K box?</TD></TR><TR><TD VALIGN=TOP></TD><TD VALIGN=TOP><A HREF="#5.8-D">D</A></TD><TD VALIGN=TOP>The font in my VxSim window is very small.</TD></TR><TR><TD VALIGN=TOP></TD><TD VALIGN=TOP><A HREF="#5.8-E">E</A></TD><TD VALIGN=TOP>How can I make 2 simulators communicate on a Solaris box?</TD></TR><TR><TD VALIGN=TOP><A HREF="#5.9">5.9</A></TD><TD VALIGN=TOP><A HREF="#5.9-A">A</A></TD><TD VALIGN=TOP>What is the use of taskDelay(0)?</TD></TR><TR><TD VALIGN=TOP></TD><TD VALIGN=TOP><A HREF="#5.9-B">B</A></TD><TD VALIGN=TOP>How do I use taskInit?</TD></TR><TR><TD VALIGN=TOP></TD><TD VALIGN=TOP><A HREF="#5.9-C">C</A></TD><TD VALIGN=TOP>How do I get the real priority of a task?</TD></TR><TR><TD VALIGN=TOP></TD><TD VALIGN=TOP><A HREF="#5.9-D">D</A></TD><TD VALIGN=TOP>Question about order of execution for a taskDelete(taskIdSelf).</TD></TR><TR><TD VALIGN=TOP></TD><TD VALIGN=TOP><A HREF="#5.9-E">E</A></TD><TD VALIGN=TOP>How can I build a stack-trace?</TD></TR><TR><TD VALIGN=TOP></TD><TD VALIGN=TOP><A HREF="#5.9-F">F</A></TD><TD VALIGN=TOP>What is the syntax of "taskSpawn" for spawning a method of anobject (C++) as a task.</TD></TR><TR><TD VALIGN=TOP></TD><TD VALIGN=TOP><A HREF="#5.9-G">G</A></TD><TD VALIGN=TOP>How can I detect a stack overflow?</TD></TR><TR><TD VALIGN=TOP></TD><TD VALIGN=TOP><A HREF="#5.9-H">H</A></TD><TD VALIGN=TOP>I want to block a task until all children are in a certain state(initialised, finished, etc.).</TD></TR><TR><TD VALIGN=TOP></TD><TD VALIGN=TOP><A HREF="#5.9-I">I</A></TD><TD VALIGN=TOP>When a timer expires, the connected routine will execute in whichtask context?</TD></TR><TR><TD VALIGN=TOP><A HREF="#5.10">5.10</A></TD><TD VALIGN=TOP><A HREF="#5.10-A">A</A></TD><TD VALIGN=TOP>I would like to know how to measure the system time at a specificmoment, then at another moment, only a few milliseconds later, todetermine elapsed time.</TD></TR><TR><TD VALIGN=TOP></TD><TD VALIGN=TOP><A HREF="#5.10-B">B</A></TD><TD VALIGN=TOP>When I create a timer function my program crashes after the timespecified instead of executing the function I specified. What is happening?</TD></TR><TR><TD VALIGN=TOP></TD><TD VALIGN=TOP><A HREF="#5.10-C">C</A></TD><TD VALIGN=TOP>How do I determine the number of ticks remaining in a watchdog timer?</TD></TR><TR><TD VALIGN=TOP></TD><TD VALIGN=TOP><A HREF="#5.10-D">D</A></TD><TD VALIGN=TOP>Errors in the time modules.</TD></TR><TR><TD VALIGN=TOP></TD><TD VALIGN=TOP><A HREF="#5.10-E">E</A></TD><TD VALIGN=TOP>How can I create a repeat with a small delay without using busy-waiting?</TD></TR><TR><TD VALIGN=TOP></TD><TD VALIGN=TOP><A HREF="#5.10-F">F</A></TD><TD VALIGN=TOP>How can I monitor the processor-load?</TD></TR><TR><TD VALIGN=TOP></TD><TD VALIGN=TOP><A HREF="#5.10-G">G</A></TD><TD VALIGN=TOP>Can you give an example on how to use timers?</TD></TR><TR><TD VALIGN=TOP></TD><TD VALIGN=TOP><A HREF="#5.10-H">H</A></TD><TD VALIGN=TOP>Rollover in the SNMP variable sysUpTime after around 2,5 days.</TD></TR><TR><TD VALIGN=TOP><A HREF="#5.11">5.11</A></TD><TD VALIGN=TOP><A HREF="#5.11-A">A</A></TD><TD VALIGN=TOP>When I load a page from this server it takes a lot of time to load allthe items on this page. How can I increase the speed?</TD></TR><TR><TD VALIGN=TOP></TD><TD VALIGN=TOP><A HREF="#5.11-B">B</A></TD><TD VALIGN=TOP>A page loads good with Netscape, but IE seems to hang on an applet.</TD></TR><TR><TD VALIGN=TOP><A HREF="#5.12">5.12</A></TD><TD VALIGN=TOP><A HREF="#5.12-A">A</A></TD><TD VALIGN=TOP>How can I get the current cursor position?</TD></TR><TR><TD VALIGN=TOP></TD><TD VALIGN=TOP><A HREF="#5.12-B">B</A></TD><TD VALIGN=TOP>Are there any alternatives to Zinc?</TD></TR><TR><TD VALIGN=TOP></TD><TD VALIGN=TOP><A HREF="#5.12-C">C</A></TD><TD VALIGN=TOP>How can I avoid that a combobox blocks input to a editbox?</TD></TR><TR><TD VALIGN=TOP></TD><TD VALIGN=TOP><A HREF="#5.12-D">D</A></TD><TD VALIGN=TOP>How can I save and restore the contents of the screen?</TD></TR><TR><TD VALIGN=TOP></TD><TD VALIGN=TOP><A HREF="#5.12-E">E</A></TD><TD VALIGN=TOP>How can I use a telephone-like keypad to enter alphanumerics?</TD></TR><TR><TD VALIGN=TOP></TD><TD VALIGN=TOP><A HREF="#5.12-F">F</A></TD><TD VALIGN=TOP>OpenGL programs running under VxWorks</TD></TR><TR><TD VALIGN=TOP><A HREF="#5.13">5.13</A></TD><TD VALIGN=TOP><A HREF="#5.13-A">A</A></TD><TD VALIGN=TOP>How can I decode the error numbers?</TD></TR><TR><TD VALIGN=TOP></TD><TD VALIGN=TOP><A HREF="#5.13-B">B</A></TD><TD VALIGN=TOP>How can I have a task that causes an (bus)error to continue afterthis occurs?</TD></TR><TR><TD VALIGN=TOP></TD><TD VALIGN=TOP><A HREF="#5.13-C">C</A></TD><TD VALIGN=TOP>How can I use compression in my application?</TD></TR><TR><TD VALIGN=TOP></TD><TD VALIGN=TOP><A HREF="#5.13-D">D</A></TD><TD VALIGN=TOP>How can I autostart a loaded module.</TD></TR><TR><TD VALIGN=TOP><A HREF="#5.14">5.14</A></TD><TD VALIGN=TOP><A HREF="#5.14-A">A</A></TD><TD VALIGN=TOP>[AE] How can I access a fixed address register from within a user level domain?</TD></TR></TABLE><hr WIDTH="100%"><p><a href="mailto:borkhuis@agere.com"><img SRC="sendmail.gif" ALT="Send me an e-mail if this page was helpfull" height=49 width=124 align=RIGHT></a><p><a href="vxworks.html"><img SRC="back0001.gif" ALT="VxWorks Homepage" height=54 width=104></a><br><center>© J.A. Borkhuis, 2001</center><center><script language="JavaScript"><!-- var theDate = "" theDate = document.lastModified document.write("Last Updated: "); document.write(theDate); document.write();//--></script></center></body></html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -