eval kernel: fix for ability to use %pmap; fixes do_function_direct