mirror of
https://github.com/drasko/codezero.git
synced 2026-03-11 23:03:15 +01:00
Testing Inter container IPC for UART service
This commit is contained in:
@@ -24,9 +24,9 @@ int address_pool_init_with_idpool(struct address_pool *pool,
|
||||
|
||||
int address_pool_init(struct address_pool *pool,
|
||||
unsigned long start, unsigned long end,
|
||||
int size)
|
||||
unsigned int size)
|
||||
{
|
||||
if ((pool->idpool = id_pool_new_init((end - start) / size)) < 0)
|
||||
if ((pool->idpool = id_pool_new_init(__pfn(end - start) / size)) < 0)
|
||||
return (int)pool->idpool;
|
||||
pool->start = start;
|
||||
pool->end = end;
|
||||
|
||||
Reference in New Issue
Block a user