#
6faf55c8 |
| 24-Feb-2024 |
Warner Losh <imp@FreeBSD.org> |
loader: rename gfx_interp_md to gfx_interp_ref
We have the call to gfx_interp_ref to bring in the .o so that we get the linker set item to add the language bindings at the right time. Where we call
loader: rename gfx_interp_md to gfx_interp_ref
We have the call to gfx_interp_ref to bring in the .o so that we get the linker set item to add the language bindings at the right time. Where we call it is not the right time... So the _ref name is better. Change it before we have too many others like it.
Sponsored by: Netflix
show more ...
|
#
60e199d9 |
| 16-Feb-2024 |
Warner Losh <imp@FreeBSD.org> |
loader: Add prototype for gfx_interp_md
This function will be used to draw in the graphics bindings when the loader is compiled with graphics (gfx) support. Provide definitions for lua and the simpl
loader: Add prototype for gfx_interp_md
This function will be used to draw in the graphics bindings when the loader is compiled with graphics (gfx) support. Provide definitions for lua and the simple interpreter. 4th support is forthcoming.
Sponsored by: Netflix Reviewed by: kevans, jhb Differential Revision: https://reviews.freebsd.org/D43903
show more ...
|
Revision tags: release/14.0.0 |
|
#
b3e76948 |
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: two-line .h pattern
Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
|
Revision tags: release/13.2.0, release/12.4.0, release/13.1.0 |
|
#
221376db |
| 17-Dec-2021 |
Toomas Soome <tsoome@FreeBSD.org> |
loader.efi: to preserve heap space, use AllocatePages() for shadow_fb
shadow FB size could be rather large and depends on resolution, instead of using heap, allocate dedicated space outside of heap.
loader.efi: to preserve heap space, use AllocatePages() for shadow_fb
shadow FB size could be rather large and depends on resolution, instead of using heap, allocate dedicated space outside of heap.
Reviewed by: manu Differential Revision: https://reviews.freebsd.org/D33600 MFC after: 2 weeks
show more ...
|
#
aaaa5a2e |
| 14-Dec-2021 |
Warner Losh <imp@FreeBSD.org> |
loader: narrow the scope of gfx frame buffer wrt tg supported kernels
Store whether or not we found a vbefb module (eg, a tg supported kernel) in the preloaded_file structure. This automatically res
loader: narrow the scope of gfx frame buffer wrt tg supported kernels
Store whether or not we found a vbefb module (eg, a tg supported kernel) in the preloaded_file structure. This automatically resets on reload and eliminates load_elf knowing about any gfx_* interface. Restrict this to i386, which is the only place it's used. Update libi386 to check in the preloaded_file struct. Eliminate this from the teken_gfx structure. Rewrite the parsing code to be more inline. Check this from the same place we check for a relocatable amd64 kernel.
Sponsored by: Netflix Reviewed by: manu, tsoome Differential Revision: https://reviews.freebsd.org/D33427
show more ...
|
#
6102f43c |
| 06-Dec-2021 |
Toomas Soome <tsoome@FreeBSD.org> |
loader: framebuffer should only be written into
Reading from Write Combining memory can be very-very slow. Try to use shadow buffer to avoid such reads.
MFC after: 1 month Differential Revision: ht
loader: framebuffer should only be written into
Reading from Write Combining memory can be very-very slow. Try to use shadow buffer to avoid such reads.
MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D33305
show more ...
|
Revision tags: release/12.3.0, release/13.0.0 |
|
#
d708f23e |
| 06-Mar-2021 |
Toomas Soome <tsoome@FreeBSD.org> |
loader: cursor off should restore display content
When drawing cursor, we should store original display content because there may be image data we would like to restore when the cursor is removed.
loader: cursor off should restore display content
When drawing cursor, we should store original display content because there may be image data we would like to restore when the cursor is removed.
PR: 254054 Reported by: Jose Luis Duran MFC after: 3 days
show more ...
|
#
becaac39 |
| 20-Feb-2021 |
Toomas Soome <tsoome@FreeBSD.org> |
loader: use display pixel density for font autoselection
Calculate font size from 16 density independent pixels (dp) by using: size = 16 * ppi/160 * display_factor
We are specifying font size 16dp,
loader: use display pixel density for font autoselection
Calculate font size from 16 density independent pixels (dp) by using: size = 16 * ppi/160 * display_factor
We are specifying font size 16dp, and assuming 1dp = 160ppi. Also apply scaling factor 2 (display_factor).
MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D28849
show more ...
|
#
a26f7358 |
| 08-Feb-2021 |
Toomas Soome <tsoome@FreeBSD.org> |
loader: do not autoselect smaller font than 8x16 with high res display
The VT screen buffer size is calculated based on our default built in (8x16) font.
With high-resolution display, we want to us
loader: do not autoselect smaller font than 8x16 with high res display
The VT screen buffer size is calculated based on our default built in (8x16) font.
With high-resolution display, we want to use at least 8x16 font, or we will have large unused areas on screen.
MFC after: 1 week
show more ...
|
#
6c7a932d |
| 26-Jan-2021 |
Toomas Soome <tsoome@FreeBSD.org> |
loader: start kernel in text mode when there is no vbefb vt driver
If kernel is built without VT vbefb driver, make sure we start kernel in text mode.
|
#
3630506b |
| 21-Dec-2020 |
Toomas Soome <tsoome@FreeBSD.org> |
loader: implement framebuffer console
Draw console on efi. Add vbe framebuffer for BIOS loader (vbe off, vbe on, vbe list, vbe set xxx). autoload font (/boot/fonts) based on resolution and font size
loader: implement framebuffer console
Draw console on efi. Add vbe framebuffer for BIOS loader (vbe off, vbe on, vbe list, vbe set xxx). autoload font (/boot/fonts) based on resolution and font size. Add command loadfont (set font by file) and variable screen.font (set font by size). Pass loaded font to kernel.
Export variables: screen.height screen.width screen.depth
Add gfx primitives to draw the screen and put png image on the screen. Rework menu draw to iterate list of consoles to enamble device specific output.
Probably something else I forgot...
Relnotes: yes Differential Revision: https://reviews.freebsd.org/D27420
show more ...
|