sandbox: Add -P flag to enable bypassing the pager
Add a new -P command line flag to sandbox that enables pager-bypass mode. This is useful for tests and automated scripts that need to disable pager interrupts. The implementation stores the bypass request in sandbox_state during command line parsing, then applies it in sandbox_main_loop_init() after the pager has been initialized. Co-developed-by: Claude <noreply@anthropic.com> Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -175,6 +175,7 @@ struct sandbox_state {
|
||||
bool native; /* Adjust to reflect host arch */
|
||||
bool no_flattree_tests; /* Don't run second set of DM tests */
|
||||
bool soft_fail; /* Continue on failure */
|
||||
bool pager_bypass; /* Enable pager-bypass mode */
|
||||
|
||||
/* Pointer to information for each SPI bus/cs */
|
||||
struct sandbox_spi_info spi[CONFIG_SANDBOX_SPI_MAX_BUS]
|
||||
|
||||
Reference in New Issue
Block a user