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=liming.gao@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 DE9A62232BDEF for ; Mon, 22 Jan 2018 07:12:38 -0800 (PST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 22 Jan 2018 07:18:04 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,397,1511856000"; d="scan'208";a="25348632" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga001.jf.intel.com with ESMTP; 22 Jan 2018 07:18:03 -0800 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 22 Jan 2018 07:18:03 -0800 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.152]) by shsmsx102.ccr.corp.intel.com ([169.254.2.189]) with mapi id 14.03.0319.002; Mon, 22 Jan 2018 23:18:01 +0800 From: "Gao, Liming" To: Paulo Alcantara , JUNWEN JIA , "edk2-devel@lists.01.org" Thread-Topic: [edk2] EDK II debug question Thread-Index: AQHTk2cTZTG1R/cZRE20sqI070js6KN/WlwAgACm7HA= Date: Mon, 22 Jan 2018 15:18:01 +0000 Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A14E1A776C@SHSMSX104.ccr.corp.intel.com> References: <5a62e8aa.56b56b0a.84753.5dc4@mx.google.com> <13c16790-8e53-a88a-090e-2b6004f5e27b@paulo.ac> In-Reply-To: <13c16790-8e53-a88a-090e-2b6004f5e27b@paulo.ac> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: EDK II debug question 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: Mon, 22 Jan 2018 15:12:39 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable You need to write the separate assembly file. Edk2 prefres to use nasm asse= mbly for IA32 and X64 arch.=20 > -----Original Message----- > From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Pa= ulo Alcantara > Sent: Monday, January 22, 2018 9:20 PM > To: JUNWEN JIA ; edk2-devel@lists.01.org > Subject: Re: [edk2] EDK II debug question >=20 > On 1/20/2018 4:58 AM, JUNWEN JIA wrote: > > > > Hi: > > Could you please tell how to build assembly language using EDK2? > > I tried to create a .c file in AppPkg, but it goes like this: > > #include > > Void main() > > { > > _asm{} > > } > > I used X64 to compile this project, but it seems content like _asm{} is= not supported. > > Do I need to add extra files? And where should I add them? >=20 > AFAIK, inline assembly is not supported in X64 MSFT compiler. >=20 > Paulo > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel