2 * "Indirect" DCR access
4 * Copyright (c) 2004 Eugene Surovegin <ebs@ebshome.net>
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the
8 * Free Software Foundation; either version 2 of the License, or (at your
9 * option) any later version.
12 #include <asm/ppc_asm.h>
13 #include <asm/processor.h>
16 #define DCR_ACCESS_PROLOG(table) \
18 rlwinm r3,r3,4,18,27; \
26 EMIT_BUG_ENTRY 1b,__FILE__,__LINE__,0; \
30 DCR_ACCESS_PROLOG(__mfdcr_table)
33 DCR_ACCESS_PROLOG(__mtdcr_table)