-
Notifications
You must be signed in to change notification settings - Fork 6
/
platform_patches.txt
44 lines (35 loc) · 814 Bytes
/
platform_patches.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
1) Enable nested interrupts.
xscugic_intr.c
/*
* If pre-eption is required:
* Re-enable pre-emption by setting the CPSR I bit for non-secure ,
* interrupts or the F bit for secure interrupts
*/
__asm("MSR DAIFClr, #2");
/*
* If we need to change security domains, issue a SMC
* instruction here.
*/
/*
* Execute the ISR. Jump into the Interrupt service routine
* based on the IRQSource. A software trigger is cleared by
*.the ACK.
*/
TablePtr = &(InstancePtr->Config->HandlerTable[InterruptID]);
if (TablePtr != NULL) {
TablePtr->Handler(TablePtr->CallBackRef);
}
__asm("MSR DAIFSet, #2");
2) Don't assign BAR address during PCIe init.
xdmapcie.c
/*
* Write Address to PCIe BAR
*/
/*
Ret = XDmaPcie_AllocBarSpace(
InstancePtr, PCIeHeaderType,
BusNum, PCIeDevNum,
PCIeFunNum);
if (Ret != 0)
return;
*/