[PATCH v3 02/10] x86: Add debugging to table writing