Replace macros for kernel memory manipulation.