diff options
| author | Amlal El Mahrouss <amlal@el-mahrouss-logic.com> | 2024-04-06 01:45:03 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@el-mahrouss-logic.com> | 2024-04-06 01:45:10 +0200 |
| commit | e47a33d7d4f70c54a27e96df437e6d9ac4e829cf (patch) | |
| tree | 51a9f9f5019006e705444aa5f628fdae0d8dfb66 /Private/NewBoot/BootKit | |
| parent | 5152c2282a1a680a272322f0bd3275fdf43e1530 (diff) | |
Add boot_write_epm_partition for PowerPC, update start location for AMD64 EPM.
Remove HCFS support, fully focusing on NewFS.
Signed-off-by: Amlal El Mahrouss <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'Private/NewBoot/BootKit')
| -rw-r--r-- | Private/NewBoot/BootKit/BootKit.hxx | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/Private/NewBoot/BootKit/BootKit.hxx b/Private/NewBoot/BootKit/BootKit.hxx index 66a9aa67..1fbd0aef 100644 --- a/Private/NewBoot/BootKit/BootKit.hxx +++ b/Private/NewBoot/BootKit/BootKit.hxx @@ -167,7 +167,15 @@ inline UInt32 In32(UInt16 port) { return value; } -inline Void rt_hlt() { asm volatile("hlt"); } +/*** + * Common processor instructions. +*/ + +EXTERN_C void rt_hlt(); +EXTERN_C void rt_cli(); +EXTERN_C void rt_sti(); +EXTERN_C void rt_cld(); +EXTERN_C void rt_std(); #endif // __EFI_x86_64__ @@ -217,3 +225,4 @@ class BVersionString final { EXTERN_C Boolean boot_write_epm_partition(const Char *namePart, SizeT namePartLength, BootDevice *bootDev); + |
