Subversion Repositories HelenOS

Rev

Rev 3386 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3386 Rev 4153
Line 24... Line 24...
24
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
25
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27
 */
27
 */
28
 
28
 
29
/** @addtogroup ppc32mm
29
/** @addtogroup ppc32mm
30
 * @{
30
 * @{
31
 */
31
 */
32
/** @file
32
/** @file
33
 */
33
 */
34
 
34
 
35
#ifndef KERN_ppc32_FRAME_H_
35
#ifndef KERN_ppc32_FRAME_H_
36
#define KERN_ppc32_FRAME_H_
36
#define KERN_ppc32_FRAME_H_
37
 
37
 
38
#define FRAME_WIDTH     12  /* 4K */
38
#define FRAME_WIDTH  12  /* 4K */
39
#define FRAME_SIZE      (1 << FRAME_WIDTH)
39
#define FRAME_SIZE   (1 << FRAME_WIDTH)
40
 
40
 
41
#ifdef KERNEL
41
#ifdef KERNEL
42
#ifndef __ASM__
42
#ifndef __ASM__
43
 
43
 
44
#include <arch/types.h> 
44
#include <arch/types.h>
45
 
45
 
46
extern uintptr_t last_frame;
46
extern uintptr_t last_frame;
47
 
47
 
48
extern void frame_arch_init(void);
48
extern void frame_arch_init(void);
49
extern void physmem_print(void);
49
extern void physmem_print(void);