Re: [edk2] [PATCH v2 1/3] MdePkg: Add UDF volume structure definitions

2017-09-18 Thread Paulo Alcantara
anks/Ray -Original Message- From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of Ni, Ruiyu Sent: Monday, September 18, 2017 8:29 AM To: Paulo Alcantara ; edk2-devel@lists.01.org Cc: Kinney, Michael D ; Laszlo Ersek ; Gao, Liming Subject: Re: [edk2] [PATCH v2 1/3] MdePkg: Add UD

Re: [edk2] [PATCH v2 1/3] MdePkg: Add UDF volume structure definitions

2017-09-18 Thread Paulo Alcantara
Hi Ruiyu, On 9/17/2017 9:28 PM, Ni, Ruiyu wrote: #define _GET_TAG_ID(_Pointer) \ (((UDF_DESCRIPTOR_TAG *)(_Pointer))->TagIdentifier) #define IS_PD(_Pointer) \ ((BOOLEAN)(_GET_TAG_ID (_Pointer) == 5)) #define IS_LVD(_Pointer) \ ((BOOLEAN)(_GET_TAG_ID (_Pointer) == 6)) #define IS_TD(_Poi

Re: [edk2] [PATCH v2 1/3] MdePkg: Add UDF volume structure definitions

2017-09-17 Thread Ni, Ruiyu
On Behalf Of Ni, > Ruiyu > Sent: Monday, September 18, 2017 8:29 AM > To: Paulo Alcantara ; edk2-devel@lists.01.org > Cc: Kinney, Michael D ; Laszlo Ersek > ; Gao, Liming > Subject: Re: [edk2] [PATCH v2 1/3] MdePkg: Add UDF volume structure > definitions >

Re: [edk2] [PATCH v2 1/3] MdePkg: Add UDF volume structure definitions

2017-09-17 Thread Ni, Ruiyu
#define _GET_TAG_ID(_Pointer) \ (((UDF_DESCRIPTOR_TAG *)(_Pointer))->TagIdentifier) #define IS_PD(_Pointer) \ ((BOOLEAN)(_GET_TAG_ID (_Pointer) == 5)) #define IS_LVD(_Pointer) \ ((BOOLEAN)(_GET_TAG_ID (_Pointer) == 6)) #define IS_TD(_Pointer) \ ((BOOLEAN)(_GET_TAG_ID (_Pointer) == 8)) #de

[edk2] [PATCH v2 1/3] MdePkg: Add UDF volume structure definitions

2017-09-17 Thread Paulo Alcantara
This patch adds a fewe more UDF structures in order to detect Logical Volume and Partition descriptors during Main Volume Descriptor Sequence in Partition driver. Cc: Michael D Kinney Cc: Liming Gao Cc: Laszlo Ersek Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-of