Skip to content

Commit

Permalink
Add X86EmulatorPkg
Browse files Browse the repository at this point in the history
Signed-off-by: Mario Bălănică <[email protected]>
  • Loading branch information
mariobalanica committed Apr 3, 2024
1 parent 956bbdc commit 30c1968
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@
[submodule "misc/rkbin"]
path = misc/rkbin
url = https://github.com/rockchip-linux/rkbin.git
[submodule "X86EmulatorPkg"]
path = X86EmulatorPkg
url = https://github.com/ardbiesheuvel/X86EmulatorPkg.git
1 change: 1 addition & 0 deletions X86EmulatorPkg
Submodule X86EmulatorPkg added at 820566
7 changes: 7 additions & 0 deletions edk2-rockchip/Silicon/Rockchip/FvMainModules.fdf.inc
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,13 @@
#
INF MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf

#
# X86 Driver Emulator
#
!if $(X86_EMULATOR_ENABLE) == TRUE
INF X86EmulatorPkg/X86Emulator.inf
!endif

#
# UEFI Network Stack
#
Expand Down
7 changes: 7 additions & 0 deletions edk2-rockchip/Silicon/Rockchip/RK3588/RK3588Base.dsc.inc
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,13 @@
DEFINE SCMI_CLK_CPUB01 = 0x2
DEFINE SCMI_CLK_CPUB23 = 0x3

#
# Extra features
#
!ifndef X86_EMULATOR_ENABLE
DEFINE X86_EMULATOR_ENABLE = TRUE
!endif

#
# Default peripheral support flags
#
Expand Down
7 changes: 7 additions & 0 deletions edk2-rockchip/Silicon/Rockchip/Rockchip.dsc.inc
Original file line number Diff line number Diff line change
Expand Up @@ -689,6 +689,13 @@ FspiLib|Silicon/Rockchip/Library/FspiLib/FspiLib.inf
#
MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf

#
# X86 Driver Emulator
#
!if $(X86_EMULATOR_ENABLE) == TRUE
X86EmulatorPkg/X86Emulator.inf
!endif

#
# UEFI Network Stack
#
Expand Down

0 comments on commit 30c1968

Please sign in to comment.