From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=192.55.52.43; helo=mga05.intel.com; envelope-from=brian.richardson@intel.com; receiver=edk2-devel@lists.01.org Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 298AB223FCF2C for ; Thu, 15 Mar 2018 09:38:36 -0700 (PDT) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Mar 2018 09:45:00 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.48,311,1517904000"; d="scan'208";a="35303482" Received: from orsmsx104.amr.corp.intel.com ([10.22.225.131]) by orsmga003.jf.intel.com with ESMTP; 15 Mar 2018 09:45:00 -0700 Received: from orsmsx154.amr.corp.intel.com (10.22.226.12) by ORSMSX104.amr.corp.intel.com (10.22.225.131) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 15 Mar 2018 09:45:00 -0700 Received: from orsmsx114.amr.corp.intel.com ([169.254.8.126]) by ORSMSX154.amr.corp.intel.com ([169.254.11.77]) with mapi id 14.03.0319.002; Thu, 15 Mar 2018 09:44:59 -0700 From: "Richardson, Brian" To: "edk2-devel@lists.01.org" Thread-Topic: [edk2] Intel Reference Board doesn't work after inserting INT 15h/86h into Flat32.asm Thread-Index: AQHTu2lZytwiPTf2nEeNSlnoyb2KpqPRgfgg Date: Thu, 15 Mar 2018 16:44:59 +0000 Message-ID: <80AC2BAA3152784F98F581129E5CF5AFA47634EE@ORSMSX114.amr.corp.intel.com> References: In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMmYyNjMwMmEtOGQ0OC00MzRkLTk0NTQtYWUzYzQ5ZjE2MmI1IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE2LjUuOS4zIiwiVHJ1c3RlZExhYmVsSGFzaCI6IkpERENxWDZCcjZrdVVZcUJQbnQzUUFoM3FHQlRRZkJZSnhaU3o2OVlxU1E9In0= dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action x-originating-ip: [10.22.254.140] MIME-Version: 1.0 Subject: Re: Intel Reference Board doesn't work after inserting INT 15h/86h into Flat32.asm X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Mar 2018 16:38:37 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Toan: Calling an INT in SEC won't work, since the interrupt tables aren't populat= ed yet. In general you can't assume that any INT function works under UEFI. I'm not sure why you are having problems re-flashing the platform. I assume= you're using a SPI programmer of some sort, which could point to other iss= ues (wrong parameters, damaged flash part, etc.). Why do you need a one second pause in SEC phase? Which Intel reference board are you using? Thanks ... br --- Brian Richardson, Senior Technical Marketing Engineer, Intel Software brian.richardson@intel.com -- @intel_brian (Twitter & WeChat) https://software.intel.com/en-us/meet-the-developers/evangelists/team/brian= -richardson=20 -----Original Message----- From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Toan= Le manh Sent: Wednesday, March 14, 2018 3:52 AM To: edk2-devel@lists.01.org Subject: [edk2] Intel Reference Board doesn't work after inserting INT 15h/= 86h into Flat32.asm Hello everyone, I have an Intel Reference Board. I was trying to force BIOS to wait 1 secon= d in SEC phase. I inserted these assemble code (BIOS wait function) into very first of Prot= ectedModeEntryPoint in Flat32.asm file: MOV CX, 0FH MOV DX, 4240H MOV AH, 86H INT 15H Then, the board stopped working. Status code showed "00". Even when I re-flashed its original BIOS, it's still not worked. Could anyone please help me to figure out what's happen here? And how to fi= x it? I appreciate your helps. Thanks & BRs, Toan _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel