mirror of
https://github.com/ps5-linux/ps5-linux-loader.git
synced 2026-05-09 00:24:16 +00:00
Add iommu definitions.
This commit is contained in:
committed by
GitHub
parent
9f1d4f683d
commit
dcb60beef2
@@ -159,7 +159,7 @@ void entry(void) {
|
||||
}
|
||||
|
||||
// Disable IOMMU.
|
||||
*(volatile uint64_t *)0xfdd80018 &= ~1;
|
||||
*(volatile uint64_t *)(AMDIOMMU_MMIO_BASE + AMDIOMMU_CTRL) &= ~1;
|
||||
|
||||
memcpy(&info, (void *)(cave_linux_info), sizeof(struct linux_info));
|
||||
|
||||
|
||||
@@ -37,7 +37,10 @@
|
||||
#define DCHUBBUB_WHITELIST_BASE_ADDR_0 0x24878
|
||||
#define DCHUBBUB_WHITELIST_TOP_ADDR_0 0x2487c
|
||||
|
||||
#define AMDIOMMU_MMIO_BASE 0xfdd80000
|
||||
#define AMDIOMMU_CTRL 0x18
|
||||
|
||||
#define MAXCPU 16
|
||||
|
||||
void entry(void);
|
||||
void boot_linux(void);
|
||||
void boot_linux(void);
|
||||
|
||||
Reference in New Issue
Block a user