| plan 9 kernel history: overview | file list | diff list |
1999/0716/pc/vgas3.c (diff list | history)
| 1999/0119/sys/src/9/pc/vgas3.c:64,75 – 1999/0716/sys/src/9/pc/vgas3.c:64,77 (short | long | prev | next) | ||
| 1997/1101 | static ulong s3linear(VGAscr* scr, int* size, int* align) { | |
| 1999/0716 | ulong aperture, oaperture, osize; | |
| 1997/1101 | int oapsize, wasupamem; Pcidev *p; | |
| 1999/0716 | Physseg seg; | |
| 1997/1101 | oaperture = scr->aperture; oapsize = scr->apsize; | |
| 1999/0716 | osize = *size; | |
| 1997/1101 | wasupamem = scr->isupamem; if(wasupamem) upafree(oaperture, oapsize); | |
| 1999/0119/sys/src/9/pc/vgas3.c:90,95 – 1999/0716/sys/src/9/pc/vgas3.c:92,104 | ||
| 1997/1101 | else scr->isupamem = 1; | |
| 1999/0716 | memset(&seg, 0, sizeof(seg)); seg.attr = SG_PHYSICAL; seg.name = smalloc(NAMELEN); snprint(seg.name, NAMELEN, "s3screen"); seg.pa = aperture; seg.size = osize; addphysseg(&seg); | |
| 1997/1101 | return aperture; } | |