diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-09-07 18:02:31 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-09-07 18:02:31 +0200 |
| commit | 9aabc831fad9e3b83180aa3fa01c8ee09cf0f14a (patch) | |
| tree | 3f4e558bda2b9feb933662549bac2be48a11300d /src/neboot-start.c | |
| parent | efe0d71bd816f57d6d3338f04348c07dd8aade46 (diff) | |
feat: update reset function inside `cpu-api.c`, wip xcoff api.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'src/neboot-start.c')
| -rw-r--r-- | src/neboot-start.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/neboot-start.c b/src/neboot-start.c index b72793e..29a3389 100644 --- a/src/neboot-start.c +++ b/src/neboot-start.c @@ -113,7 +113,8 @@ void cb_start_exec(void) { } else { cb_put_string("CB> Trying EPM partition...\r\n"); - part_block_t* blk = cb_parse_partition_block_at((voidptr_t) NB_FLASH_BASE_ADDR, EPM_PART_BLK_SZ, 0); + part_block_t* blk = + cb_parse_partition_block_at((voidptr_t) NB_FLASH_BASE_ADDR, EPM_PART_BLK_SZ, 0); if (blk) { cb_pci_append_tree("@stage2-epm", (cb_pci_num_t) blk, sizeof(part_block_t) * blk->num_blocks); @@ -144,7 +145,7 @@ void cb_start_exec(void) { } /// end of TODO - + while (yes) { if (__cb_hart_counter == 0) { cb_restart_machine(); |
