﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>IT博客-快乐生活，感受人生-最新评论</title><link>http://www.cnitblog.com/yuhensong/CommentsRSS.aspx</link><description>New Life, Old Face
&lt;bgsound src=http://www.ht.com.cn/bbu/attachments/month_0510/kh0n_10.wma loop="-1"&gt;</description><language>zh-cn</language><pubDate>Tue, 20 Sep 2016 09:23:02 GMT</pubDate><lastBuildDate>Tue, 20 Sep 2016 09:23:02 GMT</lastBuildDate><generator>cnblogs</generator><item><title>re: 各位：问一下，我用中文输入法编辑的时候，为什么屏幕老闪个不停？怎么解决？</title><link>http://www.cnitblog.com/yuhensong/archive/2013/07/14/11779.html#87979</link><dc:creator>人</dc:creator><author>人</author><pubDate>Sun, 14 Jul 2013 07:00:00 GMT</pubDate><guid>http://www.cnitblog.com/yuhensong/archive/2013/07/14/11779.html#87979</guid><description><![CDATA[你在输入法内块有个设置，然后点击它，在里面找恢复默认设置。就好了，我以前也是内样。      <img src ="http://www.cnitblog.com/yuhensong/aggbug/87979.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/yuhensong/" target="_blank">人</a> 2013-07-14 15:00 <a href="http://www.cnitblog.com/yuhensong/archive/2013/07/14/11779.html#87979#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: ARM uboot中的.lds</title><link>http://www.cnitblog.com/yuhensong/archive/2012/11/19/86782.html#86783</link><dc:creator>yuhen</dc:creator><author>yuhen</author><pubDate>Mon, 19 Nov 2012 08:31:00 GMT</pubDate><guid>http://www.cnitblog.com/yuhensong/archive/2012/11/19/86782.html#86783</guid><description><![CDATA[　可执行程序包括BSS段、数据段、代码段（也称文本段）。 　　BSS（Block Started by Symbol）通常是指用来存放程序中未初始化的全局变量和静态变量的一块内存区域。特点是，可读写的，在程序执行之前BSS段会自动清0。所以，未初始的全局变量在程序执行之前已经成0了。 　　注意和数据段的区别，BSS存放的是未初始化的全局变量和静态变量，数据段存放的是初始化后的全局变量和静态变量。 　　UNIX下可使用size命令查看可执行文件的段大小信息。如size a.out。<img src ="http://www.cnitblog.com/yuhensong/aggbug/86783.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/yuhensong/" target="_blank">yuhen</a> 2012-11-19 16:31 <a href="http://www.cnitblog.com/yuhensong/archive/2012/11/19/86782.html#86783#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: [Win7]Powercfg 命令 </title><link>http://www.cnitblog.com/yuhensong/archive/2012/06/10/80854.html#81127</link><dc:creator>大牛网</dc:creator><author>大牛网</author><pubDate>Sun, 10 Jun 2012 11:18:00 GMT</pubDate><guid>http://www.cnitblog.com/yuhensong/archive/2012/06/10/80854.html#81127</guid><description><![CDATA[好东西，收藏，<img src ="http://www.cnitblog.com/yuhensong/aggbug/81127.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/yuhensong/" target="_blank">大牛网</a> 2012-06-10 19:18 <a href="http://www.cnitblog.com/yuhensong/archive/2012/06/10/80854.html#81127#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: [Win7]Powercfg 命令 </title><link>http://www.cnitblog.com/yuhensong/archive/2012/06/09/80854.html#81090</link><dc:creator>火车时刻表</dc:creator><author>火车时刻表</author><pubDate>Sat, 09 Jun 2012 15:07:00 GMT</pubDate><guid>http://www.cnitblog.com/yuhensong/archive/2012/06/09/80854.html#81090</guid><description><![CDATA[这个命令应该是win7新加入的吧，不错！学习一下！<img src ="http://www.cnitblog.com/yuhensong/aggbug/81090.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/yuhensong/" target="_blank">火车时刻表</a> 2012-06-09 23:07 <a href="http://www.cnitblog.com/yuhensong/archive/2012/06/09/80854.html#81090#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 同事推荐的一首歌曲WhatIfShesAnAngel</title><link>http://www.cnitblog.com/yuhensong/archive/2012/06/09/12694.html#81077</link><dc:creator>艾尼</dc:creator><author>艾尼</author><pubDate>Sat, 09 Jun 2012 03:34:00 GMT</pubDate><guid>http://www.cnitblog.com/yuhensong/archive/2012/06/09/12694.html#81077</guid><description><![CDATA[很有意义的歌词<img src ="http://www.cnitblog.com/yuhensong/aggbug/81077.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/yuhensong/" target="_blank">艾尼</a> 2012-06-09 11:34 <a href="http://www.cnitblog.com/yuhensong/archive/2012/06/09/12694.html#81077#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 怎样写makefile文件</title><link>http://www.cnitblog.com/yuhensong/archive/2010/10/01/11828.html#69377</link><dc:creator>anchor89</dc:creator><author>anchor89</author><pubDate>Fri, 01 Oct 2010 14:51:00 GMT</pubDate><guid>http://www.cnitblog.com/yuhensong/archive/2010/10/01/11828.html#69377</guid><description><![CDATA[非常适合入门者学习的文章!谢谢!<img src ="http://www.cnitblog.com/yuhensong/aggbug/69377.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/yuhensong/" target="_blank">anchor89</a> 2010-10-01 22:51 <a href="http://www.cnitblog.com/yuhensong/archive/2010/10/01/11828.html#69377#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 关于ACPI table的基本概念和图示[未登录]</title><link>http://www.cnitblog.com/yuhensong/archive/2010/06/28/62042.html#67073</link><dc:creator>eric</dc:creator><author>eric</author><pubDate>Mon, 28 Jun 2010 02:22:00 GMT</pubDate><guid>http://www.cnitblog.com/yuhensong/archive/2010/06/28/62042.html#67073</guid><description><![CDATA[@Allen<br>F段是内存空间的F段，不是BIOS flash，但是的确是copy from BIOS flash<br>NVS内存是内存的一种类型，由bios声明，给OS看的<img src ="http://www.cnitblog.com/yuhensong/aggbug/67073.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/yuhensong/" target="_blank">eric</a> 2010-06-28 10:22 <a href="http://www.cnitblog.com/yuhensong/archive/2010/06/28/62042.html#67073#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 关于ACPI table的基本概念和图示[未登录]</title><link>http://www.cnitblog.com/yuhensong/archive/2010/06/24/62042.html#66994</link><dc:creator>Allen</dc:creator><author>Allen</author><pubDate>Thu, 24 Jun 2010 13:25:00 GMT</pubDate><guid>http://www.cnitblog.com/yuhensong/archive/2010/06/24/62042.html#66994</guid><description><![CDATA[请教一下，这个F段是内存地址空间的F段吧？<br>那具体的物理存储空间是 BIOS flash 吗？<br>还有那个NVS 内存指的是什么东东啊？<br>新手入门，请多指点，谢谢啦<img src ="http://www.cnitblog.com/yuhensong/aggbug/66994.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/yuhensong/" target="_blank">Allen</a> 2010-06-24 21:25 <a href="http://www.cnitblog.com/yuhensong/archive/2010/06/24/62042.html#66994#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 下午作完presentation了</title><link>http://www.cnitblog.com/yuhensong/archive/2009/11/25/12645.html#62815</link><dc:creator>陳鴻昀</dc:creator><author>陳鴻昀</author><pubDate>Wed, 25 Nov 2009 07:55:00 GMT</pubDate><guid>http://www.cnitblog.com/yuhensong/archive/2009/11/25/12645.html#62815</guid><description><![CDATA[//**********************************************************************<br>//**********************************************************************<br>//** Demo code for PCI configuration space I/O access program ** <br>//** By Lawrence 2009/11/20  **                          <br>//**********************************************************************<br>//**********************************************************************<br><br>#include &quot;efi.h&quot;<br>#include &quot;efilib.h&quot;<br><br>#define	Not_Found_Me	0x00000000<br>#define	Found_Me	0x00000001<br><br>static EFI_STATUS WaitForKeyOrReset(VOID)<br>{<br>    EFI_STATUS          Status;<br>    EFI_INPUT_KEY       key;<br>    UINTN               index;<br>    <br>    for(;;) {<br>        Status = ST-&gt;ConIn-&gt;ReadKeyStroke(ST-&gt;ConIn, &amp;key);<br>        if (Status == EFI_NOT_READY)<br>            BS-&gt;WaitForEvent(1, &amp;ST-&gt;ConIn-&gt;WaitForKey, &amp;index);<br>        else<br>            break;<br>    }<br>    if (!EFI_ERROR(Status)) {<br>        if (key.ScanCode == SCAN_ESC)<br>            RT-&gt;ResetSystem(EfiResetCold, EFI_SUCCESS, 0, NULL);<br>    }<br>    <br>    return Status;<br>}<br><br>UINTN<br>AccessPciConfig (<br>    IN  EFI_PCI_IO_PROTOCOL              *PCI_DEVICE_TARGET<br>    )<br>{<br>	UINT8  i;<br>	UINTN  PCI_ATTR[4];<br>	UINT8  PCI_REG[4], pci_offset=0;<br><br>	//get device attr<br>	PCI_DEVICE_TARGET-&gt;GetLocation(PCI_DEVICE_TARGET,PCI_ATTR,PCI_ATTR+1,PCI_ATTR+2,PCI_ATTR+3);	<br>    if ((PCI_ATTR[1] == 0x00) &amp;&amp; (PCI_ATTR[2] == 0x1e) &amp;&amp; (PCI_ATTR[3] == 0x00)){<br>	  Print (L&quot;Device found at BUS = %02x         DEV= %02x        FUN= %02x  \n&quot;,PCI_ATTR[1],PCI_ATTR[2],PCI_ATTR[3]);<br>	  ST-&gt;ConOut-&gt;SetAttribute (ST-&gt;ConOut, EFI_TEXT_ATTR (EFI_GREEN, EFI_BLACK));	<br>	  //print register value<br>	  for (i = 0;i &lt; 4;i++)<br>	  {<br>        PCI_DEVICE_TARGET-&gt;Pci.Read (PCI_DEVICE_TARGET,0,pci_offset,4,PCI_REG);<br>		Print(L&quot;Register0x%d value = %02x \n&quot;,i, PCI_REG[i]);<br>	  }<br>	  Print(L&quot;\n&quot;);	  <br>	  ST-&gt;ConOut-&gt;SetAttribute (ST-&gt;ConOut, EFI_TEXT_ATTR (EFI_WHITE, EFI_BLACK));		  <br>	  return Found_Me;<br>    }<br><br>	return Not_Found_Me;<br>}<br><br>EFI_STATUS<br>InitializePciApplication (<br>    IN EFI_HANDLE           ImageHandle,<br>    IN EFI_SYSTEM_TABLE     *SystemTable<br>    )<br>{<br>  EFI_STATUS              Status;<br>  EFI_HANDLE              *Handle;<br>  UINTN                   BufferSize, Result;<br>  UINTN                   NoHandles, Index;<br>  EFI_PCI_IO_PROTOCOL	  *PCI_DEVICE_TARGET;<br><br>    //<br>    // Initialize the Library.<br>    //<br>    InitializeLib (ImageHandle, SystemTable);<br>    //<br>    // Find the PCI driver<br>    //<br>    Handle = NULL;<br>    BufferSize = 1;<br>    do<br>    {<br>      if (Handle)<br>      {<br>        FreePool (Handle);<br>      }<br>		<br>      Handle = AllocatePool (BufferSize);<br>      Status = BS-&gt;LocateHandle (ByProtocol, &amp;PciIoProtocol, NULL, &amp;BufferSize, Handle);<br><br>    } while (Status == EFI_BUFFER_TOO_SMALL);<br>    ASSERT (!EFI_ERROR(Status));<br><br>    NoHandles  = BufferSize / sizeof(EFI_HANDLE);<br>    Index = 0;<br>    ST-&gt;ConOut-&gt;ClearScreen (ST-&gt;ConOut);<br>    Result = Not_Found_Me;	<br>    do<br>    {	<br>	if(Index == NoHandles - 1)<br>         Index=0;<br>          else<br>    Status = BS-&gt;HandleProtocol (Handle[Index], &amp;PciIoProtocol, (VOID*)&amp;PCI_DEVICE_TARGET);<br>	Print(L&quot;THIS IS DEVICE %d \n&quot;,Index);<br>    if (!EFI_ERROR(Status))<br>    {<br>	  Result = AccessPciConfig(PCI_DEVICE_TARGET);<br>//-	  Print(L&quot;Again now Result is %x \n&quot;,Result);	  <br>    }<br>    Index++;		<br>    } while(Result == Not_Found_Me);<br>	<br>	Print(L&quot;Please hit any key to exit this image.&quot;);	<br>    WaitForSingleEvent (ST-&gt;ConIn-&gt;WaitForKey, 0);<br>		<br>    return EFI_SUCCESS;<br>}<img src ="http://www.cnitblog.com/yuhensong/aggbug/62815.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/yuhensong/" target="_blank">陳鴻昀</a> 2009-11-25 15:55 <a href="http://www.cnitblog.com/yuhensong/archive/2009/11/25/12645.html#62815#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 下午作完presentation了</title><link>http://www.cnitblog.com/yuhensong/archive/2009/11/25/12645.html#62814</link><dc:creator>陳鴻昀</dc:creator><author>陳鴻昀</author><pubDate>Wed, 25 Nov 2009 07:54:00 GMT</pubDate><guid>http://www.cnitblog.com/yuhensong/archive/2009/11/25/12645.html#62814</guid><description><![CDATA[//**********************************************************************<br>//**********************************************************************<br>//** Demo code for PCI configuration space I/O access program ** <br>//** By Lawrence 2009/11/20 **                          <br>//**********************************************************************<br>//**********************************************************************<br><br>#include &quot;efi.h&quot;<br>#include &quot;efilib.h&quot;<br><br>#define	Not_Found_Me	0x00000000<br>#define	Found_Me	0x00000001<br><br>static EFI_STATUS WaitForKeyOrReset(VOID)<br>{<br>    EFI_STATUS          Status;<br>    EFI_INPUT_KEY       key;<br>    UINTN               index;<br>    <br>    for(;;) {<br>        Status = ST-&gt;ConIn-&gt;ReadKeyStroke(ST-&gt;ConIn, &amp;key);<br>        if (Status == EFI_NOT_READY)<br>            BS-&gt;WaitForEvent(1, &amp;ST-&gt;ConIn-&gt;WaitForKey, &amp;index);<br>        else<br>            break;<br>    }<br>    if (!EFI_ERROR(Status)) {<br>        if (key.ScanCode == SCAN_ESC)<br>            RT-&gt;ResetSystem(EfiResetCold, EFI_SUCCESS, 0, NULL);<br>    }<br>    <br>    return Status;<br>}<br><br>UINTN<br>AccessPciConfig (<br>    IN  EFI_PCI_IO_PROTOCOL              *PCI_DEVICE_TARGET<br>    )<br>{<br>	UINT8  i;<br>	UINTN  PCI_ATTR[4];<br>	UINT8  PCI_REG[4], pci_offset=0;<br><br>	//get device attr<br>	PCI_DEVICE_TARGET-&gt;GetLocation(PCI_DEVICE_TARGET,PCI_ATTR,PCI_ATTR+1,PCI_ATTR+2,PCI_ATTR+3);	<br>    if ((PCI_ATTR[1] == 0x00) &amp;&amp; (PCI_ATTR[2] == 0x1e) &amp;&amp; (PCI_ATTR[3] == 0x00)){<br>	  Print (L&quot;Device found at BUS = %02x         DEV= %02x        FUN= %02x  \n&quot;,PCI_ATTR[1],PCI_ATTR[2],PCI_ATTR[3]);<br>	  ST-&gt;ConOut-&gt;SetAttribute (ST-&gt;ConOut, EFI_TEXT_ATTR (EFI_GREEN, EFI_BLACK));	<br>	  //print register value<br>	  for (i = 0;i &lt; 4;i++)<br>	  {<br>        PCI_DEVICE_TARGET-&gt;Pci.Read (PCI_DEVICE_TARGET,0,pci_offset,4,PCI_REG);<br>		Print(L&quot;Register0x%d value = %02x \n&quot;,i, PCI_REG[i]);<br>	  }<br>	  Print(L&quot;\n&quot;);	  <br>	  ST-&gt;ConOut-&gt;SetAttribute (ST-&gt;ConOut, EFI_TEXT_ATTR (EFI_WHITE, EFI_BLACK));		  <br>	  return Found_Me;<br>    }<br><br>	return Not_Found_Me;<br>}<img src ="http://www.cnitblog.com/yuhensong/aggbug/62814.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/yuhensong/" target="_blank">陳鴻昀</a> 2009-11-25 15:54 <a href="http://www.cnitblog.com/yuhensong/archive/2009/11/25/12645.html#62814#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>