Changeset 7633b109 in mainline for genarch/src/fb/fb.c
- Timestamp:
- 2006-05-19T13:14:37Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5ca586a1
- Parents:
- c0bc189
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
genarch/src/fb/fb.c
rc0bc189 r7633b109 33 33 #include <sysinfo/sysinfo.h> 34 34 #include <mm/slab.h> 35 #include <mm/as.h>36 35 #include <bitops.h> 37 36 #include <align.h> … … 361 360 fbaddress = (__u8 *) PA2KA(PFN2ADDR(frame_alloc(fborder, FRAME_KA))); 362 361 363 pfn_t i; 364 for (i = 0; i < ADDR2PFN(ALIGN_UP(fbsize, PAGE_SIZE)); i++) 365 page_mapping_insert(AS_KERNEL, (__address) fbaddress + PFN2ADDR(i), addr + PFN2ADDR(i), PAGE_NOT_CACHEABLE); 362 fb_map_arch((__address) fbaddress, (__address) addr, fbsize); 366 363 367 364 xres = x;
Note:
See TracChangeset
for help on using the changeset viewer.