2 * (C) Copyright 2007-2010 Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
4 * This file is released under the GPLv2. See the COPYING file for more
13 extern const u8 zeropage
[PAGE_SIZE
];
15 /* Turn Low-address protection on */
16 static inline void lap_on(void)
21 "stctg 0,0,%0\n" /* get cr0 */
22 "oi %1,0x10\n" /* enable */
23 "lctlg 0,0,%0\n" /* reload cr0 */
27 "m" (*(u64
*) (((u8
*)&cr0
) + 4))