2 * PROJECT: EFI Windows Loader
3 * LICENSE: GPL - See COPYING in the top level directory
4 * FILE: boot/freeldr/freeldr/windows/conversion.c
5 * PURPOSE: Physical <-> Virtual addressing mode conversions (arch-specific)
6 * PROGRAMMERS: Aleksey Bragin (aleksey@reactos.org)
12 /* Arch-specific addresses translation implementation */
17 return (PVOID
)((ULONG_PTR
)Va
& ~KSEG0_BASE
);
24 return (PVOID
)((ULONG_PTR
)Pa
| KSEG0_BASE
);