How another CPU communicate with Xavier through PCIE? (Solved)

And under windows device manager what will it show as the device ?
If your question is about the class of the device, then, it is shown as a device of type ‘Memory Controller’ class

Is there a way to flash the xavier as endpoint through the Jetpack SDK Manager?
Please refer to The problem about xavier pcie endpoint mode - Jetson AGX Xavier - NVIDIA Developer Forums post

What does it mean ‘compile tegra-pcie-ep-mem.c on host PC’ how exactly do I do that is there a video or documentation?
This is a Linux device driver file for Xavier PCIe endpoint mode controller. Copy it to any Host OS running Linux OS and compile it like any other Linux device driver file.
We don’t have windows version of the driver (But, one can develop the windows version of the driver looking at tegra-pcie-ep-mem.c file)