Changeset c913e456 in mainline
- Timestamp:
- 2005-08-11T14:39:20Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f79e357
- Parents:
- 04b1b8a
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/ppc/Makefile.inc
r04b1b8a rc913e456 1 MIPS_CC_DIR=/usr/local/ppc/bin2 CC=$( MIPS_CC_DIR)/ppc-linux-gnu-gcc3 AS=$( MIPS_CC_DIR)/ppc-linux-gnu-as4 LD=$( MIPS_CC_DIR)/ppc-linux-gnu-ld1 PPC_CC_DIR=/usr/local/ppc/bin 2 CC=$(PPC_CC_DIR)/ppc-linux-gnu-gcc 3 AS=$(PPC_CC_DIR)/ppc-linux-gnu-as 4 LD=$(PPC_CC_DIR)/ppc-linux-gnu-ld 5 5 6 6 ASFLAGS= … … 9 9 CPPFLAGS=$(DEFS) -nostdinc -I../include 10 10 CFLAGS=$(CPPFLAGS) -nostdlib -fno-builtin -Wmissing-prototypes -Werror -O2 11 LFLAGS=-M -no-check-sections -T ../arch/ mips/_link.ld11 LFLAGS=-M -no-check-sections -T ../arch/ppc/_link.ld 12 12 13 13 arch_sources= \ -
arch/ppc/include/mm/page.h
r04b1b8a rc913e456 30 30 #define __ppc_PAGE_H__ 31 31 32 33 32 34 #include <mm/page.h> 33 35 #include <arch/mm/frame.h> 34 36 #include <arch/types.h> 35 #include <arch.h>36 37 37 38 #define PAGE_SIZE FRAME_SIZE … … 45 46 #define PTL3_INDEX_ARCH(vaddr) 0 46 47 47 #define GET_PTL0_ADDRESS_ARCH() 48 #define GET_PTL0_ADDRESS_ARCH() 0 48 49 #define SET_PTL0_ADDRESS_ARCH(ptl0) 49 50 -
src/mm/page.c
r04b1b8a rc913e456 77 77 __address newpt; 78 78 79 ptl0 = (pte_t *) PA2KA(root ? root : (__address) GET_PTL0_ADDRESS());79 // ptl0 = (pte_t *) PA2KA(root ? root : (__address) GET_PTL0_ADDRESS()); 80 80 81 81 if (GET_PTL1_FLAGS(ptl0, PTL0_INDEX(page)) & PAGE_NOT_PRESENT) {
Note:
See TracChangeset
for help on using the changeset viewer.