Changeset c913e456 in mainline


Ignore:
Timestamp:
2005-08-11T14:39:20Z (19 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f79e357
Parents:
04b1b8a
Message:

remove cyclic including, change linker script path

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • arch/ppc/Makefile.inc

    r04b1b8a rc913e456  
    1 MIPS_CC_DIR=/usr/local/ppc/bin
    2 CC=$(MIPS_CC_DIR)/ppc-linux-gnu-gcc
    3 AS=$(MIPS_CC_DIR)/ppc-linux-gnu-as
    4 LD=$(MIPS_CC_DIR)/ppc-linux-gnu-ld
     1PPC_CC_DIR=/usr/local/ppc/bin
     2CC=$(PPC_CC_DIR)/ppc-linux-gnu-gcc
     3AS=$(PPC_CC_DIR)/ppc-linux-gnu-as
     4LD=$(PPC_CC_DIR)/ppc-linux-gnu-ld
    55
    66ASFLAGS=
     
    99CPPFLAGS=$(DEFS) -nostdinc -I../include
    1010CFLAGS=$(CPPFLAGS) -nostdlib -fno-builtin -Wmissing-prototypes -Werror -O2
    11 LFLAGS=-M -no-check-sections -T ../arch/mips/_link.ld
     11LFLAGS=-M -no-check-sections -T ../arch/ppc/_link.ld
    1212
    1313arch_sources= \
  • arch/ppc/include/mm/page.h

    r04b1b8a rc913e456  
    3030#define __ppc_PAGE_H__
    3131
     32
     33
    3234#include <mm/page.h>
    3335#include <arch/mm/frame.h>
    3436#include <arch/types.h>
    35 #include <arch.h>
    3637
    3738#define PAGE_SIZE       FRAME_SIZE
     
    4546#define PTL3_INDEX_ARCH(vaddr)          0
    4647
    47 #define GET_PTL0_ADDRESS_ARCH()
     48#define GET_PTL0_ADDRESS_ARCH()         0
    4849#define SET_PTL0_ADDRESS_ARCH(ptl0)
    4950
  • src/mm/page.c

    r04b1b8a rc913e456  
    7777        __address newpt;
    7878
    79         ptl0 = (pte_t *) PA2KA(root ? root : (__address) GET_PTL0_ADDRESS());
     79//      ptl0 = (pte_t *) PA2KA(root ? root : (__address) GET_PTL0_ADDRESS());
    8080
    8181        if (GET_PTL1_FLAGS(ptl0, PTL0_INDEX(page)) & PAGE_NOT_PRESENT) {
Note: See TracChangeset for help on using the changeset viewer.