[PATCH v2 35/44] x86: Add debugging to table writing