2 * Copyright 2003, Axel Dörfler, axeld@pinc-software.de.
3 * Distributed under the terms of the MIT License.
6 #define FUNCTION(x) .global x; .type x,@function; x
10 /* uint32 get_sdr1(void);
16 /* void set_sdr1(uint32 value);
23 /* uint32 get_sr(void *virtualAddress);
30 /* void set_sr(void *virtualAddress, uint32 value);
39 /* uint32 get_msr(void);
45 /* uint32 set_msr(uint32 value);
53 /* uint32 get_pvr(void);
60 #define get_ibat(num) \
66 #define set_ibat(num); \
72 /* void get_ibat0-3(block_address_translation *bat);
88 /* void set_ibat0-3(block_address_translation *bat);
104 /* void reset_ibats(void)
106 FUNCTION(reset_ibats):
118 #define get_dbat(num) \
124 #define set_dbat(num) \
130 /* void get_dbat0-3(block_address_translation *bat);
146 /* void set_dbat0-3(block_address_translation *bat);
162 /* void reset_dbats(void)
164 FUNCTION(reset_dbats):
176 /* void __eieio(void)