Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A few fixes and enhencement #4

Open
wants to merge 20 commits into
base: master
Choose a base branch
from

Conversation

jeremy-compostella
Copy link
Contributor

@jeremy-compostella jeremy-compostella commented Sep 11, 2020

These patches allow to load an EFI binary from the efiwrapper library.

The only situation where GetMemoryMap should return
EFI_INVALID_PARAMETER is if MemoryMapSize is NULL.

Change-Id: I0d42634c9ee010411baeb2aaf75f713b882f0af8
Signed-off-by: Jeremy Compostella <[email protected]>
The PE/COFF loader was only available in the host section of the
project.  This patch moves this support to the libefiwrapper making
the LoadImage() and StartImage() Boot Services widely available.

Change-Id: I5f3b0925d5075578a292b83f2da4ed92d8857184
Signed-off-by: Jeremy Compostella <[email protected]>
Change-Id: I1c865a0c6684a7e48691fbcaf06289f77473b660
Signed-off-by: Jeremy Compostella <[email protected]>
Change-Id: I21832c9da1ff080a1ed0f4a47e2ea87636e10dfa
Signed-off-by: Jeremy Compostella <[email protected]>
This patch implements the SIMPLE_INPUT_INTERFACE ReadKeyStroke()
function using the POSIX getchar() function.

Change-Id: I9cf513d7baf5ff7e36ca94f60ea84da528687730
Signed-off-by: Jeremy Compostella <[email protected]>
@jeremy-compostella
Copy link
Contributor Author

Any review for this pull request ?

Change-Id: I5b153fcbdf436a519179880b0e1823f686c108c4
Signed-off-by: Jeremy Compostella <[email protected]>
Call printf() to write a simple char is overkill.

Change-Id: Ideb99a962d6ec65f06ff87cbf566f7c8e946921a
Signed-off-by: Jeremy Compostella <[email protected]>
This patch adds the support of the  Reset(), QueryMode(), SetMode(),
SetAttribute(), ClearScreen(), SetCursorPosition() and EnableCursor()
function using the terminal commands.

Change-Id: I450be54c90e9963654f2f350584a826c6dbe1ee2
Signed-off-by: Jeremy Compostella <[email protected]>
Change-Id: Id005005305a417cb33801527b011514a3d0169e5
Signed-off-by: Jeremy Compostella <[email protected]>
Change-Id: If507abb6471980c82d6c1aa4512d8cb12224ef91
Signed-off-by: Jeremy Compostella <[email protected]>
Change-Id: Ic4177c6b2ba7997b0b52e99b16e9a228dfea9d05
Signed-off-by: Jeremy Compostella <[email protected]>
EFI_STATUS is not an integer.  Its definition changes in 64-bits

Change-Id: Ibea9386d576ab8c7ff441f50f85f862753190ba9
Signed-off-by: Jeremy Compostella <[email protected]>
It turns out that some EFI binary expect the mode to selected already
when they start.  This patches make the GOP driver select the default
mode which is 0.

Change-Id: I07307768df49911b461b9f2ce6993e508f5775b6
Signed-off-by: Jeremy Compostella <[email protected]>
Change-Id: Ied2cce62502850adfbcf240c5ffbd2829a40166d
Signed-off-by: Jeremy Compostella <[email protected]>
Change-Id: I6beaf2ba236f7670d8307d9fcdb0480c92a46c9c
Signed-off-by: Jeremy Compostella <[email protected]>
This patch adds a check event support for keys thanks to the
libpaylod havekey() function.

Change-Id: Ie2603b0370d26a5f0c87832908cd1e4aa7520e64
Signed-off-by: Jeremy Compostella <[email protected]>
Change-Id: I18c00f16f6dae14a2df5a310c48848c08f2eba68
Signed-off-by: Jeremy Compostella <[email protected]>
This is a simple implementation binding the new protocol interface to
the old one.

Change-Id: I643929fabc0e61708bb05d17af9b8b7d29be60bb
Signed-off-by: Jeremy Compostella <[email protected]>
Change-Id: Icc43322240fe5c21a454b5e6af45ecbaef5d4b01
Signed-off-by: Jeremy Compostella <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant