Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/arch

Module Name:    src
Committed By:   bouyer
Date:           Tue Mar 10 20:05:31 UTC 2009

Modified Files:
        src/sys/arch/i386/i386: db_memrw.c
        src/sys/arch/i386/include: param.h
        src/sys/arch/xen/include: xenpmap.h
        src/sys/arch/xen/xen: xenevt.c

Log Message:
More i386PAE fixes:
- x86_round_page, x86_trunc_page, x86_btop and x86_ptob macros are used with
  physical addresses; cast to paddr_t instead of u_long. Issue pointed out
  by jym@
- machine_to_phys_mapping[] is a long. This is fine as it holds page
  frame numbers (and this fits in a 32bit int as physical addresses are
  only 36bits), but cast to paddr_t before << PAGE_SHIFT
- xen_start_info.store_mfn is a long; cast it to paddr_t before << PAGE_SHIFT.
  should fix issue pointed out by cegger@

To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/sys/arch/i386/i386/db_memrw.c
cvs rdiff -u -r1.70 -r1.71 src/sys/arch/i386/include/param.h
cvs rdiff -u -r1.21 -r1.22 src/sys/arch/xen/include/xenpmap.h
cvs rdiff -u -r1.30 -r1.31 src/sys/arch/xen/xen/xenevt.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index