锘??xml version="1.0" encoding="utf-8" standalone="yes"?>国产综合久久久久,久久国产精品成人免费,久久综合88熟人妻http://www.shnenglu.com/ngaut/asm/c/c++/......zh-cnTue, 06 May 2025 20:13:41 GMTTue, 06 May 2025 20:13:41 GMT60[杞琞OpenNI閲岀┖闂村潗鏍囩郴緇?/title><link>http://www.shnenglu.com/ngaut/archive/2011/05/24/147040.html</link><dc:creator>ngaut</dc:creator><author>ngaut</author><pubDate>Tue, 24 May 2011 08:22:00 GMT</pubDate><guid>http://www.shnenglu.com/ngaut/archive/2011/05/24/147040.html</guid><wfw:comment>http://www.shnenglu.com/ngaut/comments/147040.html</wfw:comment><comments>http://www.shnenglu.com/ngaut/archive/2011/05/24/147040.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/ngaut/comments/commentRss/147040.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/ngaut/services/trackbacks/147040.html</trackback:ping><description><![CDATA[<div><span style="font-family: Tahoma, Verdana, Geneva, Arial, Helvetica, sans-serif; line-height: 18px; "><div style="padding-left: 3px; font-weight: bolder; font-size: 13px; padding-bottom: 3px; padding-top: 3px; border-bottom-color: #9fb086; border-bottom-width: 1px; border-bottom-style: dashed; background-color: #e0e7b8; "><a id="ctl01_TitleUrl" style="color: #56662d; text-decoration: none; ">錛堢炕璇戯級OpenNI閲岀┖闂村潗鏍囩郴緇?/a></div><div style="padding-right: 10px; padding-left: 3px; font-size: 13px; padding-bottom: 5px; padding-top: 1px; background-color: #f5f5f5; margin-top: 10px; margin-bottom: 10px; line-height: 19px; "><div class="oay0swo" id="cnblogs_post_body"><p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; font-size: 13px; text-indent: 0px; "><span style="color: #808080; font-size: 12px; ">Joint positions and orientations are given in the real world coordinate system.The origin of the system is at the sensor.  +X points to the right of the, +Y points up, and +Z points in the direction of increasing depth.  The coordinate frame is shown in the figure above.</span><br /><span style="font-size: 12px; ">鍏寵妭鐨勪綅緗拰鏂瑰悜渚濇嵁浜庣幇瀹炰笘鐣岀殑鍧愭爣緋葷粺銆傚潗鏍囧師鐐瑰畾浣嶅湪Sensor銆俋杞寸殑姝f柟鍚戞槸浜轟綋闈㈠Sensor鐨勫彸鏂廣俌杞寸殑姝f柟鍚戞槸鏈濅笂銆俍杞寸殑姝f柟鍚戞槸娣卞害鍊煎鍔犵殑鏂瑰悜銆傦紙緇煎悎鑰岀湅錛岃繖鏄竴涓吀鍨嬬殑鍙蟲墜鍧愭爣緋伙級</span><br /><br /><span style="color: #808080; font-size: 12px; ">Joint positions are measured in units of mm.</span><br /><span style="font-size: 12px; ">鍏寵妭鐨勪綅緗槸浠ユ綾充負鍗曚綅鏉ヨ 閲忕殑銆?/span><br /><br /><span style="color: #808080; font-size: 12px; ">Joint orientations are given as a 3x3 rotation (orthonormal) matrix.  This represents a rotation between the joint's local coordinates and the world coordinates.  <br />The first column is the direction of the joint's +X axis given as a 3-vector in the world coordinate system. <br />The second column is the +Y axis direction, and the third column is the +Z axis direction.  <br />Our “neutral pose” is the T-pose shown in the figure above.  In this pose, each joint's orientation is aligned with the world coordinate system.  That is, its orientation is the identity matrix.</span><br /><span style="font-size: 12px; ">鍏寵妭鐨勬柟鍚戜緷鎹簬涓涓?x3鐨勬棆杞紙姝d氦錛夌煩闃點傝繖涓煩闃墊弿緇樼殑鏄叧鑺傜殑灞閮ㄥ潗鏍囧拰涓栫晫鍧愭爣涔嬮棿鐨勬棆杞?br /></span><span style="font-size: 12px; ">鐭╅樀鐨勭涓鍒椾唬琛ㄧ殑鏄叧鑺俋杞寸殑姝f柟鍚戯紝涓涓湪涓栫晫鍧愭爣緋婚噷鐨?3-Vector.</span><br /><span style="font-size: 12px; ">鐭╅樀鐨勭浜屽垪浠h〃鐨勬槸鍏寵妭Y杞寸殑姝f柟鍚戯紝</span><span style="font-size: 12px; ">鐭╅樀鐨勭涓夊垪浠h〃鐨勬槸鍏寵妭Z杞寸殑姝f柟鍚戙?/span><br /><span style="font-size: 12px; ">鎴戜滑鐨?neutral pose"鏄竴涓猅-濮垮娍錛屽涓婂浘鎵紺恒傚湪榪欎釜濮垮娍涓紝姣忎釜鍏寵妭鐨勬柟鍚戞槸涓鑷寸殑涓庝笘鐣屽潗鏍囩郴銆備篃灝辨槸璇達紝瀹冪殑鏂瑰悜鏄崟浣嶇煩闃點?br /> </span></p><p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; font-size: 13px; text-indent: 0px; "><span style="color: #ff0000; font-size: 12px; ">Known issues 宸茬煡闂</span></p><p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; font-size: 13px; text-indent: 0px; "><span style="font-size: 12px; "><strong style="line-height: 14px; ">1.</strong> <span style="color: #808080; ">Arm tracking is less stable when the arm is close to other body parts, especially the torso. If both arms are close to the torso, as well as to each other, they might get mixed up. </span><br />鍦ㄦ墜鑷傝創榪戣韓浣撶殑鍏跺畠閮ㄤ綅鏃訛紙鐗瑰埆鏄函騫詫級錛屾墜鑷傝窡韙殑紼沖畾鎬т細杈冨樊銆傚鏋滃弻鑷傞潪甯告帴榪戣函騫蹭互鍙婂鏂圭殑璇濓紝閭d箞瀹冧滑涔熷彲鑳戒細娣鋒穯鍦ㄤ竴璧楓?br /></span></p><p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; font-size: 13px; text-indent: 0px; "><span style="font-size: 12px; "><strong style="line-height: 14px; ">2.</strong> <span style="color: #808080; ">Leg tracking is still somewhat unstable and noisy. It works better when the user  stands with legs separated.  Fast motions and complex kicks or crouches might cause the tracking to fail. </span><br />鑵跨殑璺熻釜涓鐩存湁涓浜涗笉紼沖畾鍜屽共鎵般傚綋鐢ㄦ埛鎶婂弻鑵垮垎寮绔欑珛鏃訛紝璺熻釜鐨勬晥鏋滀細鏇村ソ銆傚揩閫熺殑榪愬姩鍜屽鏉傜殑韙㈡垨韞插彲鑳戒細瀵艱嚧璺熻釜澶辮觸銆?br /></span></p><p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; font-size: 13px; text-indent: 0px; "><span style="font-size: 12px; "><strong style="line-height: 14px; ">3. </strong><span style="color: #808080; ">Pose tracking may also become somewhat unstable if the head is not visible. </span><br />濡傛灉澶存槸涓嶅彲瑙佺殑璇濓紝閭d箞濮挎佽窡韙篃浼氬彉寰椾笉紼沖畾銆?br /></span></p><p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; font-size: 13px; text-indent: 0px; "><span style="font-size: 12px; "><strong style="line-height: 14px; ">4. </strong><span style="color: #808080; ">Arms and legs in extremely stretched positions (i.e. near the limits of human flexibility) might be lost by the tracker. </span><br />褰撴墜鑷傚拰鑵垮浜庢瀬闄愭媺浼哥殑浣嶇疆鏃訛紙姣斿杈懼埌浜嗕漢浣撶伒媧繪х殑鏋侀檺錛夛紝鍙兘浼氫涪澶辮窡韙?br /></span></p><p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; font-size: 13px; text-indent: 0px; "><span style="font-size: 12px; "><strong style="line-height: 14px; ">5.</strong> <span style="color: #808080; ">If the skeleton is stuck in a faulty pose, or stuck facing the opposite direction, then returning to a “simple” pose (arms away from torso so the sensor can see them and legs separated) should help resolve it. </span><br />濡傛灉楠ㄩ鍗′綇鍦ㄤ竴涓敊璇殑濮挎侊紝鎴栬呴潰鍚戠浉鍙嶇殑鏂瑰悜錛岄偅涔堣鍥炲埌涓涓畝鍗曠殑濮垮娍錛堝錛氭墜鑷傝繙紱昏函騫詫紝鍙岃吙鍒嗗紑绔欑珛銆傦級榪欎簺浼氬府鍔╄В鍐寵鍗′綇鐨勯棶棰樸?br /></span></p><p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; font-size: 13px; text-indent: 0px; "><span style="font-size: 12px; "><strong style="line-height: 14px; ">6.</strong> <span style="color: #808080; ">In general, very fast motions may cause tracking failure. </span><br />鍦ㄤ竴鑸儏鍐典笅錛岄熷害闈炲父蹇殑榪愬姩鍙兘浼氬鑷磋窡韙け璐ャ?br /></span></p><p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; font-size: 13px; text-indent: 0px; "><span style="font-size: 12px; "><strong style="line-height: 14px; ">7.</strong> <span style="color: #808080; ">In some cases, overall tracking might be bad. Re-calibrating the user may resolve the problem. </span></span><br /><span style="font-size: 12px; ">鍦ㄦ煇浜涙儏鍐典笅錛屾暣浣撹窡韙殑鏁堟灉鍙兘涓嶅お濂姐傞偅涔堥噸鏂?Calibrating"浼氳В鍐抽棶棰樸?br /><br /><br />鏉ヨ嚜錛?/span><a >http://www.cnblogs.com/TravelingLight/archive/2011/04/18/2019887.html</a></p></div></div></span></div><img src ="http://www.shnenglu.com/ngaut/aggbug/147040.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/ngaut/" target="_blank">ngaut</a> 2011-05-24 16:22 <a href="http://www.shnenglu.com/ngaut/archive/2011/05/24/147040.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>[杞琞openFramework, Tokyo Workshophttp://www.shnenglu.com/ngaut/archive/2011/05/23/146970.htmlngautngautMon, 23 May 2011 05:48:00 GMThttp://www.shnenglu.com/ngaut/archive/2011/05/23/146970.htmlhttp://www.shnenglu.com/ngaut/comments/146970.htmlhttp://www.shnenglu.com/ngaut/archive/2011/05/23/146970.html#Feedback0http://www.shnenglu.com/ngaut/comments/commentRss/146970.htmlhttp://www.shnenglu.com/ngaut/services/trackbacks/146970.html

openFramework, Tokyo Workshop

SDIM0747

10 灝忔椂鐨勮濺杞垬

鏄ㄥぉ涓婁笅鍗堜袱鍦哄伐浣滃潑澶╁¥涔嬪埆錛屼笂鍗?Zachary Lieberman 瑙h浠栫殑“鑹烘湳鏄鏈潵鐨?R&D, 鏄氬姏鐨勫悎浣? Do it with others”錛屽姞涓婃瘡嬈¢兘鑳借鍒扮殑 Eyebeam 涓績璺熸棭宸茬粡寤鴻搗鏉ョ殑 openFrameworks Lab, 鑰佺敓闀胯皥錛屼絾姣忔鐪嬪埌 ofLab 榪樹細緇х畫緹℃厱錛屾湁涓涓満鎵鍙互緇欒壓鏈錛岄粦瀹紝宸ョ▼甯堝拰縐戝瀹舵妸鍥犳惌妗h屾潵鐨勮剳鍔涚鎾炶漿鍖栦負浠ヨ壓鏈〃杈句負璇夋眰鐨勫疄璺點?/p>

涓嬪崍鐨?Advance section 鍙樹簡涓牱錛屽紑濮嬫渶榪戝熀浜?openFrameworks 鐨勫疄闄呴」鐩粙緇嶅拰榪愪綔璁茶В錛屼竴涓槸涓烘境澶у埄浜氭煇浼氳鍒朵綔鐨勮瑙夌郴緇燂紝鍏ㄩ儴鐢辯▼搴忔帶鍒剁殑鍩轟簬 Data Visualization 姒傚康鐨?VI 緋葷粺錛屾蹇典笉鏂伴矞浣嗗洜涓鴻壓鏈鍑鴻韓鍙堟湁 Parsons The New School for Design 鐨勮儗鏅敮鎸侊紝瑙嗚鍛堢幇鍋氱殑鏋佸叾濂斤紱鍙︿竴涓笌 NIKE 鐨勫悎浣滈」鐩?Paint With Your Feet 錛屾坊鍔犱簡瀵?GPS 鏁版嵁鐨勬敮鎸侊紝緇х畫鏁版嵁鍙鍖栫殑姒傚康浣嗘晥鏋滃嚭浼椼傝仈鎯沖埌鏈榪?MIT 鐨勬柊 LOGO錛屼簨鍏寵瑙夌郴緇熷憟鐜板張瀵硅嚜鎴戠獊鐮存湁瑕佹眰鐨勮璁″笀錛屽涔犱嬌鐢ㄧ▼搴忔潵鍒涗綔宸茬粡鏄繀欏昏鑰冭檻鐨勪簨浜嗭紝榪欎笉鏄瀵規柊鎶鑳界殑鎺屾彙錛岃屾槸鎺ュ彈涓涓柊鐨勭幇瀹炲拰灝濊瘯紿佺牬榪囧幓緇忛獙鍜岀郴緇熺暀涓嬬殑闄愬埗銆?/p>

Zachary Lieberman 鍏紑浜嗕粬鍦?Parsons 鐨勪袱涓巿璇捐紼嬬綉绔欙紝鏂扮殑 http://algo.thesystemis.com/ 鍜岀◢鏃х殑http://www.makingthingsmove.org/blog/錛屾湁寰堝鐨勪緥瀛愬彲浠ュ弬鑰冿紝Parsons 瀛︾敓寰堝垢紱忋?/p>

Kinect 鍋氫負涓涓凡緇忔浮榪囩儹娼殑璇濋錛岀幇鍦ㄧН绱嚭鏉ユ瀬澶氱殑妗堜緥錛孠yle McDonald 鍜?Zach Lieberman 鍦?NY ITP 鏄ュ鏈熺殑璇劇▼鐢ㄥ畠鍦ㄥ皾璇曞埗浣滃粔浠風殑 3D Scanner 騫朵嬌鐢ㄦ暟鎹仛 3D Printing錛岃繖閲屾湁璇劇▼ blog 鍙互鐪?a style="text-decoration: none; color: #3f3f3f; ">http://3dsav.blogspot.com/錛屾柊鎶鏈甫鏉ョ殑灝濊瘯鑳藉甯︽潵鏈鐩磋鐨勬劅瀹樺埡嬋錛岃岄檮鐫鍏跺悗鐨勶紝瀵逛翰韜彂璧瘋呮渶閲嶈鐨勶紝鏄甫鏉ユ柊鐨勫幓鎺㈢儲錛屽皾璇曞拰浜у嚭鐨勬満浼氾紝鏃犺鑹烘湳鍒涗綔錛岃璁″疄璺佃繕鏄鏈殑鐮旂┒錛屼粠鑰屼駭鍑烘柊鐨勪箰瓚c?/p>

鑹烘湳瀹跺拰璁捐甯堥兘鍦ㄨ冭檻鐫鐨勪笢瑗?/strong>

姣斿涔嬩簬璁捐甯堬紝灝ゅ叾鏄効鎰忔墤韜簬榪欎釜紺句細錛屼漢緹ゅ幓鍋氭渶褰㈣屼笅灝濊瘯鐨勮璁″笀綾誨瀷錛岃繖浜涙棭灝卞嚭鐜頒絾姝e紡鎴愪負璁捐涓庡垱浣滄潗鏂欎笉涔呯殑涓滆タ錛岀粰浜嗘垜浠幓灝濊瘯鏇存繁鍏ユ帰绱㈢殑鏈轟細錛屾棤璁烘槸褰㈣屼笅鐨勫疄鏂斤紝榪樻槸涔嬪悗鍙兘浼氶殢涔嬭屾潵鐨勫艦鑰屼笂鐨勬濊冦?/p>

EyeWriter 鏄竴涓紺轟簡鏂板艦鎬佽璁$殑鍏稿瀷渚嬪瓙錛屾壒閲忓寲鐢熶駭鐨?PS3 Camera 鍜屽彲浠ユ彁渚涗粠鏈浣庣鑷埗鍖栬蔣浠剁殑 openFrameworks 緇撳悎鍦ㄤ竴璧鳳紝涓哄疄鐜版渶寤変環鍚屾椂涔熸槸鍥犱負璁捐甯堜笌宸ョ▼甯堝叡鍚岃蛋瀹屾祦紼嬭屾妸姒傚康錛屽師鍨嬩笌浣跨敤鑰呬綋楠岀殑欏虹晠緇撳悎鎻愪緵浜嗗彲鑳姐傜幇鍦ㄥ畠鎴愪負浜嗕竴涓吀鑼冿紝鍩轟簬鏈鍒濆叴瓚g殑浣嗗嵈鍦ㄦ渶澶х▼搴︿笂涓轟粬浜鴻岃璁★紝寮婧愮殑浣嗗畬鎴愪簡涓涓満鏋勭殑寤虹珛銆?/p>

OF 007

璁╀漢鏈熷緟宸蹭箙榪熻繜娌℃湁鍙戝竷鐨勬柊鐗堟湰 OF 007 涔熷仛浜嗕粙緇嶏紝涓?OPENGL 鐨勬敮鎸佹柊娣誨姞浜?ofxShader 搴擄紝璁╁姩鐢伙紝3D 鐢熸垚娓叉煋璺?OPENCV 鏈変簡鏇村ぇ鐨勬晥鑳借漿鍙樸傞厤鍚?Kinect 鐨?OPENNI 搴?bug 榪樺緢澶氾紝瀹規槗宕╂簝 銆傛湁浜嗘洿濂界殑 web server 鐨勬敮鎸侊紝緋葷粺鏂囦歡鎺у埗鍔熻兘涔熷仛浜嗚ˉ鍏咃紝浣嗚窡 Processing 姣旇搗鏉ワ紝閭f潯鑳藉铻嶄細璐氭暣涓▼搴忓師鍨嬪埗浣滅殑綰胯繕涓嶅鏄庢樉錛屽浜庨潪紼嬪簭鑳屾櫙鐨勪漢鑰岃█錛岀洰鍓?OF 渚濈劧鏄亸鍒涗綔鍨嬬殑錛屾洿閫傚悎璁╄壓鏈璧板悜鐨勪漢瀹屾垚浣滃搧鍘熷瀷錛岃屼笉鏄儚 Processing 涓鏍峰彲浠ヨ凍澶熷畬鎴愪竴涓璁′駭鍝佸師鍨嬬殑嫻佺▼銆?/p>



ngaut 2011-05-23 13:48 鍙戣〃璇勮
]]>
winaoe 絎旇http://www.shnenglu.com/ngaut/archive/2011/01/20/138960.htmlngautngautThu, 20 Jan 2011 04:37:00 GMThttp://www.shnenglu.com/ngaut/archive/2011/01/20/138960.htmlhttp://www.shnenglu.com/ngaut/comments/138960.htmlhttp://www.shnenglu.com/ngaut/archive/2011/01/20/138960.html#Feedback0http://www.shnenglu.com/ngaut/comments/commentRss/138960.htmlhttp://www.shnenglu.com/ngaut/services/trackbacks/138960.html

ngaut 2011-01-20 12:37 鍙戣〃璇勮
]]>
浣跨敤winpcap鐨勭▼搴忛亣鍒板簲鐢ㄧ▼搴忓垵濮嬪寲澶辮觸鏃剁殑澶勭悊http://www.shnenglu.com/ngaut/archive/2010/11/10/133178.htmlngautngautWed, 10 Nov 2010 01:58:00 GMThttp://www.shnenglu.com/ngaut/archive/2010/11/10/133178.htmlhttp://www.shnenglu.com/ngaut/comments/133178.htmlhttp://www.shnenglu.com/ngaut/archive/2010/11/10/133178.html#Feedback0http://www.shnenglu.com/ngaut/comments/commentRss/133178.htmlhttp://www.shnenglu.com/ngaut/services/trackbacks/133178.html 紜洏鏍煎紡涓篘TFS鐨勶紝鍒癝YSTEM32涓嬫壘npptools.dll鏂囦歡錛岀偣鍙抽敭-瀹夊叏(濡傛灉娌℃湁瀹夊叏閫夐」錛屾墦寮鏂囦歡澶歸夐」錛岄噷闈㈡湁涓畝鍗曞叡浜紝鍘繪帀)

ngaut 2010-11-10 09:58 鍙戣〃璇勮
]]>
ndis絎旇--褰卞搷鍗忚椹卞姩琛屼負鐨勫崱宸存柉鍩?/title><link>http://www.shnenglu.com/ngaut/archive/2010/09/11/126390.html</link><dc:creator>ngaut</dc:creator><author>ngaut</author><pubDate>Sat, 11 Sep 2010 02:39:00 GMT</pubDate><guid>http://www.shnenglu.com/ngaut/archive/2010/09/11/126390.html</guid><wfw:comment>http://www.shnenglu.com/ngaut/comments/126390.html</wfw:comment><comments>http://www.shnenglu.com/ngaut/archive/2010/09/11/126390.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/ngaut/comments/commentRss/126390.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/ngaut/services/trackbacks/126390.html</trackback:ping><description><![CDATA[鍗″反鏂熀鏈韓瀹夎浜嗕竴涓猲dis涓棿灞傞┍鍔紝鑷繁鍦≧eceiveHandler涓瀯閫犲畬鏁寸殑鍖呭悗鎻愪氦緇欎笂灞傚崗璁┍鍔紝瀵逛簬鏈韓鏈夊鐞嗕笉瀹屾暣鍖呴昏緫鐨勯┍鍔ㄨ屽凡錛岃繖閮ㄥ垎閫昏緫涓嶄細璧板埌錛屾墍浠ユ祴璇昻dis椹卞姩鏈濂藉畨瑁呭拰鍗歌澆鍗″反鏂熀涓ょ鎯呭喌閮芥祴璇曚笅銆傚彟澶栫幇鍦ㄧ殑緗戝崱椹卞姩寰堝皯璋冪敤ReceiveHandler浜嗭紝澶ч儴鍒嗛兘鏄皟鐢≧eceivePacketHandler錛屾瘮杈冭佺殑8139緗戝崱鐨勯┍鍔ㄤ細璋冪敤ReceiveHandler騫舵彁渚涗笉瀹屾暣鐨勫寘銆?img src ="http://www.shnenglu.com/ngaut/aggbug/126390.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/ngaut/" target="_blank">ngaut</a> 2010-09-11 10:39 <a href="http://www.shnenglu.com/ngaut/archive/2010/09/11/126390.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>NDIS絎旇-涓嶈鍏堝叆涓轟富鐨勭儌鍏凬disAllocateMemoryWithTag鍜岀儌寮烴disFreeMemoryWithTaghttp://www.shnenglu.com/ngaut/archive/2010/09/11/126389.htmlngautngautSat, 11 Sep 2010 02:34:00 GMThttp://www.shnenglu.com/ngaut/archive/2010/09/11/126389.htmlhttp://www.shnenglu.com/ngaut/comments/126389.htmlhttp://www.shnenglu.com/ngaut/archive/2010/09/11/126389.html#Feedback0http://www.shnenglu.com/ngaut/comments/commentRss/126389.htmlhttp://www.shnenglu.com/ngaut/services/trackbacks/126389.html
NdisFreeMemoryWithTag

Versions: Supported for NDIS 6.20 drivers in Windows 7.



ngaut 2010-09-11 10:34 鍙戣〃璇勮
]]>
[杞琞windbg涓庤櫄鎷熸満璋冭瘯絎﹀彿鏂囦歡闂http://www.shnenglu.com/ngaut/archive/2010/09/11/126388.htmlngautngautSat, 11 Sep 2010 02:24:00 GMThttp://www.shnenglu.com/ngaut/archive/2010/09/11/126388.htmlhttp://www.shnenglu.com/ngaut/comments/126388.htmlhttp://www.shnenglu.com/ngaut/archive/2010/09/11/126388.html#Feedback0http://www.shnenglu.com/ngaut/comments/commentRss/126388.htmlhttp://www.shnenglu.com/ngaut/services/trackbacks/126388.html

1鎼緩鐜 host鏈哄櫒windows xp sp2 ,瀹夎 windbg, vmware 6 鍜岃皟璇曠殑鐩爣鎿嶄綔緋葷粺 vmware 涓殑gust銆傛瘮濡倃indows server 2003 sp2,

1)閰嶇疆vmware seting 涓坊鍔燾om,

2)閰嶇疆gust鍗?003涓殑com 115200 閰嶇疆

3)boot.ini

[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Windows Server 2003, Standard" /fastdetect
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Windows Server 2003, Standard - DEBUG" /fastdetect /debug /debugport=com1 /baudrate=115200

4)閰嶇疆host涓瓀indbg鐨勫惎鍔ㄥ弬鏁?/p>

鍦ㄥ揩鎹鋒柟寮忓睘鎬ч噷 璁劇疆鐩爣

"D:\Program Files\Debugging Tools for Windows\windbg.exe" -k com:port=\\.\pipe\com_1,baud=11520,pipe

5)瀹夎絎﹀彿鏂囦歡鍦╤ost鏈哄櫒涓?涔熷氨鏄瀹夎鐩爣鏈?003鐨勭鍙鋒枃浠?http://www.microsoft.com/whdc/devtools/debugging/symbolpkg.mspx欏甸潰閫夋嫨鐗堟湰涓嬭澆瀹夎)鍦ㄦ湰鏈簒p涓?璺緞鑷繁璁劇疆,姣斿瑁呭湪D:\windows\symbol2003

2鍚姩

1錛?鍚姩vmware涓殑gust錛岄夋嫨debug錛屼笉瑕佹寜鍥炶濺.

2錛?鍚姩windbg 閰嶇疆symbols file涓哄畨瑁呭ソ鐨勭鍙鋒枃浠惰礬寰勩傝璺緞鏄湪host鏈哄櫒涓婂畨瑁呯殑瀵瑰簲target鎿嶄綔緋葷粺鐨勭鍙鋒枃浠惰礬寰勩備篃灝辨槸guest鎿嶄綔緋葷粺鐗堟湰綾誨瀷鐨勭鍙鋒枃浠訛紝姣斿鎴戜滑鐩爣鏈哄櫒鏄痺indows 2003 sp2錛岄偅涔堟垜浠湪鏈満windows xp涓婂氨搴旇瀹夎windows 2003 sp2鐨勭鍙鋒枃浠躲傝繖涓?windbg鐨勫府鍔╅噷鏈夎銆?璇ョ鍙鋒枃浠朵粠寰蔣瀹樻柟緗戠珯涓婁笅杞? 鍚姩鍚巜indbg澶勪簬reconnect鐘舵?.

set symbol path 涓緭鍏?/p>

SRV*D:\Windows\Symbols2003*http://msdl.microsoft.com/download/symbols

鍏朵腑D:\Windows\Symbols2003涓虹鍙峰畨瑁呯殑璺緞

璺緞璁劇疆閿欒鐨勮瘽浼氭樉紺?** ERROR: Symbol file could not be found

3)榪涘叆vmware鍦╣uest鎸夊洖杞﹁繘鍏uest緋葷粺.



ngaut 2010-09-11 10:24 鍙戣〃璇勮
]]>
ndis絎旇--ReceiveHandler濡備綍澶勭悊涓嶅畬鏁寸殑鍖?/title><link>http://www.shnenglu.com/ngaut/archive/2010/09/08/126145.html</link><dc:creator>ngaut</dc:creator><author>ngaut</author><pubDate>Wed, 08 Sep 2010 02:43:00 GMT</pubDate><guid>http://www.shnenglu.com/ngaut/archive/2010/09/08/126145.html</guid><wfw:comment>http://www.shnenglu.com/ngaut/comments/126145.html</wfw:comment><comments>http://www.shnenglu.com/ngaut/archive/2010/09/08/126145.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.shnenglu.com/ngaut/comments/commentRss/126145.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/ngaut/services/trackbacks/126145.html</trackback:ping><description><![CDATA[ 浠g爜鍙傝僡oe <div><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 255); ">#define</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); "> htons(x) (USHORT)((((x) << 8) & 0xff00) | (((x) >> 8) & 0xff))</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); "> </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 255); ">#define</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); "> ntohs(x) (USHORT)((((x) << 8) & 0xff00) | (((x) >> 8) & 0xff))</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); "> </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 255); ">#define</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); "> AOEPROTOCOLID 0x88a2</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); "> VOID ProtocolTransferDataComplete(IN NDIS_HANDLE ProtocolBindingContext, IN PNDIS_PACKET Packet, IN NDIS_STATUS Status, IN UINT BytesTransferred) { PNDIS_BUFFER Buffer; UINT HeaderSize, DataSize; PUCHAR Data </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">=</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); "> NULL; PEH_HEADER Header </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">=</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); "> NULL; </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 128, 0); ">//</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 128, 0); ">閫氳繃鍖呮弿榪扮鐨凬DIS_BUFFER閾捐〃鐨勮〃澶村彇寰楀寘鐨勫墿浣欓儴鍒嗙殑NDIS_BUFFER鎻忚堪絎? 瑙丳rotocolReceive鍑芥暟</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 128, 0); "> </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); "> NdisUnchainBufferAtFront(Packet, </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">&</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">Buffer); </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 255); ">if</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); "> (Buffer </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">!=</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); "> NULL) { </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 128, 0); ">//</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 128, 0); ">寰楀埌鍖呯殑鍓╀綑閮ㄥ垎鐨勫唴瀛樺湴鍧鍜屽ぇ灝?/span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 128, 0); "> </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); "> NdisQueryBuffer(Buffer, </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">&</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">Data, </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">&</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">DataSize); NdisFreeBuffer(Buffer); } </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 255); ">else</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); "> { DBGPRINT((</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">"</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">ProtocolTransferDataComplete Data (front) Buffer == NULL\\n</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">"</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">)); } </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 128, 0); ">//</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 128, 0); ">閫氳繃鍖呮弿榪扮鐨凬DIS_BUFFER閾捐〃鐨勮〃灝懼彇寰楀寘鐨勫墿浣欓儴鍒嗙殑NDIS_BUFFER鎻忚堪絎? 瑙丳rotocolReceive鍑芥暟</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 128, 0); "> </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); "> NdisUnchainBufferAtBack(Packet, </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">&</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">Buffer); </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 255); ">if</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); "> (Buffer </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">!=</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); "> NULL) { </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(128, 128, 128); ">///</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 128, 0); ">/寰楀埌鍖呭ご鐨勫唴瀛樺湴鍧鍜屽ぇ灝?/span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(128, 128, 128); "> </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); "> NdisQueryBuffer(Buffer, </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">&</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">Header, </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">&</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">HeaderSize); NdisFreeBuffer(Buffer); } </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 255); ">else</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); "> { DBGPRINT((</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">"</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">ProtocolTransferDataComplete Header (back) Buffer == NULL\\n</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">"</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">)); } </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 255); ">if</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); "> (Header </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">!=</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); "> NULL </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">&&</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); "> Data </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">!=</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); "> NULL) { DBGPRINT((</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">"</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">瀹屾暣鍖呭ぇ灝忎負%d</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">"</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">, HeaderSize </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">+</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); "> DataSize)); } </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 128, 0); ">//</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 128, 0); ">AoEReply(Header->SourceMac, Header->DestinationMac, Data, DataSize);</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 128, 0); "> </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); "> </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 255); ">if</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); "> (Header </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">!=</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); "> NULL) ExFreePool(Header); </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 255); ">if</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); "> (Data </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">!=</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); "> NULL) ExFreePool(Data); NdisFreePacket(Packet); } NDIS_STATUS ProtocolReceive(IN NDIS_HANDLE ProtocolBindingContext, IN NDIS_HANDLE MacReceiveContext, IN PVOID HeaderBuffer, IN UINT HeaderBufferSize, IN PVOID LookAheadBuffer, IN UINT LookaheadBufferSize, IN UINT PacketSize) { PADAPTER Context </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">=</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); "> (PADAPTER)ProtocolBindingContext; NDIS_STATUS Status; PNDIS_PACKET Packet; PNDIS_BUFFER Buffer; PEH_HEADER Header; PUCHAR HeaderCopy, Data; UINT BytesTransferred; DBGPRINT((</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">"</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">ProtocolReceive\\n</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">"</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">)); </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 255); ">if</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); "> (HeaderBufferSize </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">!=</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); "> </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 255); ">sizeof</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">(ETH_HEADER)) { DbgPrint(</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">"</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">ProtocolReceive HeaderBufferSize %d != sizeof(HEADER) %d\\n</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">"</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">); </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 255); ">return</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); "> NDIS_STATUS_NOT_ACCEPTED; } Header </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">=</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); "> (PEH_HEADER)HeaderBuffer; </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 128, 0); ">/*</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 128, 0); "> if (ntohs(Header->EthType) != AOEPROTOCOLID) return NDIS_STATUS_NOT_ACCEPTED; </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 128, 0); ">*/</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); "> </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 255); ">if</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); "> (LookaheadBufferSize </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">==</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); "> PacketSize) { </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 128, 0); ">//</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 128, 0); ">AoEReply(Header->SourceMac, Header->DestinationMac, LookAheadBuffer, PacketSize);</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 128, 0); "> </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); "> </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 255); ">return</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); "> NDIS_STATUS_SUCCESS; } </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 128, 0); ">//</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 128, 0); ">涓嶅畬鏁寸殑鍖?/span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 128, 0); "> </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); "> DBGPRINT((</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">"</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">涓嶅畬鏁寸殑鍖?/span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">"</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">)); </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 128, 0); ">//</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 128, 0); ">鍒嗛厤鍐呭瓨鎶婂寘澶翠繚瀛樺寘澶?/span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 128, 0); "> </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); "> </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 255); ">if</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); "> ((HeaderCopy </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">=</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); "> (PUCHAR)ExAllocatePool(NonPagedPool, HeaderBufferSize)) </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">==</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); "> NULL) { DbgPrint(</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">"</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">ProtocolReceive ExAllocatePool HeaderCopy\\n</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">"</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">); </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 255); ">return</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); "> NDIS_STATUS_NOT_ACCEPTED; } RtlCopyMemory(HeaderCopy, HeaderBuffer, HeaderBufferSize); </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 128, 0); ">//</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 128, 0); ">鍒嗛厤鍐呭瓨淇濆瓨鍖呯殑鍓╀綑閮ㄥ垎</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 128, 0); "> </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); "> </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 255); ">if</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); "> ((Data </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">=</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); "> (PUCHAR)ExAllocatePool(NonPagedPool, PacketSize)) </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">==</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); "> NULL) { DbgPrint(</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">"</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">ProtocolReceive ExAllocatePool HeaderData\\n</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">"</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">); ExFreePool(HeaderCopy); </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 255); ">return</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); "> NDIS_STATUS_NOT_ACCEPTED; } </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 128, 0); ">//</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 128, 0); ">鍒嗛厤涓涓寘鎻忚堪絎?/span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 128, 0); "> </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); "> NdisAllocatePacket(</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">&</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">Status, </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">&</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">Packet, Context</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">-></span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">RecvPacketPoolHandle); </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 255); ">if</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); "> (</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">!</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">NT_SUCCESS(Status)) { DBGPRINT((</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">"</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">ProtocolReceive NdisAllocatePacket</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">"</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">, Status)); ExFreePool(Data); ExFreePool(HeaderCopy); </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 255); ">return</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); "> NDIS_STATUS_NOT_ACCEPTED; } </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 128, 0); ">//</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 128, 0); ">鍒嗛厤涓涓狽DIS_BUFFER鎻忚堪絎︼紝鍏寵仈鍐呭瓨Data</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 128, 0); "> </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); "> NdisAllocateBuffer(</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">&</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">Status, </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">&</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">Buffer, Context</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">-></span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">RecvBufferPool, Data, PacketSize); </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 255); ">if</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); "> (</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">!</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">NT_SUCCESS(Status)) { DBGPRINT((</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">"</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">ProtocolReceive NdisAllocateBuffer (Data)</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">"</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">, Status)); NdisFreePacket(Packet); ExFreePool(Data); ExFreePool(HeaderCopy); </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 255); ">return</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); "> NDIS_STATUS_NOT_ACCEPTED; } </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 128, 0); ">//</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 128, 0); ">鍗沖皢榪欎釜NDIS_BUFFER鏀懼埌鍖呮弿榪扮鐨凬DIS_BUFFER閾捐〃鐨勮〃澶?/span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 128, 0); "> </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); "> NdisChainBufferAtFront(Packet, Buffer); </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 128, 0); ">//</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 128, 0); ">鍦ㄥ垎閰嶄竴涓狽DIS_BUFFER鎻忚堪絎︼紝鍏寵仈鍐呭瓨HeaderCopy</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 128, 0); "> </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); "> NdisAllocateBuffer(</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">&</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">Status, </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">&</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">Buffer, Context</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">-></span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">RecvBufferPool, HeaderCopy, PacketSize); </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 255); ">if</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); "> (</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">!</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">NT_SUCCESS(Status)) { DBGPRINT((</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">"</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">ProtocolReceive NdisAllocateBuffer (HeaderCopy)</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">"</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">, Status)); NdisUnchainBufferAtFront(Packet, </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">&</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">Buffer); NdisFreeBuffer(Buffer); NdisFreePacket(Packet); ExFreePool(Data); ExFreePool(HeaderCopy); </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 255); ">return</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); "> NDIS_STATUS_NOT_ACCEPTED; } </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 128, 0); ">//</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 128, 0); ">灝嗘弿榪板寘澶寸殑NDIS_BUFFER鏀懼埌鍖呮弿榪扮鐨凬DIS_BUFFER閾捐〃鐨勫熬鑺傜偣</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 128, 0); "> </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); "> NdisChainBufferAtBack(Packet, Buffer); NdisTransferData(</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">&</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">Status, Context</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">-></span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">BindingHandle, MacReceiveContext, </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">0</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">, PacketSize, Packet, </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">&</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">BytesTransferred); </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 255); ">if</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); "> (Status </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">!=</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); "> NDIS_STATUS_PENDING) ProtocolTransferDataComplete(ProtocolBindingContext, Packet, Status, BytesTransferred); </span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 255); ">return</span></span><span style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); "> Status; }</span></span></div><img src ="http://www.shnenglu.com/ngaut/aggbug/126145.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/ngaut/" target="_blank">ngaut</a> 2010-09-08 10:43 <a href="http://www.shnenglu.com/ngaut/archive/2010/09/08/126145.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>windows搴旂敤patch鐨勭瑪璁?/title><link>http://www.shnenglu.com/ngaut/archive/2010/08/26/124891.html</link><dc:creator>ngaut</dc:creator><author>ngaut</author><pubDate>Thu, 26 Aug 2010 14:24:00 GMT</pubDate><guid>http://www.shnenglu.com/ngaut/archive/2010/08/26/124891.html</guid><wfw:comment>http://www.shnenglu.com/ngaut/comments/124891.html</wfw:comment><comments>http://www.shnenglu.com/ngaut/archive/2010/08/26/124891.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/ngaut/comments/commentRss/124891.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/ngaut/services/trackbacks/124891.html</trackback:ping><description><![CDATA[濡傛灉閬囧埌榪欎釜闂錛?div><span style="color: rgb(51, 51, 51); font-family: Verdana, Tahoma, Arial, Calibri, Geneva, sans-serif; font-size: 13px; ">/patch.exe -p1 < xx.patch</span><br><div><span style="color: rgb(51, 51, 51); font-family: Verdana, Tahoma, Arial, Calibri, Geneva, sans-serif; font-size: 13px; ">Assertion failed: hunk, file ../patch-2.5.9-src/patch.c line 354</span></div><div><span style="color: rgb(51, 51, 51); font-family: Verdana, Tahoma, Arial, Calibri, Geneva, sans-serif; font-size: 13px; ">鍙互鐢ㄨ繖涓懡浠ゆ潵patch</span></div><div><span style="color: rgb(51, 51, 51); font-family: Verdana, Tahoma, Arial, Calibri, Geneva, sans-serif; font-size: 13px; "><span style="color: rgb(0, 49, 80); font-family: 'Bitstream Vera Sans', Verdana, Helvetica; line-height: 17px; ">patch -i xx.patch --verbose --binary</span></span></div></div><img src ="http://www.shnenglu.com/ngaut/aggbug/124891.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/ngaut/" target="_blank">ngaut</a> 2010-08-26 22:24 <a href="http://www.shnenglu.com/ngaut/archive/2010/08/26/124891.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>鍏跺疄鐢╠llexport瀵煎嚭鍑芥暟鍜岀敤.def鏂囦歡瀵煎嚭鍑芥暟鏄笉涓鏍風殑http://www.shnenglu.com/ngaut/archive/2010/07/15/120490.htmlngautngautThu, 15 Jul 2010 14:37:00 GMThttp://www.shnenglu.com/ngaut/archive/2010/07/15/120490.htmlhttp://www.shnenglu.com/ngaut/comments/120490.htmlhttp://www.shnenglu.com/ngaut/archive/2010/07/15/120490.html#Feedback0http://www.shnenglu.com/ngaut/comments/commentRss/120490.htmlhttp://www.shnenglu.com/ngaut/services/trackbacks/120490.html

ngaut 2010-07-15 22:37 鍙戣〃璇勮
]]>
久久无码国产| 一级a性色生活片久久无| 日韩乱码人妻无码中文字幕久久| 久久无码中文字幕东京热| 狠狠精品久久久无码中文字幕| 久久综合狠狠综合久久| 久久人人爽人人爽人人AV东京热 | 久久www免费人成看国产片| 精品水蜜桃久久久久久久| 久久久久亚洲av毛片大| 精品多毛少妇人妻AV免费久久| 久久久久久青草大香综合精品| 久久免费视频网站| 久久午夜无码鲁丝片| 久久99久久无码毛片一区二区 | 7国产欧美日韩综合天堂中文久久久久 | 久久九色综合九色99伊人| 婷婷国产天堂久久综合五月| 久久福利青草精品资源站免费| 久久国产色av免费看| 99久久国产热无码精品免费久久久久| 久久久久久国产a免费观看不卡| 伊人久久综合无码成人网| 久久精品二区| 久久国产高清字幕中文| 亚洲AV无码久久| 国产三级久久久精品麻豆三级| 2021国产精品午夜久久| 久久久国产精品福利免费| 久久这里只有精品18| 久久精品国产99国产精品亚洲 | 久久青青草原精品影院| 一本久久a久久精品vr综合| 欧美国产精品久久高清| 日本精品久久久久中文字幕8| 久久久久亚洲精品无码蜜桃| 五月丁香综合激情六月久久| 亚洲国产精品成人久久蜜臀| 久久综合色区| 亚洲欧洲精品成人久久奇米网 | 亚洲欧美伊人久久综合一区二区|