diff options
| author | Simon Glass <[email protected]> | 2021-10-14 12:47:56 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2021-11-11 19:02:11 -0500 |
| commit | fd3fa5c3941d4de0736d066f77d0158cf933e207 (patch) | |
| tree | 3e8291c7ad555000c4c1852c82351cc6e9736542 /include | |
| parent | 3d24636e925f89841aac4482c8cc372a2b9d96a6 (diff) | |
pxe: Use a context pointer
At present the PXE functions pass around a pointer to command-table entry
which is very strange. It is only needed in a few places and it is odd to
pass around a data structure from another module in this way.
For bootmethod we will need to provide some context information when
reading files.
Create a PXE context struct to hold the command-table-entry pointer and
pass that around instead. We can then add more things to the context as
needed.
Signed-off-by: Simon Glass <[email protected]>
Reviewed-by: Artem Lapkin <[email protected]>
Tested-by: Artem Lapkin <[email protected]>
Reviewed-by: Ramon Fried <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
