[PATCH 1/2] i386/pc386/VESA framebuffer driver: modified and extended initialization options

2015-05-23 Thread Jan Dolezal
driver is not initialized by default initialization is possible through multiboot command line option or through the string variable (see fb_default_mode.h) set in user's module allowing the driver to evaluate this variable after the two modules are linked together --- c/src/lib/libbsp/i386/pc386/

[PATCH 2/2] i386/pc386: default graphics driver changed from VGA to VESA based

2015-05-23 Thread Jan Dolezal
basic VGA driver can be enabled during configure phase by exporting variable USE_VGA=1 so that it is available in configure environment cirrus driver is enabled the same way by exporting variable USE_CIRRUS_GD5446=1 --- c/src/lib/libbsp/i386/pc386/Makefile.am | 12 +- c/src/lib/libbsp/i3

[PATCH 0/2] i386 VESA framebuffer support

2015-05-23 Thread Jan Dolezal
changes since v1 (PATCH 1/2): - added header file with variable allowing graphical mode selection - return types changed to signed when returning negative values Jan Dolezal (2): i386/pc386/VESA framebuffer driver: modified and extended initialization options i386/pc386: default

Re: [PATCH 1/2] i386/pc386/VESA framebuffer driver: modified and extended initialization options

2015-05-19 Thread Jan Dolezal
Hello Gedare, thank you for the swift response.. On 19.5.2015 17:38, Gedare Bloom wrote: On Tue, May 19, 2015 at 10:34 AM, Jan Dolezal wrote: driver is not initialized by default initialization is possible through multiboot command line option or through string variable set in user's m

[PATCH 2/2] i386/pc386: default graphics driver changed from VGA to VESA based

2015-05-19 Thread Jan Dolezal
basic VGA driver can be enabled during configure phase by exporting variable USE_VGA=1 so that it is available in configure environment cirrus driver is enabled the same way by exporting variable USE_CIRRUS_GD5446=1 --- c/src/lib/libbsp/i386/pc386/Makefile.am | 12 +- c/src/lib/libbsp/i3

[PATCH 1/2] i386/pc386/VESA framebuffer driver: modified and extended initialization options

2015-05-19 Thread Jan Dolezal
driver is not initialized by default initialization is possible through multiboot command line option or through string variable set in user's module allowing the driver to evaluate this variable after the two modules are linked together --- c/src/lib/libbsp/i386/pc386/console/fb_vesa_rm.c | 152 +

[PATCH 2/3] i386: doxygen and comments related to VESA real mode framebuffer

2014-12-03 Thread Jan Dolezal
--- c/src/lib/libbsp/i386/pc386/console/fb_vesa_rm.c | 105 ++-- c/src/lib/libbsp/i386/pc386/include/edid.h | 14 +- c/src/lib/libbsp/i386/pc386/include/fb_vesa.h | 77 +-- c/src/lib/libbsp/i386/pc386/include/tblsizes.h | 1 - c/src/lib/libbsp/i386/pc386/include/vbe3.h

[PATCH 3/3] doxygen: expand specified compiler macros to empty string, so they are ignored by doxygen

2014-12-03 Thread Jan Dolezal
--- cpukit/Doxyfile.in | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/cpukit/Doxyfile.in b/cpukit/Doxyfile.in index 4a6ee55..e4b681f 100644 --- a/cpukit/Doxyfile.in +++ b/cpukit/Doxyfile.in @@ -1267,13 +1267,13 @@ ENABLE_PREPROCESSING = YES # compilation will be perf

[PATCH 1/3] i386/pc386: cammelCase (struct and function names) to underscores, typedefed structs, break >80 chars lines, removed newlines at EOFs

2014-12-03 Thread Jan Dolezal
fb_vesa_rm.c: removed inline from functions declared in fb_vesa.h removed unnecessary printks in the end of patch edid.h, vbe3.h: switched from custom *PACKED_ATTRIBUTE at the structs to the RTEMS_COMPILER_PACKED_ATTRIBUTE for easier maintainability of

[PATCH v2 0/3] i386 VESA framebuffer support - follow up patches

2014-12-03 Thread Jan Dolezal
turned on for macros specified in PREDEFINED tag, so that previous step takes effect Jan Dolezal (3): i386/pc386: cammelCase (struct and function names) to underscores, typedefed structs, break >80 chars lines, removed newlines at EOFs i386: doxygen and comments related to VESA r

Re: [PATCH] fix for default configuration for pc386 bsp

2014-12-03 Thread Jan Dolezal
Hello Ben, that is my fault, thank you for your correction. Jan Dolezal On 2.12.2014 23:40, Ben Gras wrote: All, If USE_VBE_RM is not on, vesa_realmode_bootup_init shouldn't be referenced, but it's always defined, so the test shoudl be #if instead

Re: [PATCH 2/2] i386: doxygen and comments related to VESA real mode framebuffer

2014-12-03 Thread Jan Dolezal
ps://github.com/joelsherrill/gci_tasks/blob/master/2013/doxygen_c_header_tasks/validate/do_doxygen On Tue, Dec 2, 2014 at 11:49 AM, Jan Dolezal wrote: --- c/src/lib/libbsp/i386/pc386/console/fb_vesa_rm.c | 105 --- c/src/lib/libbsp/i386/pc386/include/edid.h | 14 +- c/src/lib/libbsp/i38

[PATCH 1/2] i386/pc386: cammelCase to underscores, typedefed structs, break >80 chars lines, removed newlines at EOFs

2014-12-02 Thread Jan Dolezal
applies to files related to VESA real mode framebuffer --- c/src/lib/libbsp/i386/pc386/console/fb_vesa_rm.c | 251 +++-- c/src/lib/libbsp/i386/pc386/include/edid.h | 86 +++ c/src/lib/libbsp/i386/pc386/include/fb_vesa.h | 38 ++-- c/src/lib/libbsp/i386/pc386/in

[PATCH 2/2] i386: doxygen and comments related to VESA real mode framebuffer

2014-12-02 Thread Jan Dolezal
--- c/src/lib/libbsp/i386/pc386/console/fb_vesa_rm.c | 105 --- c/src/lib/libbsp/i386/pc386/include/edid.h | 14 +- c/src/lib/libbsp/i386/pc386/include/fb_vesa.h | 74 ++--- c/src/lib/libbsp/i386/pc386/include/tblsizes.h | 1 - c/src/lib/libbsp/i386/pc386/include/vbe3.h

[PATCH 8/8] i386/pc386: VESA based frame buffer utilizing real mode interrupt 10h

2014-11-20 Thread Jan Dolezal
--- c/src/lib/libbsp/i386/pc386/Makefile.am | 5 + c/src/lib/libbsp/i386/pc386/configure.ac | 13 + c/src/lib/libbsp/i386/pc386/console/fb_vesa_rm.c | 858 +++ c/src/lib/libbsp/i386/pc386/include/fb_vesa.h| 131 c/src/lib/libbsp/i386/pc386/preinstal

[PATCH 6/8] i386/shared/realmode_int: real mode interrupt interface

2014-11-20 Thread Jan Dolezal
--- c/src/lib/libbsp/i386/pc386/Makefile.am| 2 + c/src/lib/libbsp/i386/pc386/preinstall.am | 4 + .../libbsp/i386/shared/realmode_int/realmode_int.c | 406 + .../libbsp/i386/shared/realmode_int/realmode_int.h | 85 + 4 files changed, 497 insertion

[PATCH 7/8] i386/pc386/include: header files for VESA BIOS EXTENSIONS and VESA Extended Display Identification Data

2014-11-20 Thread Jan Dolezal
--- c/src/lib/libbsp/i386/pc386/Makefile.am| 2 + c/src/lib/libbsp/i386/pc386/include/edid.h | 513 + c/src/lib/libbsp/i386/pc386/include/vbe3.h | 463 ++ c/src/lib/libbsp/i386/pc386/preinstall.am | 8 + 4 files changed, 986 insertions(+

[PATCH 5/8] i386: global descriptor table manipulation functions

2014-11-20 Thread Jan Dolezal
--- c/src/lib/libbsp/i386/shared/irq/idt.c | 156 + c/src/lib/libcpu/i386/cpu.h| 91 ++- 2 files changed, 207 insertions(+), 40 deletions(-) diff --git a/c/src/lib/libbsp/i386/shared/irq/idt.c b/c/src/lib/libbsp/i386/shared/irq/idt.c i

[PATCH 2/8] score: i386: functions converting real mode pointer to physical address and back

2014-11-20 Thread Jan Dolezal
--- cpukit/score/cpu/i386/cpu_asm.S | 43 cpukit/score/cpu/i386/rtems/score/i386.h | 32 2 files changed, 75 insertions(+) diff --git a/cpukit/score/cpu/i386/cpu_asm.S b/cpukit/score/cpu/i386/cpu_asm.S index 9b39567..f3ef4e2 10064

[PATCH 4/8] cpukit: basedefs: macro for packed attribute

2014-11-20 Thread Jan Dolezal
--- cpukit/score/include/rtems/score/basedefs.h | 10 ++ 1 file changed, 10 insertions(+) diff --git a/cpukit/score/include/rtems/score/basedefs.h b/cpukit/score/include/rtems/score/basedefs.h index 12480a8..695ab8f 100644 --- a/cpukit/score/include/rtems/score/basedefs.h +++ b/cpukit/sc

[PATCHv2/RFC 0/8] i386 VESA framebuffer support

2014-11-20 Thread Jan Dolezal
fed [PATCH 8/8] changes proposed by and applied thanks to Gedare Bloom and Pavel Pisa Jan Dolezal (8): i386/pc386: configurable size of descriptor tables score: i386: functions converting real mode pointer to physical address and back i386: GDTR manipulation functions parameters changed

[PATCH 3/8] i386: GDTR manipulation functions parameters changed to use explicit width types

2014-11-20 Thread Jan Dolezal
--- c/src/lib/libcpu/i386/cpu.h | 6 -- c/src/lib/libcpu/i386/idtr.S | 6 +++--- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/c/src/lib/libcpu/i386/cpu.h b/c/src/lib/libcpu/i386/cpu.h index 4c56731..e14acc4 100644 --- a/c/src/lib/libcpu/i386/cpu.h +++ b/c/src/lib/libcpu/i386

[PATCH 1/8] i386/pc386: configurable size of descriptor tables

2014-11-20 Thread Jan Dolezal
--- c/src/lib/libbsp/i386/pc386/Makefile.am| 1 + c/src/lib/libbsp/i386/pc386/configure.ac | 5 + c/src/lib/libbsp/i386/pc386/include/bsp.h | 6 ++ c/src/lib/libbsp/i386/pc386/include/tblsizes.h | 25 + c/src/lib/libbsp/i386/pc386/preinstall.am

Re: [PATCH 1/6] i386/pc386: configurable size of descriptor tables

2014-11-18 Thread Jan Dolezal
Hello Gedare, thank you very much for fast and valuable response. I made most of the changes you suggested. On 12.11.2014 16:20, Gedare Bloom wrote: On Wed, Nov 12, 2014 at 10:07 AM, Jan Dolezal wrote: --- c/src/lib/libbsp/i386/pc386/Makefile.am | 1 + c/src/lib/libbsp/i386

Re: [PATCH 4/6] i386/shared/int16: real mode interrupt interface

2014-11-18 Thread Jan Dolezal
On 12.11.2014 16:54, Gedare Bloom wrote: On Wed, Nov 12, 2014 at 10:07 AM, Jan Dolezal wrote: --- c/src/lib/libbsp/i386/pc386/Makefile.am| 2 + c/src/lib/libbsp/i386/pc386/preinstall.am | 4 + c/src/lib/libbsp/i386/shared/int16/int16.c | 397 + c/src

Re: [PATCH 2/6] score: i386: functions converting real mode pointer to physical address and back

2014-11-18 Thread Jan Dolezal
On 12.11.2014 16:25, Gedare Bloom wrote: On Wed, Nov 12, 2014 at 10:07 AM, Jan Dolezal wrote: --- cpukit/score/cpu/i386/cpu_asm.S | 63 cpukit/score/cpu/i386/rtems/score/i386.h | 29 +++ 2 files changed, 92 insertions(+) diff --git a

Re: [PATCH 3/6] i386: global descriptor table manipulation functions

2014-11-18 Thread Jan Dolezal
On 12.11.2014 16:42, Gedare Bloom wrote: On Wed, Nov 12, 2014 at 10:07 AM, Jan Dolezal wrote: --- c/src/lib/libbsp/i386/shared/irq/idt.c | 147 + c/src/lib/libcpu/i386/cpu.h| 83 ++- 2 files changed, 194 insertions(+), 36

[PATCH/RFC 0/6] i386 VESA framebuffer support

2014-11-12 Thread Jan Dolezal
, std} and on real hardware - Intel integrated graphic, NVidia GeForce 6600GT and some other cards. Jan Dolezal (6): i386/pc386: configurable size of descriptor tables score: i386: functions converting real mode pointer to physical address and back i386: global descriptor table manipulation

[PATCH 6/6] i386/pc386: VESA based frame buffer utilizing real mode interrupt 10h

2014-11-12 Thread Jan Dolezal
--- c/src/lib/libbsp/i386/pc386/Makefile.am | 5 + c/src/lib/libbsp/i386/pc386/configure.ac | 13 + c/src/lib/libbsp/i386/pc386/console/fb_vesa_rm.c | 851 +++ c/src/lib/libbsp/i386/pc386/include/fb_vesa.h| 131 c/src/lib/libbsp/i386/pc386/preinstal

[PATCH 5/6] i386/pc386/include: header files for VESA BIOS EXTENSIONS and VESA Extended Display Identification Data

2014-11-12 Thread Jan Dolezal
--- c/src/lib/libbsp/i386/pc386/Makefile.am| 2 + c/src/lib/libbsp/i386/pc386/include/edid.h | 759 + c/src/lib/libbsp/i386/pc386/include/vbe3.h | 461 ++ c/src/lib/libbsp/i386/pc386/preinstall.am | 8 + 4 files changed, 1230 insertions(+) crea

[PATCH 2/6] score: i386: functions converting real mode pointer to physical address and back

2014-11-12 Thread Jan Dolezal
--- cpukit/score/cpu/i386/cpu_asm.S | 63 cpukit/score/cpu/i386/rtems/score/i386.h | 29 +++ 2 files changed, 92 insertions(+) diff --git a/cpukit/score/cpu/i386/cpu_asm.S b/cpukit/score/cpu/i386/cpu_asm.S index 9b39567..c9e366d 100644 --- a/c

[PATCH 1/6] i386/pc386: configurable size of descriptor tables

2014-11-12 Thread Jan Dolezal
--- c/src/lib/libbsp/i386/pc386/Makefile.am | 1 + c/src/lib/libbsp/i386/pc386/configure.ac | 5 + c/src/lib/libbsp/i386/pc386/include/bsp.h | 6 ++ c/src/lib/libbsp/i386/pc386/include/bsptblsizes.h | 25 ++ c/src/lib/libbsp/i386/pc386/prei

[PATCH 3/6] i386: global descriptor table manipulation functions

2014-11-12 Thread Jan Dolezal
--- c/src/lib/libbsp/i386/shared/irq/idt.c | 147 + c/src/lib/libcpu/i386/cpu.h| 83 ++- 2 files changed, 194 insertions(+), 36 deletions(-) diff --git a/c/src/lib/libbsp/i386/shared/irq/idt.c b/c/src/lib/libbsp/i386/shared/irq/idt.c i

[PATCH 4/6] i386/shared/int16: real mode interrupt interface

2014-11-12 Thread Jan Dolezal
--- c/src/lib/libbsp/i386/pc386/Makefile.am| 2 + c/src/lib/libbsp/i386/pc386/preinstall.am | 4 + c/src/lib/libbsp/i386/shared/int16/int16.c | 397 + c/src/lib/libbsp/i386/shared/int16/int16.h | 93 +++ 4 files changed, 496 insertions(+) create mode 1006

[PATCH] do_it: Create build directory and its parents for Nano-X

2014-10-17 Thread Jan Dolezal
prevents possible mkdir and cd error when parents of build directory are missing --- do_it | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/do_it b/do_it index 616e192..604219e 100755 --- a/do_it +++ b/do_it @@ -418,10 +418,10 @@ fi j_nanox() { if [ ! -d ${BUILDDIR}/${N