From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out04.hibox.biz (out04.hibox.biz [210.71.195.44]) by mx.groups.io with SMTP id smtpd.web11.1042.1608145537057335407 for ; Wed, 16 Dec 2020 11:05:38 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: insyde.com, ip: 210.71.195.44, mailfrom: tim.lewis@insyde.com) IronPort-SDR: Cr3nEtfWmH7T6xUDwYC2ZMi69g6L16p1aqTMVvazlXKdMDoWwEIrWG7SKxpahnqX2aCv0OhEv7 fkfSohR1dulQ== X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2CcBADpVtpf/ws0GKxigQkHgUiBI4F?= =?us-ascii?q?8V4RYiUyHfYgTh2oUhDCIGwsBAQEBAQEBAQEJLAECBAEBhEQEAoFzJjcGDgI?= =?us-ascii?q?DAQELAQEGAQEBAQEGBIZehgECIykwBQYHCVI/AQQeBYMXgX6BCK1KgTQaAoU?= =?us-ascii?q?7hRGBOIFljgGBETOCOIU4P4UpBINPCZ5cVptHB4J7m0cikw4DjyywToUHgWx?= =?us-ascii?q?ogRNwgzo+ERmEXYldF45HI2cCBgoBAQMJdAgVAYkrAQE?= X-IronPort-AV: E=Sophos;i="5.78,425,1599494400"; d="scan'208,217";a="38970240" Received: from unknown (HELO hb3-BKT201.hibox.biz) ([172.24.52.11]) by out04.hibox.biz with ESMTP; 17 Dec 2020 03:05:34 +0800 IronPort-SDR: Q1+mX83xz19XmdlD0tnhQ6ek7EyESyvEOveDw51XrC40V+hXjk2hw2I8N+Hf5HP2ETYg0ZWHQy 73ldZn73oTUQ== Received: from unknown (HELO hb3-BKT102.hibox.biz) ([172.24.51.12]) by hb3-BKT201.hibox.biz with ESMTP; 17 Dec 2020 03:05:35 +0800 IronPort-SDR: 8HDc9BWmY+5eVAkdlb7cIan4fHgnwPl64obG5mOjYLOa6NXgsJGUBfJpqahqmVNGE5eC9tVSQh FZZA5fHSoxiA== Received: from unknown (HELO hb3-IN03.hibox.biz) ([172.24.12.13]) by hb3-BKT102.hibox.biz with ESMTP; 17 Dec 2020 03:05:34 +0800 IronPort-SDR: 5kYGXD/NXuFX+VM6URKVcObfQWcm4NO+aaKvH4vT+W6e1YIBQQlZhEiwoJm6f/AsmCigLSa+fB zltMz4/esbcw== X-Remote-IP: 73.116.1.175 X-Remote-Host: c-73-116-1-175.hsd1.ca.comcast.net X-SBRS: -10.0 X-MID: 49734867 X-Auth-ID: tim.lewis@insyde.com X-EnvelopeFrom: tim.lewis@insyde.com hiBox-Sender: 1 Received: from c-73-116-1-175.hsd1.ca.comcast.net (HELO DESKTOPHG9V3E8) ([73.116.1.175]) by hb3-IN03.hibox.biz with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Dec 2020 03:05:32 +0800 From: "Tim Lewis" To: Subject: How to assign NULL to a VOID* PCD? Date: Wed, 16 Dec 2020 11:05:30 -0800 Message-ID: <041801d6d3de$6dd71160$49853420$@insyde.com> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 16.0 Thread-Index: AdbT3iJc84kMqqgOQJmB0Y0Za59EsQ== Content-Type: multipart/alternative; boundary="----=_NextPart_000_0419_01D6D39B.5FB41F80" Content-Language: en-us ------=_NextPart_000_0419_01D6D39B.5FB41F80 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit I want the PCD database to contain a NULL to a PCD that is of type VOID* but this does not seem to be allowed in the .dsc files. In .dec files, I can assign an for the value, which lets me put a 0. But the syntax for .dsc files only lets me put data. So for array cases where I want 0 entries, I am always forced to put at least 1 dummy entry. Normally, I would like to use PcdGetSize to get the total array size. Any pointers? Thanks, Tim ------=_NextPart_000_0419_01D6D39B.5FB41F80 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

I want the PCD database to = contain a NULL to a PCD that is of type VOID* but this does not seem to = be allowed in the .dsc files.

 

In .dec = files, I can assign an <Expression> for the value, which lets me = put a 0. But the syntax for .dsc files only lets me put data. So for = array cases where I want 0 entries, I am always forced to put at least 1 = dummy entry. Normally, I would like to use PcdGetSize to get the total = array size.

 

Any pointers?

 

Thanks,

 

Tim

------=_NextPart_000_0419_01D6D39B.5FB41F80--