p1: arm: mach: reduce memory alloc

Signed-off-by: Humberto Borba <humberos@gmail.com>