Source-Changes archive

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

CVS commit: src/sys

Module Name:    src
Committed By:   jym
Date:           Wed Feb 24 00:01:12 UTC 2010

Modified Files:
        src/sys/dev/pci: agp.c
        src/sys/uvm: uvm_page.c

Log Message:
- Use ctob() instead of ptoa() to obtain physical addresses from frame
numbers. Using ptoa() will cast to vaddr_t, which might no be adequate
for architectures where sizeof(paddr_t) > sizeof(vaddr_t) (like i386 PAE).

- small fix inside AGP heuristics to avoid masking high order bits for
systems with more than 4GB.

Reviewed by bouyer@.

See also

To generate a diff of this commit:
cvs rdiff -u -r1.66 -r1.67 src/sys/dev/pci/agp.c
cvs rdiff -u -r1.153 -r1.154 src/sys/uvm/uvm_page.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