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
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
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