Changeset 067da5c in rtems


Ignore:
Timestamp:
Nov 20, 2014, 2:00:33 PM (5 years ago)
Author:
Jan Dolezal <dolezj21@…>
Branches:
4.11, master
Children:
280f4ecc
Parents:
c5a74946
git-author:
Jan Dolezal <dolezj21@…> (11/20/14 14:00:33)
git-committer:
Gedare Bloom <gedare@…> (11/20/14 14:52:40)
Message:

i386/pc386: VESA based frame buffer utilizing real mode interrupt 10h

Location:
c/src/lib/libbsp/i386/pc386
Files:
2 added
4 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/i386/pc386/Makefile.am

    rc5a74946 r067da5c  
    107107libbsp_a_SOURCES += console/exar17d15x.c
    108108libbsp_a_SOURCES += console/rtd316.c
     109if USE_VBE_RM
    109110include_bsp_HEADERS += include/vbe3.h
    110111include_HEADERS += include/edid.h
     112include_bsp_HEADERS += include/fb_vesa.h
     113libbsp_a_SOURCES += console/fb_vesa_rm.c
     114else
    111115if USE_CIRRUS_GD5446
    112116libbsp_a_SOURCES += console/fb_cirrus.c
    113117else
    114118libbsp_a_SOURCES += console/fb_vga.c
     119endif
    115120endif
    116121
  • c/src/lib/libbsp/i386/pc386/configure.ac

    rc5a74946 r067da5c  
    8383AM_CONDITIONAL(USE_CIRRUS_GD5446,test "$USE_CIRRUS_GD5446" = "1")
    8484
     85RTEMS_BSPOPTS_SET([USE_VBE_RM],[*],[0])
     86RTEMS_BSPOPTS_HELP([USE_VBE_RM],
     87[If defined, enables use of the Vesa Bios Extensions - real mode interface,
     88 which enables graphical mode and introduce it upon bootup.])
     89AM_CONDITIONAL(USE_VBE_RM,test "$USE_VBE_RM" = "1")
     90
     91if test "${USE_VBE_RM}" = "1" ; then
     92  if test -z "${NUM_APP_DRV_GDT_DESCRIPTORS}"; then
     93      NUM_APP_DRV_GDT_DESCRIPTORS=2 ;
     94  else
     95      NUM_APP_DRV_GDT_DESCRIPTORS+=2 ;
     96  fi
     97fi
    8598RTEMS_BSPOPTS_SET([NUM_APP_DRV_GDT_DESCRIPTORS],[*],[0])
    8699RTEMS_BSPOPTS_HELP([NUM_APP_DRV_GDT_DESCRIPTORS],
  • c/src/lib/libbsp/i386/pc386/preinstall.am

    rc5a74946 r067da5c  
    148148PREINSTALL_FILES += $(PROJECT_INCLUDE)/i386_io.h
    149149
     150if USE_VBE_RM
    150151$(PROJECT_INCLUDE)/bsp/vbe3.h: include/vbe3.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
    151152        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/vbe3.h
     
    155156        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/edid.h
    156157PREINSTALL_FILES += $(PROJECT_INCLUDE)/edid.h
     158
     159$(PROJECT_INCLUDE)/bsp/fb_vesa.h: include/fb_vesa.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     160        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/fb_vesa.h
     161PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/fb_vesa.h
     162endif
    157163
    158164$(PROJECT_INCLUDE)/pcibios.h: ../../i386/shared/pci/pcibios.h $(PROJECT_INCLUDE)/$(dirstamp)
  • c/src/lib/libbsp/i386/pc386/start/start.S

    rc5a74946 r067da5c  
    4242#include <rtems/asm.h>
    4343#include <rtems/score/cpu.h>
     44#include <bspopts.h>
    4445
    4546/*----------------------------------------------------------------------------+
     
    6263
    6364        EXTERN (boot_card)
     65#ifdef USE_VBE_RM
     66        EXTERN (vesa_realmode_bootup_init)
     67#endif
    6468        EXTERN (_load_segments)
    6569        EXTERN (_return_to_monitor)
     
    202206        call _IBMPC_initVideo
    203207
     208#ifdef USE_VBE_RM
     209        call    vesa_realmode_bootup_init
     210#endif
     211
    204212/*---------------------------------------------------------------------+
    205213| Check CPU type. Enable Cache and init coprocessor if needed.
Note: See TracChangeset for help on using the changeset viewer.