mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-02-07 01:44:41 +08:00
preventing erroneous optimization of rt_ioremap_early
This commit is contained in:
@@ -604,7 +604,7 @@ static int _map_single_page_2M(unsigned long *lv0_tbl, unsigned long va,
|
||||
|
||||
void *rt_ioremap_early(void *paddr, size_t size)
|
||||
{
|
||||
size_t count;
|
||||
volatile size_t count;
|
||||
rt_ubase_t base;
|
||||
static void *tbl = RT_NULL;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user