| | 21 | |
| | 22 | root@intrepid:~/jfbterm-0.4.7# grep mmio * |
| | 23 | acconfig.h:/* Quit if mmap(mmio) is failed */ |
| | 24 | ChangeLog: mmap(mmio)$N%3!<%I$rJQ99$7$F$_$^$7$?!# |
| | 25 | ChangeLog: "Cannot mmap(mmio)."$,H/@8$7$F$bL5;k$9$k;v$,$G$-$k$h$&$K$7$F$_ |
| | 26 | config.h:/* Quit if mmap(mmio) is failed */ |
| | 27 | config.h.in:/* Quit if mmap(mmio) is failed */ |
| | 28 | config.log:configure:6444: checking whether to enable check-mmio-error |
| | 29 | configure: --enable-check-mmio-error Check mmap(mmio) return code default no |
| | 30 | configure:# Check whether --enable-check-mmio-error was given. |
| | 31 | configure:if test "${enable_check_mmio_error+set}" = set; then |
| | 32 | configure: enableval=$enable_check_mmio_error; |
| | 33 | configure: enable_check_mmio_error=no |
| | 34 | configure:{ echo "$as_me:$LINENO: checking whether to enable check-mmio-error" >&5 |
| | 35 | configure:echo $ECHO_N "checking whether to enable check-mmio-error... $ECHO_C" >&6; } |
| | 36 | configure:if test x$enable_check_mmio_error = xyes; then |
| | 37 | configure.in:AC_ARG_ENABLE(check-mmio-error, [ --enable-check-mmio-error Check mmap(mmio) return code [default no]],,enable_check_mmio_error=no) |
| | 38 | configure.in:AC_MSG_CHECKING(whether to enable check-mmio-error) |
| | 39 | configure.in:if test x$enable_check_mmio_error = xyes; then |
| | 40 | fbcommon.c: print_message("MMIO : %p L=%u\n", fbfs->mmio_start, fbfs->mmio_len); |
| | 41 | fbcommon.c: p->moff = (u_long)(fb_fix.mmio_start) & (~PAGE_MASK); |
| | 42 | fbcommon.c: p->mlen = (fb_fix.mmio_len + p->moff + ~PAGE_MASK) & PAGE_MASK; |
| | 43 | fbcommon.c: p->mmio = (u_char*)mmap(NULL, p->mlen, PROT_READ|PROT_WRITE, |
| | 44 | fbcommon.c: if ((long)p->mmio == -1) { |
| | 45 | fbcommon.c: die("cannot mmap(mmio)"); |
| | 46 | fbcommon.c: print_message("cannot mmap(mmio) : %s\n", strerror(errno)); |
| | 47 | fbcommon.c: p->mmio = (char *)p->mmio + p->moff; |
| | 48 | fbcommon.c: print_message("mmio ; %d - %p\n", p->mlen, p->mmio); |
| | 49 | fbcommon.c: if ((long)p->mmio != -1) { |
| | 50 | fbcommon.c: munmap((caddr_t)((u_long)p->mmio & PAGE_MASK), p->mlen); |
| | 51 | fbcommon.h: u_char* mmio; |