Re: [edk2-devel] [PATCH 1/2] BoardModulePkg: Copy device path before processing

2023-01-18 Thread Attar, AbdulLateef (Abdul Lateef) via groups.io
o On Behalf Of Abdul Lateef Attar via groups.io Sent: Tuesday, November 15, 2022 4:04 AM To: devel@edk2.groups.io Cc: Dong, Eric ; Gao, Liming Subject: [edk2-devel] [PATCH 1/2] BoardModulePkg: Copy device path before processing From: Abdul Lateef Attar GCC compiler puts the DevicePath PCDs t

Re: [edk2-devel] [PATCH 1/2] BoardModulePkg: Copy device path before processing

2023-01-17 Thread Isaac Oram
lf Of Abdul Lateef Attar via groups.io Sent: Tuesday, November 15, 2022 4:04 AM To: devel@edk2.groups.io Cc: Dong, Eric ; Gao, Liming Subject: [edk2-devel] [PATCH 1/2] BoardModulePkg: Copy device path before processing From: Abdul Lateef Attar GCC compiler puts the DevicePath PCDs to the read

[edk2-devel] [PATCH 1/2] BoardModulePkg: Copy device path before processing

2022-11-15 Thread Abdul Lateef Attar via groups.io
From: Abdul Lateef Attar GCC compiler puts the DevicePath PCDs to the read-only section. During boot if try to process the device path after PtrGetPtr it throws a page fault exception. Hence making a local copy using DuplicateDevicePath() to avoid the page fault exception. Cc: Eric Dong Cc: Li