<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6595708052413456847</id><updated>2024-10-24T23:00:24.167-07:00</updated><title type='text'>EFI BIOS Concept</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://elvischen1118.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6595708052413456847/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://elvischen1118.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/6595708052413456847/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06099557769021272724</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>51</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6595708052413456847.post-6023441822173097305</id><published>2015-07-10T09:39:00.002-07:00</published><updated>2015-07-10T09:39:15.530-07:00</updated><title type='text'>[圖文] LINE原創貼圖</title><content type='html'>最近畫了一組LINE原創貼圖，經過審查通過，在LINE正式上架了。&lt;br /&gt;
原創貼圖連結&amp;nbsp;&lt;a href=&quot;http://line.me/S/sticker/1160144&quot; style=&quot;background-color: white; color: #0071e4; font-family: &#39;Hiragino Kaku Gothic ProN&#39;, Meiryo, &#39;MS PGothic&#39;, sans-serif; font-size: 12px; line-height: 15.6000003814697px;&quot; target=&quot;_blank&quot;&gt;http://line.me/S/sticker/1160144&lt;/a&gt;&lt;br /&gt;
希望大家可以多多支持Icey Creamy!&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://line.me/S/sticker/1160144&quot;&gt;&lt;img alt=&quot;Icey Creamy&quot; border=&quot;0&quot; height=&quot;267&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiu72fKqYD3Ef1Tk_wIfm404KQroVCXmwNxlYaUQIESxyrjciK5yGXseNvrQOuW_lWcg4tqAkULlY9pt1RWP5Ao_y8VEsOczeUOHQpPWp9VrBew9t6-zoGvyvdVAlqX9xU9ATar25ay4Oc/s640/Line1.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
以下是貼圖內容&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtE3vjgTJ8Yw23Be5MOlJXq7taPI8ylDsuzQhoSDbhGpNVCq_7Mmwew3S8UQvAmcgyldPdzclFcAaJwDxV2DfROWP4UJ_dZAEY8F6MI7hiVZhxYzTeKKlBbfutlrbmVNhJbbQ0__vUrKw/s1600/line2.PNG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtE3vjgTJ8Yw23Be5MOlJXq7taPI8ylDsuzQhoSDbhGpNVCq_7Mmwew3S8UQvAmcgyldPdzclFcAaJwDxV2DfROWP4UJ_dZAEY8F6MI7hiVZhxYzTeKKlBbfutlrbmVNhJbbQ0__vUrKw/s1600/line2.PNG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://elvischen1118.blogspot.com/feeds/6023441822173097305/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://elvischen1118.blogspot.com/2015/07/line.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6595708052413456847/posts/default/6023441822173097305'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6595708052413456847/posts/default/6023441822173097305'/><link rel='alternate' type='text/html' href='http://elvischen1118.blogspot.com/2015/07/line.html' title='[圖文] LINE原創貼圖'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06099557769021272724</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiu72fKqYD3Ef1Tk_wIfm404KQroVCXmwNxlYaUQIESxyrjciK5yGXseNvrQOuW_lWcg4tqAkULlY9pt1RWP5Ao_y8VEsOczeUOHQpPWp9VrBew9t6-zoGvyvdVAlqX9xU9ATar25ay4Oc/s72-c/Line1.PNG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6595708052413456847.post-3247347239260610140</id><published>2012-03-27T04:44:00.001-07:00</published><updated>2012-03-27T04:44:41.424-07:00</updated><title type='text'>BIOS該怎麼換SCI的IRQ9變成IRQ11呢?</title><content type='html'>&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;預設值SCI是透過IRQ9，&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;如何去改IRQ9到IRQ11呢?&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;要修改三個部分&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;1. BIOS部分是透過EFI CODE這部分可以去參考Intel的南橋spec&lt;/span&gt;&lt;span style=&quot;font-family: Tahoma;&quot;&gt;的&lt;/span&gt;&lt;span style=&quot;font-family: Tahoma;&quot;&gt;[SCI_IRQ_SEL]&lt;/span&gt;&lt;span style=&quot;font-family: Tahoma;&quot;&gt;.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;2. ASL CODE&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;這部分可以去參考ACPI spec&lt;/span&gt;&lt;span style=&quot;font-family: Tahoma;&quot;&gt;的&lt;/span&gt;&lt;span style=&quot;font-family: Tahoma;&quot;&gt;[FADT SCT_INT] 從9設成11&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;3. ASL CODE&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;這部分可以去參考ACPI spec&lt;/span&gt;&lt;span style=&quot;font-family: Tahoma;&quot;&gt;的[&lt;/span&gt;&lt;span style=&quot;font-family: Tahoma;&quot;&gt;MADT&amp;nbsp;EFI_ACPI_2_0_INTERRUPT_SOURCE_OVERRIDE]也是從9設成11&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Tahoma;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Tahoma;&quot;&gt;這樣就可以改用IRQ11去發SCI了。&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://elvischen1118.blogspot.com/feeds/3247347239260610140/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://elvischen1118.blogspot.com/2012/03/biossciirq9irq11.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6595708052413456847/posts/default/3247347239260610140'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6595708052413456847/posts/default/3247347239260610140'/><link rel='alternate' type='text/html' href='http://elvischen1118.blogspot.com/2012/03/biossciirq9irq11.html' title='BIOS該怎麼換SCI的IRQ9變成IRQ11呢?'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06099557769021272724</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6595708052413456847.post-7400972517990763144</id><published>2012-03-06T01:32:00.000-08:00</published><updated>2012-03-06T01:32:21.748-08:00</updated><title type='text'>How to create EDK2 enviornment?</title><content type='html'>&lt;div&gt;&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;以下是我個人電腦的設定，依據不同環境需要自行調整。&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;使用TortoiseSVN軟體download 位址https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2的source code&lt;/span&gt;&lt;div&gt;&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;預設會下載到C:\EDK2的資料夾裡。&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;開啟Visual Studio 2008 Command Prompt&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;到指定的目錄夾，C:\EDK2&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;鍵入edksetup.bat&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;&lt;a href=&quot;file:///C:/EDK2/edksetup.bat&quot;&gt;C:\EDK2\edksetup.bat&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;然後再到Conf的資料夾&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;&lt;a href=&quot;file:///C:/EDK2/Conf/&quot;&gt;C:\EDK2\Conf\&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;鍵入edit target.txt&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;&lt;a href=&quot;file:///C:/EDK2/Conf/edit&quot;&gt;C:\EDK2\Conf\&lt;/a&gt;edit target.txt&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;ACTIVE_PLATFORM = Nt32Pkg/Nt32Pkg.dsc&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;TARGET = DEBUG&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;TARGET_ARCH = IA32&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;TOOL_CHAIN_CONF = Conf/toos_def.txt&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;TOOL_CHAIN_TAG = MYTOOLS&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;#MAX_CONCURRENT_THREAD_NUMBER = 1&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate;&quot;&gt;MAX_CONCURRENT_THREAD_NUMBER = 8 &amp;nbsp;# My CPU is Quad Core&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;BUILD_RULE_CONF = Conf/build_rule.txt&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;Build完後，可以到&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;file:///C:/EDK2/Build/NT32/DEBUG_MYTOOLS/IA32&quot;&gt;C:\EDK2\Build\NT32\DEBUG_MYTOOLS\IA32&lt;/a&gt;&lt;/div&gt;&lt;div&gt;鍵入secmain.exe&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;&lt;a href=&quot;file:///C:/EDK2/Build/NT32/DEBUG_MYTOOLS/IA32&quot;&gt;C:\EDK2\Build\NT32\DEBUG_MYTOOLS\IA32&lt;/a&gt;\SecMain.exe&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;即可進入EDK2的模擬環境&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://elvischen1118.blogspot.com/feeds/7400972517990763144/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://elvischen1118.blogspot.com/2012/03/how-to-create-edk2-enviornment.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6595708052413456847/posts/default/7400972517990763144'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6595708052413456847/posts/default/7400972517990763144'/><link rel='alternate' type='text/html' href='http://elvischen1118.blogspot.com/2012/03/how-to-create-edk2-enviornment.html' title='How to create EDK2 enviornment?'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06099557769021272724</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6595708052413456847.post-7733683300952806985</id><published>2011-11-30T18:42:00.000-08:00</published><updated>2011-11-30T18:42:30.368-08:00</updated><title type='text'>PS2 Keyboard Malfunction Sometimes</title><content type='html'>最近遇到一個在POST過程中，隨意按鍵，有機率性的PS2 internal keyboard不能動的問題，所以為了解決這個問題，在BIOS logo出來時，去發一個keyboard reset給KBC controller。&lt;br /&gt;
&lt;br /&gt;
以下的程式碼就是發keyboard reset給KBC controller&lt;br /&gt;
&lt;br /&gt;
VOID&lt;br /&gt;
KeyBoardReset(&lt;br /&gt;
&amp;nbsp; VOID&lt;br /&gt;
&amp;nbsp; )&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp; UINT8 Data;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; //&lt;br /&gt;
&amp;nbsp; // Clear Output Buffer data&lt;br /&gt;
&amp;nbsp; //&lt;br /&gt;
&amp;nbsp; Data = IoInput8(0x64);&lt;br /&gt;
&amp;nbsp; while (Data &amp;amp; 0x01) {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; Data = IoInput8(0x60);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; Data = IoInput8(0x64);&lt;br /&gt;
&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
&amp;nbsp; //&lt;br /&gt;
&amp;nbsp; // Disalbe Aux Device&lt;br /&gt;
&amp;nbsp; //&lt;br /&gt;
&amp;nbsp; IoOutput8 (0x64, 0xA7);&lt;br /&gt;
&amp;nbsp; while (Data &amp;amp; 0x02) {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; Data = IoInput8(0x64);&lt;br /&gt;
&amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; //&lt;br /&gt;
&amp;nbsp; // Disalbe Keyboard&lt;br /&gt;
&amp;nbsp; //&lt;br /&gt;
&amp;nbsp; IoOutput8 (0x64, 0xAD);&lt;br /&gt;
&amp;nbsp; while (Data &amp;amp; 0x02) {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; Data = IoInput8(0x64);&lt;br /&gt;
&amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; //&lt;br /&gt;
&amp;nbsp; // Reset keyboard.&lt;br /&gt;
&amp;nbsp; //&lt;br /&gt;
&amp;nbsp; IoOutput8 (0x60, 0xFF);&lt;br /&gt;
&amp;nbsp; Data = IoInput8(0x64);&lt;br /&gt;
&amp;nbsp; while (!(Data &amp;amp; 0x01)) {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; Data = IoInput8(0x64);&lt;br /&gt;
&amp;nbsp; }&lt;br /&gt;
&amp;nbsp; Data = IoInput8(0x60);&lt;br /&gt;
&amp;nbsp; Data = IoInput8(0x64);&lt;br /&gt;
&amp;nbsp; while (!(Data &amp;amp; 0x01)) {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; Data = IoInput8(0x64);&lt;br /&gt;
&amp;nbsp; }&lt;br /&gt;
&amp;nbsp; Data = IoInput8(0x60);&lt;br /&gt;
}</content><link rel='replies' type='application/atom+xml' href='http://elvischen1118.blogspot.com/feeds/7733683300952806985/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://elvischen1118.blogspot.com/2011/11/ps2-keyboard-malfunction-sometimes.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6595708052413456847/posts/default/7733683300952806985'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6595708052413456847/posts/default/7733683300952806985'/><link rel='alternate' type='text/html' href='http://elvischen1118.blogspot.com/2011/11/ps2-keyboard-malfunction-sometimes.html' title='PS2 Keyboard Malfunction Sometimes'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06099557769021272724</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6595708052413456847.post-6830269338464554232</id><published>2011-11-28T23:34:00.000-08:00</published><updated>2011-11-28T23:34:30.628-08:00</updated><title type='text'>Kindle Touch 連不上Wi-Fi?</title><content type='html'>在剛開始使用Kindle Touch時，有遇到無法透過家中的無線分享器連上Wi-Fi，怎麼會這樣子呢?上網找各種solution，使用了以下的方式，讓Kindle Touch可以順利連上Wi-Fi。&lt;br /&gt;
&lt;br /&gt;
需求：一台安裝有Windows 7的電腦加上有一張無線網卡(若是筆電就是內建配備；&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 桌上型電腦的話，可能要再買一張USB無線網卡)&lt;br /&gt;
軟體：額外安裝Connectify(用谷歌可以搜尋的到)&lt;br /&gt;
&lt;br /&gt;
它的運作模式就是將你的電腦透過無線網卡，變成一個Hot Spot，讓你的Wi-Fi裝置可以透過它連上網路。簡單的方式就是，請記得密碼設定成10碼，編碼模式設成WEP。不然Kindle Touch可能會無法連上Wi-Fi。</content><link rel='replies' type='application/atom+xml' href='http://elvischen1118.blogspot.com/feeds/6830269338464554232/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://elvischen1118.blogspot.com/2011/11/kindle-touch-wi-fi.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6595708052413456847/posts/default/6830269338464554232'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6595708052413456847/posts/default/6830269338464554232'/><link rel='alternate' type='text/html' href='http://elvischen1118.blogspot.com/2011/11/kindle-touch-wi-fi.html' title='Kindle Touch 連不上Wi-Fi?'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06099557769021272724</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6595708052413456847.post-282940719880262290</id><published>2011-11-28T05:41:00.000-08:00</published><updated>2011-11-28T05:41:09.006-08:00</updated><title type='text'>Kindle Touch 開箱文</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;br /&gt;
期待已久的Kindle Touch WiFi 廣告版總算是入手了! &amp;nbsp;接下來就讓我來開箱吧。&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-TSCPzgaSMxK1BfYXWOomfwCwbcIPfS0fNAx7c3FsOHSpboyg2uVPYc3VWHZFjOKztoXxW2ihE-wpEqXIkgYABlW1q8ndPyQ6E10m4TteEzYiSaAMMe3IltjSSQOemj81vrxavEj5aTg/s1600/DSC_0998.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;214&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-TSCPzgaSMxK1BfYXWOomfwCwbcIPfS0fNAx7c3FsOHSpboyg2uVPYc3VWHZFjOKztoXxW2ihE-wpEqXIkgYABlW1q8ndPyQ6E10m4TteEzYiSaAMMe3IltjSSQOemj81vrxavEj5aTg/s320/DSC_0998.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSeuyGpIDu9cZR8T1AaZ6Y9UCd4KQ-F0NaQ1hjg4sUjPviSXlLOzb1RM_dT1rnembwdZvXqZvrDmhNW0C_mLDhT3i4_prQaxV_xFWzrPlg2gMqBwWQoQ4pVJLHLU8CiteqB7L9mSanhK4/s1600/DSC_1001.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;267&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSeuyGpIDu9cZR8T1AaZ6Y9UCd4KQ-F0NaQ1hjg4sUjPviSXlLOzb1RM_dT1rnembwdZvXqZvrDmhNW0C_mLDhT3i4_prQaxV_xFWzrPlg2gMqBwWQoQ4pVJLHLU8CiteqB7L9mSanhK4/s400/DSC_1001.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
簡單又環保的設計採破壞式開箱方式，我想這樣才會願意把盒子拿去回收吧(笑)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi86_Qf1xtXhiHYy3U-Tp-rTrZhXqvPsZSVS8ST1X9hkGretnEv7nqePlRWypk-MDzEBvOE38Kcl97ndHueN9fXXnzSvyJP5vTBhidORfGPEZSjTDIAp-UDfTjpGzfB4qsGG70izffJxQY/s1600/DSC_1002.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;267&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi86_Qf1xtXhiHYy3U-Tp-rTrZhXqvPsZSVS8ST1X9hkGretnEv7nqePlRWypk-MDzEBvOE38Kcl97ndHueN9fXXnzSvyJP5vTBhidORfGPEZSjTDIAp-UDfTjpGzfB4qsGG70izffJxQY/s400/DSC_1002.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
主角登場了!!! &amp;nbsp;伴隨著淡淡的紙盒香味飄出~在Kindle Touch的螢幕上有讓人有看來像是擺上一張紙的感覺，但那其實就是電子紙的魔力啊!!!在Kindle Touch螢幕下方有四條線(好在不是設計成三條線冏rz)，那就是Home鍵，在機身下方由左至右有micro USB孔、耳機孔、和開關鍵。&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1EJv0HMbS9HBdRe_9a2EkOPJypDNgAH5l-kOOhJOCofaj6kuPuM4ScbFBJNs1ZtkQQnPmZw_bk3zOeJoOoLLTN-QFwCDBg8iGwijzXoal-OMROachfEmb83AtjF9YuRjUaB3H1Aa2kPg/s1600/DSC_1005.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1EJv0HMbS9HBdRe_9a2EkOPJypDNgAH5l-kOOhJOCofaj6kuPuM4ScbFBJNs1ZtkQQnPmZw_bk3zOeJoOoLLTN-QFwCDBg8iGwijzXoal-OMROachfEmb83AtjF9YuRjUaB3H1Aa2kPg/s400/DSC_1005.png&quot; width=&quot;267&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
側身設計很薄&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGLRlsE83jfW8XzJaOQnOyNnojdqmG4GbSgjXRXr-Z_DQjLM6zUy2mG8IKMqrNSegglf-mIAmIKL4d-oFECJ0RpCe4FzZ78Mf1DBvzCnt2ghMuvO1p-_8HRxN5VMC5Ida07nbZHGpOo14/s1600/DSC_0001.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGLRlsE83jfW8XzJaOQnOyNnojdqmG4GbSgjXRXr-Z_DQjLM6zUy2mG8IKMqrNSegglf-mIAmIKL4d-oFECJ0RpCe4FzZ78Mf1DBvzCnt2ghMuvO1p-_8HRxN5VMC5Ida07nbZHGpOo14/s400/DSC_0001.png&quot; width=&quot;266&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
躺在Kindle Touch正下方的就是傳輸以及充電的micro USB線&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGPDibMYQpCiCoJcf_Wj3W_0AXH0_q144RLUv48g3wNrgKX-lhY0oDdyLKaRV9KsZGE-f89Flh7FmjW4aiXG9Ac9N20-ejkQEmugw6k5A2pn3Yy2UwWrEskX6GNJzaFqxYsJnV7_ATj9Y/s1600/DSC_1008.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;267&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGPDibMYQpCiCoJcf_Wj3W_0AXH0_q144RLUv48g3wNrgKX-lhY0oDdyLKaRV9KsZGE-f89Flh7FmjW4aiXG9Ac9N20-ejkQEmugw6k5A2pn3Yy2UwWrEskX6GNJzaFqxYsJnV7_ATj9Y/s400/DSC_1008.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
準備插上USB線來大展身手囉。&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhTBg_yZ2slexJNao4Ru82B_ax5uiFXxxgtJT6SLsIwLTqsFh57j_96BgVgpB60Z5HzaAMnO29mHLCCNleJgvwC-nt_8JQk8mB7wR7N21kSU5epZTs_BsJGLrFIKmDaolp2hzxBgJNbnpY/s1600/DSC_0008.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhTBg_yZ2slexJNao4Ru82B_ax5uiFXxxgtJT6SLsIwLTqsFh57j_96BgVgpB60Z5HzaAMnO29mHLCCNleJgvwC-nt_8JQk8mB7wR7N21kSU5epZTs_BsJGLrFIKmDaolp2hzxBgJNbnpY/s400/DSC_0008.png&quot; width=&quot;266&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
可以看到插上USB線後，橘燈亮起，它就自動開機了...&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiw7wkzdXC4Q-K8ixlHo3B1AGJaD1y7qEeObwHcc-wG3mxH9DhrpeS0xBvhtjKzHigPFl9iPC2mttQ8FPKVMAuziMWALI1UGTakGr-m3lKwRdBMiDiiZz7Dyiw0TfNfPyNgkvvMD1ZND5U/s1600/DSC_0013.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;267&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiw7wkzdXC4Q-K8ixlHo3B1AGJaD1y7qEeObwHcc-wG3mxH9DhrpeS0xBvhtjKzHigPFl9iPC2mttQ8FPKVMAuziMWALI1UGTakGr-m3lKwRdBMiDiiZz7Dyiw0TfNfPyNgkvvMD1ZND5U/s400/DSC_0013.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
接下來就會看到一連串的Kindle Touch的自我介紹。若迫不及待，可以按下方四條横線的Home鍵開始設定Kindle Touch吧。&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimsgq-w1eEmYU7saa7GvIL29PJTRrvXfxGq7DQSxAc1NEk85CcJ2-f5B6PHeI-HSHi78cZ1DFsFY4YgLNQMRfCSnSfAryrMfMsGDnVudL4CQ0IcYPBS0NUv1iCEmwAzK5ZzydDuoZqKC0/s1600/DSC_0019.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimsgq-w1eEmYU7saa7GvIL29PJTRrvXfxGq7DQSxAc1NEk85CcJ2-f5B6PHeI-HSHi78cZ1DFsFY4YgLNQMRfCSnSfAryrMfMsGDnVudL4CQ0IcYPBS0NUv1iCEmwAzK5ZzydDuoZqKC0/s400/DSC_0019.png&quot; width=&quot;266&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
最重要的就是設定Kindle Touch的Wi-Fi，讓它連上網路。&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJPpHf8npwnj2mvViUgu269ytAo9lFEYSI0E760fFdUX4UgFIiFuh_43JeA75qNoV974g62XciyQ3sOk0rxWa91xTrfSSB6c0Uxapp0aTDqX2yKin3zvCDFmsT3WbQRZhpeccqh14aA-w/s1600/DSC_0025.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJPpHf8npwnj2mvViUgu269ytAo9lFEYSI0E760fFdUX4UgFIiFuh_43JeA75qNoV974g62XciyQ3sOk0rxWa91xTrfSSB6c0Uxapp0aTDqX2yKin3zvCDFmsT3WbQRZhpeccqh14aA-w/s400/DSC_0025.png&quot; width=&quot;266&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
連上Wi-Fi後，就會看到有Wi-Fi字樣出現在右上角&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQxm6x5RptygveIxhhezuHpR5vNUuPcVw2YAHR8Mo4IcOWcVvPyORtP7O2t66nuP7nwU2gJO5jXKCFcmmGhnvvTfTD4PYYOJMraKhTet8cTP-E5vHC0Y2EIJK5Iltor4SQo7uNKOrahwg/s1600/DSC_0027.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;267&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQxm6x5RptygveIxhhezuHpR5vNUuPcVw2YAHR8Mo4IcOWcVvPyORtP7O2t66nuP7nwU2gJO5jXKCFcmmGhnvvTfTD4PYYOJMraKhTet8cTP-E5vHC0Y2EIJK5Iltor4SQo7uNKOrahwg/s400/DSC_0027.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
設成完成後就註冊Amazon的帳號準備買書吧。&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjUCJbynu7ZXrnrvjAf1pQ9HHcqlf93LnXREWEX4DLUT6eZe3drBanLcDlKirYWCSZeYBFfQ-mDLVBepMUB_v4qq7igrIaRcDcNuoJ_-BBJdpsqITpdw9iIdKPB-EqvkuHja_YuxYtWYSE/s1600/DSC_0028.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjUCJbynu7ZXrnrvjAf1pQ9HHcqlf93LnXREWEX4DLUT6eZe3drBanLcDlKirYWCSZeYBFfQ-mDLVBepMUB_v4qq7igrIaRcDcNuoJ_-BBJdpsqITpdw9iIdKPB-EqvkuHja_YuxYtWYSE/s400/DSC_0028.png&quot; width=&quot;266&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
背面的設計也是很有質感的。&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8YDJQJyqghS1DVeSmEp3KBI7UzV443Tdl3_tN0Ezbml2ChT1rUMGYJArtejY2m0mUMnkAZ4_3xmXRB74rDENP_k_En-sismwKeibJ3zzB4LWqjk8PcsZJ5OQXSbgQQNPd3JmTwbT5V64/s1600/DSC_1013.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8YDJQJyqghS1DVeSmEp3KBI7UzV443Tdl3_tN0Ezbml2ChT1rUMGYJArtejY2m0mUMnkAZ4_3xmXRB74rDENP_k_En-sismwKeibJ3zzB4LWqjk8PcsZJ5OQXSbgQQNPd3JmTwbT5V64/s400/DSC_1013.png&quot; width=&quot;266&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Kindle Touch優點：&lt;br /&gt;
1. 以觸控的電子書來說，紅外線觸控方式在Kindle Touch表現的很不錯&lt;br /&gt;
2. 即時英文長押螢幕單字來查詢，非常適合學習英文&lt;br /&gt;
3. 大小和重量適中，很適合帶出門喝咖啡邊看書，多愜意啊&lt;br /&gt;
4. 翻頁的反應速度似乎有比前一代進步&lt;br /&gt;
5. 由於是電子紙，電池續航力最長可以到兩個月&lt;br /&gt;
6. 最大優點是電子紙螢幕看再久，眼睛也不會痠&lt;br /&gt;
&lt;br /&gt;
Kindle Touch缺點：&lt;br /&gt;
1. 資料夾管理系統不是很方便&lt;br /&gt;
2. 如果將機身横擺，也沒辦法將文件橫向顯示&lt;br /&gt;
3. 手指要乾淨，才不會把螢幕弄髒(笑)</content><link rel='replies' type='application/atom+xml' href='http://elvischen1118.blogspot.com/feeds/282940719880262290/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://elvischen1118.blogspot.com/2011/11/kindle-touch.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6595708052413456847/posts/default/282940719880262290'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6595708052413456847/posts/default/282940719880262290'/><link rel='alternate' type='text/html' href='http://elvischen1118.blogspot.com/2011/11/kindle-touch.html' title='Kindle Touch 開箱文'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06099557769021272724</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-TSCPzgaSMxK1BfYXWOomfwCwbcIPfS0fNAx7c3FsOHSpboyg2uVPYc3VWHZFjOKztoXxW2ihE-wpEqXIkgYABlW1q8ndPyQ6E10m4TteEzYiSaAMMe3IltjSSQOemj81vrxavEj5aTg/s72-c/DSC_0998.png" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6595708052413456847.post-684700606949673035</id><published>2011-11-21T20:05:00.000-08:00</published><updated>2011-11-21T20:05:50.292-08:00</updated><title type='text'>Set PS2 KB LED Status (Num Lock/Cap Lock/Scroll Lock) in Code</title><content type='html'>1. Send keyboard command 0xED to KBC command port 0x64&lt;br /&gt;
2. Wait for the response 0xFA value from KBC data port 0x60&lt;br /&gt;
3.&amp;nbsp;Send keyboard LED status command to KBC command port 0x64&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EDh nn&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;write LEDs. nn=&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;b2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Caps Lock&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; b1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Num Lock&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; b0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Scroll Lock&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Ex. 0x05 means Caps Lock and Scroll Lock is enabled, Num Lock is disabled&lt;br /&gt;
4. Wait for the response 0xFA value from KBC data port 0x60</content><link rel='replies' type='application/atom+xml' href='http://elvischen1118.blogspot.com/feeds/684700606949673035/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://elvischen1118.blogspot.com/2011/11/set-ps2-kb-led-status-num-lockcap.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6595708052413456847/posts/default/684700606949673035'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6595708052413456847/posts/default/684700606949673035'/><link rel='alternate' type='text/html' href='http://elvischen1118.blogspot.com/2011/11/set-ps2-kb-led-status-num-lockcap.html' title='Set PS2 KB LED Status (Num Lock/Cap Lock/Scroll Lock) in Code'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06099557769021272724</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6595708052413456847.post-318504919095092562</id><published>2011-11-01T00:18:00.000-07:00</published><updated>2011-11-01T00:19:24.274-07:00</updated><title type='text'>Trigger SMI to Do CpuIo Cause System Hangs Up Under Windows</title><content type='html'>We would like to use CpuIo protocol and must locate it first.&lt;br /&gt;
&lt;br /&gt;
Status = gBS-&amp;gt;LocateProtocol (&amp;amp;gEfiCpuIoProtocolGuid, NULL, &amp;amp;CpuIo);&lt;br /&gt;
There is a question here, system is entered windows&amp;nbsp;that has exited boot service.&lt;br /&gt;
Therefore,&amp;nbsp;we locate this protocol will cause system&amp;nbsp;hangs up.&lt;br /&gt;
To avoid this, we should create a global variable to save the&amp;nbsp;CpuIo pointer when system during POST phase.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;EFI_CPU_IO_PROTOCOL&amp;nbsp;&amp;nbsp; *mCpuIo = NULL;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
EFI_DRIVER_ENTRY_POINT (&lt;span style=&quot;color: red;&quot;&gt;SctCpuIoPointSave&lt;/span&gt;)&lt;br /&gt;
EFI_STATUS&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;SctCpuIoPointSave&lt;/span&gt; (&lt;br /&gt;
&amp;nbsp; IN EFI_HANDLE ImageHandle,&lt;br /&gt;
&amp;nbsp; IN EFI_SYSTEM_TABLE *SystemTable&lt;br /&gt;
&amp;nbsp; )&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp; EFI_STATUS Status;&lt;br /&gt;
&amp;nbsp; EFI_HANDLE Handle;&lt;br /&gt;
&amp;nbsp; DxeInitializeDriverLib (ImageHandle, SystemTable);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; //&lt;br /&gt;
&amp;nbsp; // Locate CpuIo protocol.&lt;br /&gt;
&amp;nbsp; //&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&amp;nbsp; Status = gBS-&amp;gt;LocateProtocol ( &amp;amp;gEfiCpuIoProtocolGuid, NULL, &amp;amp;mCpuIo ) ;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp; return Status;&lt;br /&gt;
} // EnteyPoint.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Just need to call your function in SMI code to use CpuIo.&lt;br /&gt;
For example,&lt;br /&gt;
&lt;br /&gt;
VOID&lt;br /&gt;
ShowPort80&amp;nbsp;(VOID)&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp; EFI_STATUS&amp;nbsp;&amp;nbsp;&amp;nbsp; Status ;&lt;br /&gt;
&amp;nbsp; UINT8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Data ;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Data = 0x99;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&amp;nbsp; Status = mCpuIo-&amp;gt;Io.Write (&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mCpuIo,&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EfiCpuIoWidthUint8,&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x80,&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1,&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;Data);&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; ASSERT_EFI_ERROR (Status);&lt;br /&gt;
}</content><link rel='replies' type='application/atom+xml' href='http://elvischen1118.blogspot.com/feeds/318504919095092562/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://elvischen1118.blogspot.com/2011/11/trigger-smi-to-do-cpuio-cause-system.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6595708052413456847/posts/default/318504919095092562'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6595708052413456847/posts/default/318504919095092562'/><link rel='alternate' type='text/html' href='http://elvischen1118.blogspot.com/2011/11/trigger-smi-to-do-cpuio-cause-system.html' title='Trigger SMI to Do CpuIo Cause System Hangs Up Under Windows'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06099557769021272724</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6595708052413456847.post-7242465063210755203</id><published>2011-10-26T19:31:00.000-07:00</published><updated>2011-10-26T19:31:17.203-07:00</updated><title type='text'>How do I hide the &quot;Devices and Printers&quot; of hardware component in Windows 7</title><content type='html'>&lt;div style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0in 0.375in;&quot;&gt;For example: want to remove the camera device in devices and printers&lt;/div&gt;&lt;div style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0in 0.375in;&quot;&gt;Just need to add red part in device ASL code.&lt;/div&gt;&lt;div style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0in 0.375in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0in 0.375in;&quot;&gt;Device(PRT3) {&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0in 0.375in;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Name(_ADR, 0x00000003)&lt;/div&gt;&lt;div style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Name(_UPC, package() {&lt;/div&gt;&lt;div style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;&lt;span lang=&quot;zh-TW&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;en-US&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;zh-TW&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;0x00,&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;0xFF,&lt;/div&gt;&lt;div style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0in 0.375in;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;0x00000000,&lt;/div&gt;&lt;div style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;0x00000000&lt;/div&gt;&lt;div style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;})&lt;/div&gt;&lt;div style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Using method _RMV remove component&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Method(_RMV,0)&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;span lang=&quot;zh-TW&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Return(0x00)&lt;/span&gt;&lt;span lang=&quot;en-US&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;// 0 : Unremovable 1: Removable&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://elvischen1118.blogspot.com/feeds/7242465063210755203/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://elvischen1118.blogspot.com/2011/10/how-do-i-hide-devices-and-printers-of.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6595708052413456847/posts/default/7242465063210755203'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6595708052413456847/posts/default/7242465063210755203'/><link rel='alternate' type='text/html' href='http://elvischen1118.blogspot.com/2011/10/how-do-i-hide-devices-and-printers-of.html' title='How do I hide the &quot;Devices and Printers&quot; of hardware component in Windows 7'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06099557769021272724</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6595708052413456847.post-6424061779010233809</id><published>2011-08-25T22:48:00.000-07:00</published><updated>2011-08-25T22:48:50.433-07:00</updated><title type='text'>Deep S3</title><content type='html'>Why do&amp;nbsp;we need deep S3?&lt;br /&gt;
A: Deep S3 can save more power consumption for&amp;nbsp;notebook battery life.&lt;br /&gt;
&lt;br /&gt;
How does the deep S3 work?&lt;br /&gt;
A: Deep S3 will automatically activate when notebook only attach the battery without AC plug-in and during S3. System goes to sleep to S3 will check the AC adapt is present or not. If AC is plug-in, the system will enter normal S3. If system without AC plug-in, the system will enter deep S3. &lt;br /&gt;
&lt;br /&gt;
More information can refer to &quot;Intel Deep S3 Implementation Guide&quot;.</content><link rel='replies' type='application/atom+xml' href='http://elvischen1118.blogspot.com/feeds/6424061779010233809/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://elvischen1118.blogspot.com/2011/08/deep-s3.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6595708052413456847/posts/default/6424061779010233809'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6595708052413456847/posts/default/6424061779010233809'/><link rel='alternate' type='text/html' href='http://elvischen1118.blogspot.com/2011/08/deep-s3.html' title='Deep S3'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06099557769021272724</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6595708052413456847.post-530167710744942320</id><published>2011-08-21T23:31:00.001-07:00</published><updated>2011-08-21T23:31:44.527-07:00</updated><title type='text'>AMD UMI and PCIe Bridge Register Access Method</title><content type='html'>&lt;br /&gt;
&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;If we want to access the UMI and the FCH/GPP link interface could through the following register spaces: ABCFG, AXCFG, AXINDC, AXINDP, RCINDC, and RCINDP&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;Change the register spaces must through the AB_INDX/AB_DATA register pair. You can get the AB_INDX through PM_REG that IO index port 0xCD6 and IO data port 0xCD7 offset 0xE0 register.&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;For example, if the PM_REG offset 0xE0 is 0xCD8 that means the AB_INDX is 0xCD8 and AB_DATA is equal to AB_INDX + 4.&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;========================================&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;AXINDC Registers:&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;AX_INDXC 0x30&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;AX_DATAC 0x34&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;Example 1: For Write Temp to AXINDC 20h&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;Out CD8h, 00000030h&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;Out CDCh, 00000020h&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;Out CD8h, 00000034h&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;Out CDCh, Temp&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;=========================================&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;AXINDP Registers:&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;AX_INDXP 0x38&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;AX_DATAP 0x3C&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;Example 2: For Write Temp to AXINDP 20h&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;Out CD8h, 40000030h&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;Out CDCh, 00000020h&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;Out CD8h, 40000034h&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;Out CDCh, Temp&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;=========================================&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;AXCFG Registers:&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;Example 3: For Write Temp to AXCFG 03h&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;Out CD8h, 80000003h&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;Out CDCh, Temp&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;=========================================&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;ABCFG Registers:&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;Example 4: For Write 0xFFFFFFFF to ABCFG 04h&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;Out CD8h, C0000004h&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;Out&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;CDCh, FFFFFFFFh&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;=========================================&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;RCINDC Registers:&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;Example 5: For Write Temp to RCINDC 14h&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;Out CD8h, 20000014h&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;Out CDCh, Temp&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;=========================================&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;RCINDP Registers:&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;Example 6: For Write Temp to RCINDP A0h(PortB)&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;Out CD8h, 610000A0h&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;Out&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;CDCh, Temp&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://elvischen1118.blogspot.com/feeds/530167710744942320/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://elvischen1118.blogspot.com/2011/08/amd-umi-and-pcie-bridge-register-access.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6595708052413456847/posts/default/530167710744942320'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6595708052413456847/posts/default/530167710744942320'/><link rel='alternate' type='text/html' href='http://elvischen1118.blogspot.com/2011/08/amd-umi-and-pcie-bridge-register-access.html' title='AMD UMI and PCIe Bridge Register Access Method'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06099557769021272724</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6595708052413456847.post-8103722907052233822</id><published>2011-08-10T19:31:00.000-07:00</published><updated>2011-08-10T19:31:48.774-07:00</updated><title type='text'>How to know the notebook panel resolution during POST</title><content type='html'>The horizontal&amp;nbsp;can get from EDID table bytes 0x38(lower 8 bits)&amp;nbsp;and 0x3A(Upper 4:4 bits).&lt;br /&gt;
For example:&lt;br /&gt;
Bytes&amp;nbsp;&amp;nbsp; Value&lt;br /&gt;
0x38&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0xA0&lt;br /&gt;
0x3A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x50&lt;br /&gt;
&lt;br /&gt;
Horizotal = (Offset (0x3A) &amp;amp; 0xF0 &amp;lt;&amp;lt; 4) + Offset (0x38)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = (0x50 &amp;lt;&amp;lt; 4) + 0xA0&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 0x5A0 (Hex)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 1440 (Dec)&lt;br /&gt;
&lt;br /&gt;
The vertical can get from EDID table bytes 0x3B(lower 8 bits)&amp;nbsp;and 0x3D(Upper 4:4 bits).&lt;br /&gt;
For example:&lt;br /&gt;
Bytes&amp;nbsp;&amp;nbsp; Value&lt;br /&gt;
0x3B&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x84&lt;br /&gt;
0x3D&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x30&lt;br /&gt;
&lt;br /&gt;
Vertical = (Offset (0x3D) &amp;amp; 0xF0 &amp;lt;&amp;lt; 4) + Offset (0x3B)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = (0x30 &amp;lt;&amp;lt; 4) + 0x84&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 0x384 (Hex)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =&amp;nbsp;900 (Dec)&lt;br /&gt;
&lt;br /&gt;
Therefore, we can know the panel resoultion is 1440 * 900 for this example.</content><link rel='replies' type='application/atom+xml' href='http://elvischen1118.blogspot.com/feeds/8103722907052233822/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://elvischen1118.blogspot.com/2011/08/how-to-know-notebook-panel-resolution.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6595708052413456847/posts/default/8103722907052233822'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6595708052413456847/posts/default/8103722907052233822'/><link rel='alternate' type='text/html' href='http://elvischen1118.blogspot.com/2011/08/how-to-know-notebook-panel-resolution.html' title='How to know the notebook panel resolution during POST'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06099557769021272724</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6595708052413456847.post-8094650451755424187</id><published>2011-06-29T08:07:00.000-07:00</published><updated>2011-06-29T08:07:36.248-07:00</updated><title type='text'>Library Compiler Error - don&#39;t know how to make</title><content type='html'>遇到 don&#39;t know how to make LibraryX.lib 的情況，可以用以下的方式排除&lt;br /&gt;
1. 確定LibraryX.lib 在 AAA.dsc裡面有去定義這個AAA.inf&lt;br /&gt;
2. 若在build這個AAA.inf的library的時候就遇到compiler error，請先解決這個compiler error (可能是LibraryX建的方式有問題，可以參照其他現成的library做法)&lt;br /&gt;
3. 若你在BBB的檔案要引用這個LibraryX的時候，請先確定在build出來的temp目錄層底下，有長出LibraryX.lib的檔案。&lt;br /&gt;
4. 若有，請在BBB.inf裡確定以下兩點&lt;br /&gt;
[includes.common]&lt;br /&gt;
&lt;span style=&quot;color: #cc0000;&quot;&gt;&amp;nbsp; $(EFI_SOURCE)\(Library_ROOT)&amp;nbsp; //要指定路徑在library那一層&lt;/span&gt;&lt;br /&gt;
[libraries.common]&lt;br /&gt;
&amp;nbsp;&lt;span style=&quot;color: red;&quot;&gt; LibraryX&lt;/span&gt;&lt;br /&gt;
5.記住呼叫的Libray名字不要打錯，不然就會造成complier &quot;don&#39;t know how to make&quot; 的error</content><link rel='replies' type='application/atom+xml' href='http://elvischen1118.blogspot.com/feeds/8094650451755424187/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://elvischen1118.blogspot.com/2011/06/library-compiler-error-dont-know-how-to.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6595708052413456847/posts/default/8094650451755424187'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6595708052413456847/posts/default/8094650451755424187'/><link rel='alternate' type='text/html' href='http://elvischen1118.blogspot.com/2011/06/library-compiler-error-dont-know-how-to.html' title='Library Compiler Error - don&#39;t know how to make'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06099557769021272724</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6595708052413456847.post-5777017624372140242</id><published>2011-06-27T08:08:00.001-07:00</published><updated>2012-08-24T09:58:17.843-07:00</updated><title type='text'>SATA及USB介面傳輸速度比較表</title><content type='html'>&lt;div style=&quot;direction: ltr;&quot;&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse: collapse; border: 0pt solid rgb(163, 163, 163); direction: ltr;&quot; valign=&quot;top&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;border-width: 0pt; padding: 4pt; vertical-align: top; width: 0.931in;&quot;&gt;&lt;div style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;SATA版本&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-width: 0pt; padding: 4pt; vertical-align: top; width: 0.748in;&quot;&gt;&lt;div style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;頻寬&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-width: 0pt; padding: 4pt; vertical-align: top; width: 2.372in;&quot;&gt;&lt;div style=&quot;font-size: 12pt; margin: 0in;&quot;&gt;
&lt;span lang=&quot;zh-TW&quot; style=&quot;font-family: Calibri; font-weight: bold;&quot;&gt;速度&lt;/span&gt;&lt;span lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-weight: bold;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;zh-TW&quot; style=&quot;font-family: 新細明體; font-weight: bold;&quot;&gt;傳輸一部&lt;/span&gt;&lt;span lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-weight: bold;&quot;&gt;6G&lt;/span&gt;&lt;span lang=&quot;zh-TW&quot; style=&quot;font-family: 新細明體; font-weight: bold;&quot;&gt;高清電影&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-width: 0pt; padding: 4pt; vertical-align: top; width: 0.931in;&quot;&gt;&lt;div style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;
SATA 3.0&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-width: 0pt; padding: 4pt; vertical-align: top; width: 0.748in;&quot;&gt;&lt;div style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;
6Gb/s&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-width: 0pt; padding: 4pt; vertical-align: top; width: 2.372in;&quot;&gt;&lt;div style=&quot;font-size: 12pt; margin: 0in;&quot;&gt;
&lt;span lang=&quot;zh-TW&quot; style=&quot;font-family: Calibri;&quot;&gt;600MB&lt;/span&gt;&lt;span lang=&quot;en-US&quot; style=&quot;font-family: Calibri;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;zh-TW&quot; style=&quot;font-family: 新細明體;&quot;&gt;約&lt;/span&gt;&lt;span lang=&quot;en-US&quot; style=&quot;font-family: Calibri;&quot;&gt;10&lt;/span&gt;&lt;span lang=&quot;zh-TW&quot; style=&quot;font-family: 新細明體;&quot;&gt;秒&lt;/span&gt;&lt;span lang=&quot;en-US&quot; style=&quot;font-family: Calibri;&quot;&gt; (&lt;/span&gt;&lt;span lang=&quot;zh-TW&quot; style=&quot;font-family: 新細明體;&quot;&gt;理想值&lt;/span&gt;&lt;span lang=&quot;en-US&quot; style=&quot;font-family: Calibri;&quot;&gt;)&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-width: 0pt; padding: 4pt; vertical-align: top; width: 0.931in;&quot;&gt;&lt;div style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;
SATA 2.0&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-width: 0pt; padding: 4pt; vertical-align: top; width: 0.748in;&quot;&gt;&lt;div style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;
3Gb/s&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-width: 0pt; padding: 4pt; vertical-align: top; width: 2.372in;&quot;&gt;&lt;div style=&quot;font-size: 12pt; margin: 0in;&quot;&gt;
&lt;span lang=&quot;zh-TW&quot; style=&quot;font-family: Calibri;&quot;&gt;300MB&lt;/span&gt;&lt;span lang=&quot;en-US&quot; style=&quot;font-family: Calibri;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;zh-TW&quot; style=&quot;font-family: 新細明體;&quot;&gt;約&lt;/span&gt;&lt;span lang=&quot;en-US&quot; style=&quot;font-family: Calibri;&quot;&gt;20&lt;/span&gt;&lt;span lang=&quot;zh-TW&quot; style=&quot;font-family: 新細明體;&quot;&gt;秒&lt;/span&gt;&lt;span lang=&quot;en-US&quot; style=&quot;font-family: Calibri;&quot;&gt; (&lt;/span&gt;&lt;span lang=&quot;zh-TW&quot; style=&quot;font-family: 新細明體;&quot;&gt;理想值&lt;/span&gt;&lt;span lang=&quot;en-US&quot; style=&quot;font-family: Calibri;&quot;&gt;)&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-width: 0pt; padding: 4pt; vertical-align: top; width: 0.931in;&quot;&gt;&lt;div style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;
SATA 1.0&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-width: 0pt; padding: 4pt; vertical-align: top; width: 0.748in;&quot;&gt;&lt;div style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;
1.5Gb/s&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-width: 0pt; padding: 4pt; vertical-align: top; width: 2.372in;&quot;&gt;&lt;div style=&quot;font-size: 12pt; margin: 0in;&quot;&gt;
&lt;span lang=&quot;zh-TW&quot; style=&quot;font-family: Calibri;&quot;&gt;150MB&lt;/span&gt;&lt;span lang=&quot;en-US&quot; style=&quot;font-family: Calibri;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;zh-TW&quot; style=&quot;font-family: 新細明體;&quot;&gt;約&lt;/span&gt;&lt;span lang=&quot;en-US&quot; style=&quot;font-family: Calibri;&quot;&gt;40&lt;/span&gt;&lt;span lang=&quot;zh-TW&quot; style=&quot;font-family: 新細明體;&quot;&gt;秒&lt;/span&gt;&lt;span lang=&quot;en-US&quot; style=&quot;font-family: Calibri;&quot;&gt; (&lt;/span&gt;&lt;span lang=&quot;zh-TW&quot; style=&quot;font-family: 新細明體;&quot;&gt;理想值&lt;/span&gt;&lt;span lang=&quot;en-US&quot; style=&quot;font-family: Calibri;&quot;&gt;)&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr;&quot;&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse: collapse; border: 0pt solid rgb(163, 163, 163); direction: ltr;&quot; valign=&quot;top&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;border-width: 0pt; padding: 4pt; vertical-align: top; width: 0.849in;&quot;&gt;&lt;div style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;
&lt;span lang=&quot;en-US&quot; style=&quot;font-weight: bold;&quot;&gt;USB&lt;/span&gt;&lt;span lang=&quot;zh-TW&quot; style=&quot;font-weight: bold;&quot;&gt;版本&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-width: 0pt; padding: 4pt; vertical-align: top; width: 0.828in;&quot;&gt;&lt;div style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;頻寬&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-width: 0pt; padding: 4pt; vertical-align: top; width: 2.452in;&quot;&gt;&lt;div style=&quot;font-size: 12pt; margin: 0in;&quot;&gt;
&lt;span lang=&quot;zh-TW&quot; style=&quot;font-family: Calibri; font-weight: bold;&quot;&gt;速度&lt;/span&gt;&lt;span lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-weight: bold;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;zh-TW&quot; style=&quot;font-family: 新細明體; font-weight: bold;&quot;&gt;傳輸一部&lt;/span&gt;&lt;span lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-weight: bold;&quot;&gt;6G&lt;/span&gt;&lt;span lang=&quot;zh-TW&quot; style=&quot;font-family: 新細明體; font-weight: bold;&quot;&gt;高清電影&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-width: 0pt; padding: 4pt; vertical-align: top; width: 0.849in;&quot;&gt;&lt;div style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;
&lt;span lang=&quot;en-US&quot;&gt;USB&lt;/span&gt;&lt;span lang=&quot;zh-TW&quot;&gt; &lt;/span&gt;&lt;span lang=&quot;en-US&quot;&gt;3&lt;/span&gt;&lt;span lang=&quot;zh-TW&quot;&gt;.0&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-width: 0pt; padding: 4pt; vertical-align: top; width: 0.828in;&quot;&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;
5 Gb/s&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-width: 0pt; padding: 4pt; vertical-align: top; width: 2.452in;&quot;&gt;&lt;div style=&quot;font-size: 12pt; margin: 0in;&quot;&gt;
&lt;span lang=&quot;en-US&quot; style=&quot;font-family: Calibri;&quot;&gt;500M&lt;/span&gt;&lt;span lang=&quot;zh-TW&quot; style=&quot;font-family: Calibri;&quot;&gt;B&lt;/span&gt;&lt;span lang=&quot;en-US&quot; style=&quot;font-family: Calibri;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;zh-TW&quot; style=&quot;font-family: 新細明體;&quot;&gt;約&lt;/span&gt;&lt;span lang=&quot;en-US&quot; style=&quot;font-family: Calibri;&quot;&gt;12&lt;/span&gt;&lt;span lang=&quot;zh-TW&quot; style=&quot;font-family: 新細明體;&quot;&gt;秒&lt;/span&gt;&lt;span lang=&quot;en-US&quot; style=&quot;font-family: Calibri;&quot;&gt; (&lt;/span&gt;&lt;span lang=&quot;zh-TW&quot; style=&quot;font-family: 新細明體;&quot;&gt;理想值&lt;/span&gt;&lt;span lang=&quot;en-US&quot; style=&quot;font-family: Calibri;&quot;&gt;)&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-width: 0pt; padding: 4pt; vertical-align: top; width: 0.849in;&quot;&gt;&lt;div style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;
&lt;span lang=&quot;en-US&quot;&gt;USB&lt;/span&gt;&lt;span lang=&quot;zh-TW&quot;&gt; &lt;/span&gt;&lt;span lang=&quot;en-US&quot;&gt;2&lt;/span&gt;&lt;span lang=&quot;zh-TW&quot;&gt;.0&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-width: 0pt; padding: 4pt; vertical-align: top; width: 0.828in;&quot;&gt;&lt;div style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;
&lt;span lang=&quot;en-US&quot;&gt;480M&lt;/span&gt;&lt;span lang=&quot;zh-TW&quot;&gt;b&lt;/span&gt;&lt;span lang=&quot;en-US&quot;&gt;/s&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-width: 0pt; padding: 4pt; vertical-align: top; width: 2.452in;&quot;&gt;&lt;div style=&quot;font-size: 12pt; margin: 0in;&quot;&gt;
&lt;span lang=&quot;en-US&quot; style=&quot;font-family: Calibri;&quot;&gt;48M&lt;/span&gt;&lt;span lang=&quot;zh-TW&quot; style=&quot;font-family: Calibri;&quot;&gt;B&lt;/span&gt;&lt;span lang=&quot;en-US&quot; style=&quot;font-family: Calibri;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;zh-TW&quot; style=&quot;font-family: 新細明體;&quot;&gt;約&lt;/span&gt;&lt;span lang=&quot;en-US&quot; style=&quot;font-family: Calibri;&quot;&gt;125&lt;/span&gt;&lt;span lang=&quot;zh-TW&quot; style=&quot;font-family: 新細明體;&quot;&gt;秒&lt;/span&gt;&lt;span lang=&quot;en-US&quot; style=&quot;font-family: Calibri;&quot;&gt; (&lt;/span&gt;&lt;span lang=&quot;zh-TW&quot; style=&quot;font-family: 新細明體;&quot;&gt;理想值&lt;/span&gt;&lt;span lang=&quot;en-US&quot; style=&quot;font-family: Calibri;&quot;&gt;)&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-width: 0pt; padding: 4pt; vertical-align: top; width: 0.849in;&quot;&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;
USB 1.1&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-width: 0pt; padding: 4pt; vertical-align: top; width: 0.828in;&quot;&gt;&lt;div style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in;&quot;&gt;
&lt;span lang=&quot;en-US&quot;&gt;120M&lt;/span&gt;&lt;span lang=&quot;zh-TW&quot;&gt;b/s&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-width: 0pt; padding: 4pt; vertical-align: top; width: 2.452in;&quot;&gt;&lt;div style=&quot;font-size: 12pt; margin: 0in;&quot;&gt;
&lt;span lang=&quot;en-US&quot; style=&quot;font-family: Calibri;&quot;&gt;1.2M&lt;/span&gt;&lt;span lang=&quot;zh-TW&quot; style=&quot;font-family: Calibri;&quot;&gt;B&lt;/span&gt;&lt;span lang=&quot;en-US&quot; style=&quot;font-family: Calibri;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;zh-TW&quot; style=&quot;font-family: 新細明體;&quot;&gt;約&lt;/span&gt;&lt;span lang=&quot;en-US&quot; style=&quot;font-family: Calibri;&quot;&gt;5000&lt;/span&gt;&lt;span lang=&quot;zh-TW&quot; style=&quot;font-family: 新細明體;&quot;&gt;秒&lt;/span&gt;&lt;span lang=&quot;en-US&quot; style=&quot;font-family: Calibri;&quot;&gt; (&lt;/span&gt;&lt;span lang=&quot;zh-TW&quot; style=&quot;font-family: 新細明體;&quot;&gt;理想值&lt;/span&gt;&lt;span lang=&quot;en-US&quot; style=&quot;font-family: Calibri;&quot;&gt;)&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;div style=&quot;font-size: 12pt; margin: 0in;&quot;&gt;
&lt;span lang=&quot;en-US&quot; style=&quot;font-family: Calibri;&quot;&gt;&amp;nbsp;USB 1.0&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;1.5Mb/s&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;150K&lt;/span&gt;&lt;span lang=&quot;zh-TW&quot; style=&quot;font-family: Calibri;&quot;&gt;B&lt;/span&gt;&lt;span lang=&quot;en-US&quot; style=&quot;font-family: Calibri;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;zh-TW&quot; style=&quot;font-family: 新細明體;&quot;&gt;約&lt;/span&gt;&lt;span lang=&quot;en-US&quot; style=&quot;font-family: Calibri;&quot;&gt;40000&lt;/span&gt;&lt;span lang=&quot;zh-TW&quot; style=&quot;font-family: 新細明體;&quot;&gt;秒&lt;/span&gt;&lt;span lang=&quot;en-US&quot; style=&quot;font-family: Calibri;&quot;&gt; (&lt;/span&gt;&lt;span lang=&quot;zh-TW&quot; style=&quot;font-family: 新細明體;&quot;&gt;理想值&lt;/span&gt;&lt;span lang=&quot;en-US&quot; style=&quot;font-family: Calibri;&quot;&gt;)&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://elvischen1118.blogspot.com/feeds/5777017624372140242/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://elvischen1118.blogspot.com/2011/06/satausb.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6595708052413456847/posts/default/5777017624372140242'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6595708052413456847/posts/default/5777017624372140242'/><link rel='alternate' type='text/html' href='http://elvischen1118.blogspot.com/2011/06/satausb.html' title='SATA及USB介面傳輸速度比較表'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06099557769021272724</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6595708052413456847.post-3722611582762346398</id><published>2011-06-22T23:57:00.000-07:00</published><updated>2011-06-23T00:00:24.835-07:00</updated><title type='text'>How to make an EFI library?</title><content type='html'>1. 在inf檔裡修改&lt;br /&gt;
[defines]&lt;br /&gt;
&amp;nbsp; BASE_NAME&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =&amp;nbsp; &lt;span style=&quot;color: red;&quot;&gt;HelloLib&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; COMPONENT_TYPE&amp;nbsp; =&amp;nbsp; &lt;span style=&quot;color: red;&quot;&gt;LIBRARY&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
[sources.common]&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&amp;nbsp; Hello\Hello.c&lt;br /&gt;
&amp;nbsp; Hello\Hello.h&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
2. 把你需要的library function加到hello.c及hello.h裡&lt;br /&gt;
&lt;br /&gt;
3.在EFI driver去引用HelloLib的時候要去修改以下的檔案&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&amp;nbsp;&amp;nbsp; AbcDriver.inf&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&amp;nbsp;&amp;nbsp; AbcDriver.c&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4.AbcDriver.c要加入&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&amp;nbsp;&amp;nbsp; #include &quot;Hello.h&quot;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&amp;nbsp;&amp;nbsp; 用extern的方式加入library的function名字&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&amp;nbsp;&amp;nbsp; 並在你的function去呼叫你要用的library function即可&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
5.AbcDriver.inf要加入&lt;br /&gt;
[includes.common]&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&amp;nbsp; $(EFI_SOURCE)\Library\Hello&amp;nbsp; &amp;lt;== 指到放Hello.h的那一層目錄&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
[libraries.common]&amp;nbsp; &lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&amp;nbsp;&amp;nbsp; HelloLib&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://elvischen1118.blogspot.com/feeds/3722611582762346398/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://elvischen1118.blogspot.com/2011/06/how-to-make-efi-library.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6595708052413456847/posts/default/3722611582762346398'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6595708052413456847/posts/default/3722611582762346398'/><link rel='alternate' type='text/html' href='http://elvischen1118.blogspot.com/2011/06/how-to-make-efi-library.html' title='How to make an EFI library?'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06099557769021272724</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6595708052413456847.post-309442584431374098</id><published>2011-05-30T03:41:00.000-07:00</published><updated>2011-12-07T01:23:01.392-08:00</updated><title type='text'>INT 15h E820 Query Memory Map Use Debug32.exe</title><content type='html'>;Input:&lt;br /&gt;
;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; eax&amp;nbsp;&amp;nbsp; - function code 0E820H&lt;br /&gt;
;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ebx&amp;nbsp;&amp;nbsp; - continuation code, zero for first call&lt;br /&gt;
;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; es:di - buffer pointer , point to an buffer for BIOS to fill in.&lt;br /&gt;
;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ecx&amp;nbsp;&amp;nbsp; - buffer size , minimum is 20 bytes&lt;br /&gt;
;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; edx&amp;nbsp;&amp;nbsp; - signature &#39;SMAP&#39;&lt;br /&gt;
&lt;br /&gt;
C:\debug32&lt;br /&gt;
-r32&lt;br /&gt;
-a&lt;br /&gt;
&amp;nbsp; mov eax, 0000e820&lt;br /&gt;
&amp;nbsp; mov ebx, 0&lt;br /&gt;
&amp;nbsp; mov ecx, 14&lt;br /&gt;
&amp;nbsp; mov edx, 534d4150&lt;br /&gt;
&amp;nbsp; mov di, 200&lt;br /&gt;
&amp;nbsp; int 15&lt;br /&gt;
&amp;nbsp; int 3&lt;br /&gt;
&amp;nbsp; p&lt;br /&gt;
-go&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
;Output:&lt;br /&gt;
;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CF&amp;nbsp;&amp;nbsp;&amp;nbsp; - non-carry indicates no error&lt;br /&gt;
;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; eax&amp;nbsp;&amp;nbsp; - signature return &#39;SMAP&#39;&lt;br /&gt;
;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; es:di - buffer pointer, same as input&lt;br /&gt;
;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ecx&amp;nbsp;&amp;nbsp; - real buffer size return&lt;br /&gt;
;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ebx&amp;nbsp;&amp;nbsp; - continuation code , zero return if last run occured</content><link rel='replies' type='application/atom+xml' href='http://elvischen1118.blogspot.com/feeds/309442584431374098/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://elvischen1118.blogspot.com/2011/05/int-15h-e820-query-memory-map.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6595708052413456847/posts/default/309442584431374098'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6595708052413456847/posts/default/309442584431374098'/><link rel='alternate' type='text/html' href='http://elvischen1118.blogspot.com/2011/05/int-15h-e820-query-memory-map.html' title='INT 15h E820 Query Memory Map Use Debug32.exe'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06099557769021272724</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6595708052413456847.post-3887119170387597496</id><published>2011-05-26T02:42:00.000-07:00</published><updated>2011-05-26T02:42:41.966-07:00</updated><title type='text'>ACPI can&#39;t recogize OS type with Ubuntu operating system</title><content type='html'>ACPI can&#39;t recogize OS type with Ubuntu operating system&lt;br /&gt;
&lt;br /&gt;
Remove &quot;Linux&quot; from supported _OSI strings.&lt;br /&gt;
The Linux OS no longer wants to respond true for this string.&lt;br /&gt;
The only safe strings are windows-related as they represent the tested path through the BIOS-provided ASL.&lt;br /&gt;
===========================================================================&lt;br /&gt;
&lt;br /&gt;
現在Ubuntu不支援用_OSI strings的方式來回報OS類型</content><link rel='replies' type='application/atom+xml' href='http://elvischen1118.blogspot.com/feeds/3887119170387597496/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://elvischen1118.blogspot.com/2011/05/acpi-cant-recogize-os-type-with-ubuntu.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6595708052413456847/posts/default/3887119170387597496'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6595708052413456847/posts/default/3887119170387597496'/><link rel='alternate' type='text/html' href='http://elvischen1118.blogspot.com/2011/05/acpi-cant-recogize-os-type-with-ubuntu.html' title='ACPI can&#39;t recogize OS type with Ubuntu operating system'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06099557769021272724</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6595708052413456847.post-8037308120876315151</id><published>2011-05-23T01:33:00.000-07:00</published><updated>2011-05-24T01:09:17.127-07:00</updated><title type='text'>A20 Gate</title><content type='html'>&lt;div class=&quot;MsoListParagraph&quot; style=&quot;margin: 0cm 0cm 0pt 18pt; mso-list: l0 level1 lfo1; mso-para-margin-left: 0gd; text-indent: -18pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-fareast-font-family: Calibri;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;1.&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;新細明體&amp;quot;, &amp;quot;serif&amp;quot;;&quot;&gt;在&lt;/span&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;8086&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;新細明體&amp;quot;, &amp;quot;serif&amp;quot;;&quot;&gt;的系統，當初只設計&lt;/span&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;20&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;新細明體&amp;quot;, &amp;quot;serif&amp;quot;;&quot;&gt;根位址線。&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;新細明體&amp;quot;, &amp;quot;serif&amp;quot;;&quot;&gt;透過&lt;/span&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Segment + Offset&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;新細明體&amp;quot;, &amp;quot;serif&amp;quot;;&quot;&gt;的方式來定址，&lt;/span&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Ex. F000 : 0010h = F0000+ 0010h = F0010h&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;新細明體&amp;quot;, &amp;quot;serif&amp;quot;;&quot;&gt;那衍生了一個問題就是當&lt;/span&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;CS : IP&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;新細明體&amp;quot;, &amp;quot;serif&amp;quot;;&quot;&gt;的值為&lt;/span&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;FFFF : FFFFh = FFFF0 + FFFFh = 10FFEFh = 1M + 64K – 16 Bytes&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;新細明體&amp;quot;, &amp;quot;serif&amp;quot;;&quot;&gt;但系統只能存取到&lt;/span&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;1M&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;新細明體&amp;quot;, &amp;quot;serif&amp;quot;;&quot;&gt;以下，這該如何是好&lt;/span&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;? &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;新細明體&amp;quot;, &amp;quot;serif&amp;quot;;&quot;&gt;所以大於&lt;/span&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;1M&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;新細明體&amp;quot;, &amp;quot;serif&amp;quot;;&quot;&gt;，系統會直接回繞。&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoListParagraph&quot; style=&quot;margin: 0cm 0cm 0pt 18pt; mso-list: l0 level1 lfo1; mso-para-margin-left: 0gd; text-indent: -18pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-fareast-font-family: Calibri;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;2.&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;新細明體&amp;quot;, &amp;quot;serif&amp;quot;;&quot;&gt;在&lt;/span&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;80286&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;新細明體&amp;quot;, &amp;quot;serif&amp;quot;;&quot;&gt;的系統，位址線變成了&lt;/span&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;24&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;新細明體&amp;quot;, &amp;quot;serif&amp;quot;;&quot;&gt;根，但又要向下相容，&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;新細明體&amp;quot;, &amp;quot;serif&amp;quot;;&quot;&gt;就衍生了&lt;/span&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;A20&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;新細明體&amp;quot;, &amp;quot;serif&amp;quot;;&quot;&gt;的模式，當&lt;/span&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;A20&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;新細明體&amp;quot;, &amp;quot;serif&amp;quot;;&quot;&gt;是&lt;/span&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;disable&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;新細明體&amp;quot;, &amp;quot;serif&amp;quot;;&quot;&gt;，就等同於&lt;/span&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;8086&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;新細明體&amp;quot;, &amp;quot;serif&amp;quot;;&quot;&gt;的架構，&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;新細明體&amp;quot;, &amp;quot;serif&amp;quot;;&quot;&gt;若&lt;/span&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;A20 Enable&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;新細明體&amp;quot;, &amp;quot;serif&amp;quot;;&quot;&gt;，系統就可以存取到&lt;/span&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;2 ^ 24&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;新細明體&amp;quot;, &amp;quot;serif&amp;quot;;&quot;&gt;次方&lt;/span&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt; = 16M byte&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;新細明體&amp;quot;, &amp;quot;serif&amp;quot;;&quot;&gt;，也就是&lt;/span&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Segment&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;新細明體&amp;quot;, &amp;quot;serif&amp;quot;;&quot;&gt;變成最大值為&lt;/span&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;FFFFFh &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;新細明體&amp;quot;, &amp;quot;serif&amp;quot;;&quot;&gt;而不是&lt;/span&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;FFFFh&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Calibri;&quot;&gt;3.&amp;nbsp;&amp;nbsp; 開啟A20 Gate的方法，最簡單就是對IO Port 92h 的bit 1給設起來；反之關閉A20 Gate的方法，就是清掉IO Port 92h 的bit 1。&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
enable_A20:&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cli&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; call&amp;nbsp;&amp;nbsp;&amp;nbsp; a20wait&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mov&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; al,0xAD&amp;nbsp; ; Disable Keyboard&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; out&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x64,al&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; call&amp;nbsp;&amp;nbsp;&amp;nbsp; a20wait&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mov&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; al,0xD0&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; out&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x64,al&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; call&amp;nbsp;&amp;nbsp;&amp;nbsp; a20wait2&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; in&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; al,0x60&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; push&amp;nbsp;&amp;nbsp;&amp;nbsp; eax&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; call&amp;nbsp;&amp;nbsp;&amp;nbsp; a20wait&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mov&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; al,0xD1&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; out&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x64,al&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; call&amp;nbsp;&amp;nbsp;&amp;nbsp; a20wait&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pop&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; eax&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; or&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; al,2&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; out&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x60,al&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; call&amp;nbsp;&amp;nbsp;&amp;nbsp; a20wait&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mov&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; al,0xAE&amp;nbsp;&amp;nbsp; ; Enable Keyboard&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; out&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x64,al&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; call&amp;nbsp;&amp;nbsp;&amp;nbsp; a20wait&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sti&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ret&lt;br /&gt;
&lt;br /&gt;
a20wait:&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; in&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; al,0x64&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; test&amp;nbsp;&amp;nbsp;&amp;nbsp; al,2&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; jnz&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; a20wait&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ret&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
a20wait2:&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; in&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; al,0x64&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; test&amp;nbsp;&amp;nbsp;&amp;nbsp; al,1&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; jz&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; a20wait2&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ret&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://elvischen1118.blogspot.com/feeds/8037308120876315151/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://elvischen1118.blogspot.com/2011/05/a20-gate.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6595708052413456847/posts/default/8037308120876315151'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6595708052413456847/posts/default/8037308120876315151'/><link rel='alternate' type='text/html' href='http://elvischen1118.blogspot.com/2011/05/a20-gate.html' title='A20 Gate'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06099557769021272724</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6595708052413456847.post-1868267962935890675</id><published>2011-05-18T22:57:00.001-07:00</published><updated>2011-05-18T22:57:48.476-07:00</updated><title type='text'>8259 Control Word</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2vRKMueE-LWX2MneatgqShJjjZBJu9WhQbNlEZ0VOcDBnI5wx7rg0BbWWxR5lXK-hrVobDxhXqLkpxoj-muwkgU0Ab0uSIBAy0HzD0rLdRfF360ylEepkhJJBGFew7621mHah5CC3_vw/s1600/2021.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; cssfloat: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; j8=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2vRKMueE-LWX2MneatgqShJjjZBJu9WhQbNlEZ0VOcDBnI5wx7rg0BbWWxR5lXK-hrVobDxhXqLkpxoj-muwkgU0Ab0uSIBAy0HzD0rLdRfF360ylEepkhJJBGFew7621mHah5CC3_vw/s400/2021.png&quot; width=&quot;336&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSy3cnvSf4xMg1isqn_CUWgzxMFk_6KVWbZivPnYI3uBCR6SwKGEVeM7Cjbc2rkEv8-zFR-cbfmAr6bfWkTBkHpQ-jsgwWukLHiyJ2I6iFM07mBEDB2Lr_lk1jTBSfpKIuP58Y-_HmQhw/s1600/A0A1.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; cssfloat: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; j8=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSy3cnvSf4xMg1isqn_CUWgzxMFk_6KVWbZivPnYI3uBCR6SwKGEVeM7Cjbc2rkEv8-zFR-cbfmAr6bfWkTBkHpQ-jsgwWukLHiyJ2I6iFM07mBEDB2Lr_lk1jTBSfpKIuP58Y-_HmQhw/s400/A0A1.png&quot; width=&quot;345&quot; /&gt;&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://elvischen1118.blogspot.com/feeds/1868267962935890675/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://elvischen1118.blogspot.com/2011/05/8259-control-word.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6595708052413456847/posts/default/1868267962935890675'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6595708052413456847/posts/default/1868267962935890675'/><link rel='alternate' type='text/html' href='http://elvischen1118.blogspot.com/2011/05/8259-control-word.html' title='8259 Control Word'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06099557769021272724</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2vRKMueE-LWX2MneatgqShJjjZBJu9WhQbNlEZ0VOcDBnI5wx7rg0BbWWxR5lXK-hrVobDxhXqLkpxoj-muwkgU0Ab0uSIBAy0HzD0rLdRfF360ylEepkhJJBGFew7621mHah5CC3_vw/s72-c/2021.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6595708052413456847.post-2647233457148845304</id><published>2011-05-18T02:25:00.000-07:00</published><updated>2011-05-18T02:26:06.124-07:00</updated><title type='text'>RTC Lost Power</title><content type='html'>After&amp;nbsp;remove RTC coin battery, system plug-in RTC coin battery the CMOS&amp;nbsp;&amp;nbsp;register 0xE access by (index port 0x70/ data port 0x71) bit 7&amp;nbsp;will&amp;nbsp;be set. After check this bit, we also need to clear this bit by code.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgEcHvv22tAgISUOcVLo2kbX3-g-8Juh7NUCUbX6B0T_s1bu9mITCo-ejSAUmj0yrn5R4TfxlXyYts1tgZwE77ScM4VWGtCMVaII5mQuZM0wdahhyphenhyphenrElGypGBpdVJfXxQh54nwk6x_p-Fg/s1600/RTC.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; cssfloat: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;190&quot; j8=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgEcHvv22tAgISUOcVLo2kbX3-g-8Juh7NUCUbX6B0T_s1bu9mITCo-ejSAUmj0yrn5R4TfxlXyYts1tgZwE77ScM4VWGtCMVaII5mQuZM0wdahhyphenhyphenrElGypGBpdVJfXxQh54nwk6x_p-Fg/s400/RTC.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
============================================================================&lt;br /&gt;
&lt;br /&gt;
在移除RTC水銀電池後，然後再次插上，這時後CMOS register offset 0xE的位址，在(使用index port 0x70/ data port 0x71)方式存取，這時候的0xE的bit 7會被設起來，在code裡面，一檢查完，就需要清掉這個位元。</content><link rel='replies' type='application/atom+xml' href='http://elvischen1118.blogspot.com/feeds/2647233457148845304/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://elvischen1118.blogspot.com/2011/05/rtc-lost-power.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6595708052413456847/posts/default/2647233457148845304'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6595708052413456847/posts/default/2647233457148845304'/><link rel='alternate' type='text/html' href='http://elvischen1118.blogspot.com/2011/05/rtc-lost-power.html' title='RTC Lost Power'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06099557769021272724</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgEcHvv22tAgISUOcVLo2kbX3-g-8Juh7NUCUbX6B0T_s1bu9mITCo-ejSAUmj0yrn5R4TfxlXyYts1tgZwE77ScM4VWGtCMVaII5mQuZM0wdahhyphenhyphenrElGypGBpdVJfXxQh54nwk6x_p-Fg/s72-c/RTC.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6595708052413456847.post-5962600088687303839</id><published>2011-05-17T21:55:00.000-07:00</published><updated>2011-05-17T21:55:35.113-07:00</updated><title type='text'>About IO Decode (AMD Chipset)</title><content type='html'>1.Set IO base address in south bridge register&lt;br /&gt;
2.Enable Alternative Wide IO Range in south bridge register&lt;br /&gt;
3.Enable Wide IO Port in south bridge register&lt;br /&gt;
if system still can&#39;t open IO decode, we need to check&amp;nbsp; is occupied by another device using the same IO resource or not. We can check the value in each of PCI bridge offset 0x1C.PCI bridger IO resource is aligned to a 4KB boundary.&lt;br /&gt;
&lt;br /&gt;
============================================================================&lt;br /&gt;
&lt;br /&gt;
1.設定要做IO decode去設定南橋暫存器的IO Base Adress&lt;br /&gt;
2.開啟南橋暫存器的Alternative Wide IO Range&lt;br /&gt;
3.開啟南橋暫存器的Wide IO Port&lt;br /&gt;
若還是無法開啟IO decode，這時候就要檢查是否有別的device佔用到相同的IO decode的位址，可以先檢查每個PCI bridge的offset 0x1C的值，PCI bridge一次就是佔4K的IO resource。</content><link rel='replies' type='application/atom+xml' href='http://elvischen1118.blogspot.com/feeds/5962600088687303839/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://elvischen1118.blogspot.com/2011/05/about-io-decode-amd-chipset.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6595708052413456847/posts/default/5962600088687303839'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6595708052413456847/posts/default/5962600088687303839'/><link rel='alternate' type='text/html' href='http://elvischen1118.blogspot.com/2011/05/about-io-decode-amd-chipset.html' title='About IO Decode (AMD Chipset)'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06099557769021272724</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6595708052413456847.post-5978548106457129789</id><published>2011-05-16T07:37:00.000-07:00</published><updated>2011-05-16T07:37:20.265-07:00</updated><title type='text'>The Different Between LegacyBiosInt86 And LegacyBiosFarCall86</title><content type='html'>When we&amp;nbsp;wanna issue a software&amp;nbsp;interrupt, we need to call LegacyBiosInt86 thunk&amp;nbsp;function call.&lt;br /&gt;
When we&amp;nbsp;wanna jump to OPROM or other legacy address, we need to call LegacyBiosFarCall86 thunk function call.&lt;br /&gt;
&lt;br /&gt;
========================================================================&lt;br /&gt;
&lt;br /&gt;
LegacyBiosInt86是我們需要使用程式去呼叫INT時所使用到的thunk function ，像是CALL INT10...&lt;br /&gt;
LegacyBiosFarCall86是我們需要跳到option ROM address所需要用到的thunk function</content><link rel='replies' type='application/atom+xml' href='http://elvischen1118.blogspot.com/feeds/5978548106457129789/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://elvischen1118.blogspot.com/2011/05/different-between-legacybiosint86-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6595708052413456847/posts/default/5978548106457129789'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6595708052413456847/posts/default/5978548106457129789'/><link rel='alternate' type='text/html' href='http://elvischen1118.blogspot.com/2011/05/different-between-legacybiosint86-and.html' title='The Different Between LegacyBiosInt86 And LegacyBiosFarCall86'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06099557769021272724</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6595708052413456847.post-3418677560936536848</id><published>2011-05-10T20:48:00.000-07:00</published><updated>2011-05-10T20:48:25.150-07:00</updated><title type='text'>Bring Up BIOS</title><content type='html'>1. Modify GPIO that depends on platform design&lt;br /&gt;
2. Modify FDLA (Firmware Device Linear Address)&lt;br /&gt;
3. Change VBIOS&lt;br /&gt;
4. Change SPI ROM size&lt;br /&gt;
5. Disable KSC&lt;br /&gt;
&lt;br /&gt;
===========================================================================&lt;br /&gt;
&lt;br /&gt;
做一個Bring-up BIOS主要的工作如下：&lt;br /&gt;
1. 依照platform的layout去修改GPIO&lt;br /&gt;
2. 修改FDLA (Firmware Device Linear Address)&lt;br /&gt;
3. 換掉VBIOS&lt;br /&gt;
4. 依照platform的設計改變SPI ROM大小&lt;br /&gt;
5. 移除KSC</content><link rel='replies' type='application/atom+xml' href='http://elvischen1118.blogspot.com/feeds/3418677560936536848/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://elvischen1118.blogspot.com/2011/05/bring-up-bios.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6595708052413456847/posts/default/3418677560936536848'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6595708052413456847/posts/default/3418677560936536848'/><link rel='alternate' type='text/html' href='http://elvischen1118.blogspot.com/2011/05/bring-up-bios.html' title='Bring Up BIOS'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06099557769021272724</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6595708052413456847.post-6578807836493167311</id><published>2011-05-06T21:15:00.000-07:00</published><updated>2011-05-06T21:17:35.681-07:00</updated><title type='text'>Software SMI Behavior</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9dM2EydSxLaZ9L3lQmkOkYLFTFFfVHiFudwXse22guHvzh-AmN47UoGrrclkgAbSP1qxeauBE4a8z4k7vJpZdze1qc4juXj0EtN-1TDfugcGTLaRmDJ1Aay-GqneNkdZHB5GPJiMSj_c/s1600/SMM.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; cssfloat: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;374&quot; j8=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9dM2EydSxLaZ9L3lQmkOkYLFTFFfVHiFudwXse22guHvzh-AmN47UoGrrclkgAbSP1qxeauBE4a8z4k7vJpZdze1qc4juXj0EtN-1TDfugcGTLaRmDJ1Aay-GqneNkdZHB5GPJiMSj_c/s640/SMM.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://elvischen1118.blogspot.com/feeds/6578807836493167311/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://elvischen1118.blogspot.com/2011/05/smi-behavior.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6595708052413456847/posts/default/6578807836493167311'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6595708052413456847/posts/default/6578807836493167311'/><link rel='alternate' type='text/html' href='http://elvischen1118.blogspot.com/2011/05/smi-behavior.html' title='Software SMI Behavior'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06099557769021272724</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9dM2EydSxLaZ9L3lQmkOkYLFTFFfVHiFudwXse22guHvzh-AmN47UoGrrclkgAbSP1qxeauBE4a8z4k7vJpZdze1qc4juXj0EtN-1TDfugcGTLaRmDJ1Aay-GqneNkdZHB5GPJiMSj_c/s72-c/SMM.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6595708052413456847.post-2774645063153969490</id><published>2011-05-06T20:23:00.000-07:00</published><updated>2011-05-06T20:23:14.619-07:00</updated><title type='text'>ACPI Enable and Disable Behavior</title><content type='html'>&lt;strong&gt;&lt;em&gt;ACPI Enable&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;
OSPM performs this transition by writing the ACPI_ENABLE value to the SMI_CMD, which generates an event to the hardware to transition the platform into ACPI mode. When hardware has finished the transition, it sets the SCI_EN bit and returns control back to OSPM.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;em&gt;ACPI Disable&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;
While in the G0 “working state,” OSPM can request a transition to Legacy mode by writing the ACPI_DISABLE value to the SMI_CMD register, which results in the hardware going into legacy mode and resetting the SCI_EN bit LOW.&lt;br /&gt;
&lt;br /&gt;
=======================================================================&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;em&gt;ACPI Enable&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;
由OS去寫ACPI_ENABLE的值到SMI_CMD port，會由BIOS所註冊的ACPI Enable的SMI handler去處理將SCI_EN bit設起來，在這handler裡，OEM可以自行加入程式碼以達到一些特殊的需求，再將控制權交還給BIOS。&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;em&gt;ACPI Disable&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;
在ACPI_ENABLE下，也可由OS去寫ACPI_DISABLE的值到SMI_CMD port，會由BIOS所註冊的ACPI Disable的SMI handler去處理將SCI_EN bit清為零。</content><link rel='replies' type='application/atom+xml' href='http://elvischen1118.blogspot.com/feeds/2774645063153969490/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://elvischen1118.blogspot.com/2011/05/acpi-enable-and-disable-behavior.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6595708052413456847/posts/default/2774645063153969490'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6595708052413456847/posts/default/2774645063153969490'/><link rel='alternate' type='text/html' href='http://elvischen1118.blogspot.com/2011/05/acpi-enable-and-disable-behavior.html' title='ACPI Enable and Disable Behavior'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06099557769021272724</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>