Changes between Version 30 and Version 31 of jazz/08-11-16


Ignore:
Timestamp:
Nov 17, 2008, 12:45:19 PM (16 years ago)
Author:
jazz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • jazz/08-11-16

    v30 v31  
    8585Breakpoint 1, tfbm_open (p=0x6146e0) at fbcommon.c:566
    8686566             p->mmio = (u_char*)mmap(NULL, p->mlen, PROT_READ|PROT_WRITE,
     87(gdb) l
     88561             }
     89562             p->smem = (char *)p->smem + p->soff;
     90563
     91564             p->moff = (u_long)(fb_fix.mmio_start) & (~PAGE_MASK);
     92565             p->mlen = (fb_fix.mmio_len + p->moff + ~PAGE_MASK) & PAGE_MASK;
     93566             p->mmio = (u_char*)mmap(NULL, p->mlen, PROT_READ|PROT_WRITE,
     94567                                     MAP_SHARED, p->fh, p->slen);
     95568             if ((long)p->mmio == -1) {
     96569     #ifdef JFB_MMIO_CHECK
     97570                     die("cannot mmap(mmio)");
     98(gdb) p fb_fix.mmio_len
     99$1 = 0
     100(gdb) p p->moff
     101$2 = 0
     102(gdb) p p->mlen
     103$3 = 0
     104(gdb) p p->fh
     105$4 = 6
     106(gdb) p p->slen
     107$5 = 1572864
     108(gdb) p fb_fix.smem_len
     109$6 = 1572864
    87110}}}
    88111