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>
15 #define DCR_ACCESS_PROLOG(table) \
16 rlwinm r3,r3,4,18,27; \
24 DCR_ACCESS_PROLOG(__mfdcr_table)
27 DCR_ACCESS_PROLOG(__mtdcr_table)