mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 19:11:53 +00:00
efi_loader: typedef efi_string_t text output protocol
We do not want to use typedefs in U-Boot. Do not use efi_string_t in the EFI_TEXT_OUTPUT_PROTOCOL. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
This commit is contained in:
parent
85fc2ad4d1
commit
7913c7dc57
2 changed files with 5 additions and 5 deletions
|
@ -141,12 +141,12 @@ static int term_read_reply(int *n, int num, char end_char)
|
|||
*/
|
||||
static efi_status_t EFIAPI efi_cout_output_string(
|
||||
struct efi_simple_text_output_protocol *this,
|
||||
const efi_string_t string)
|
||||
const u16 *string)
|
||||
{
|
||||
struct simple_text_output_mode *con = &efi_con_mode;
|
||||
struct cout_mode *mode = &efi_cout_modes[con->mode];
|
||||
char *buf, *pos;
|
||||
u16 *p;
|
||||
const u16 *p;
|
||||
efi_status_t ret = EFI_SUCCESS;
|
||||
|
||||
EFI_ENTRY("%p, %p", this, string);
|
||||
|
@ -230,7 +230,7 @@ out:
|
|||
*/
|
||||
static efi_status_t EFIAPI efi_cout_test_string(
|
||||
struct efi_simple_text_output_protocol *this,
|
||||
const efi_string_t string)
|
||||
const u16 *string)
|
||||
{
|
||||
EFI_ENTRY("%p, %p", this, string);
|
||||
return EFI_EXIT(EFI_SUCCESS);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue