2 * arch/ppc/syslib/dcr.S
4 * "Indirect" DCR access
6 * Copyright (c) 2004 Eugene Surovegin <ebs@ebshome.net>
8 * This program is free software; you can redistribute it and/or modify it
9 * under the terms of the GNU General Public License as published by the
10 * Free Software Foundation; either version 2 of the License, or (at your
11 * option) any later version.
14 #include <asm/ppc_asm.h>
15 #include <asm/processor.h>
17 #define DCR_ACCESS_PROLOG(table) \
18 rlwinm r3,r3,4,18,27; \
26 DCR_ACCESS_PROLOG(__mfdcr_table)
29 DCR_ACCESS_PROLOG(__mtdcr_table)