[NFC] Rename some PALs to make the naming more consistent.

This commit is contained in:
David Chisnall 2019-08-01 11:43:40 +01:00
Родитель 2b44b6b5ea
Коммит 896cc9cf6f
4 изменённых файлов: 5 добавлений и 5 удалений

Просмотреть файл

@ -10,7 +10,7 @@ namespace snmalloc
// If simultating OE, then we need the underlying platform
#if !defined(OPEN_ENCLAVE) || defined(OPEN_ENCLAVE_SIMULATION)
# include "pal_apple.h"
# include "pal_free_bsd_kernel.h"
# include "pal_freebsd_kernel.h"
# include "pal_freebsd.h"
# include "pal_linux.h"
# include "pal_netbsd.h"
@ -33,11 +33,11 @@ namespace snmalloc
# elif defined(FreeBSD_KERNEL)
PALFreeBSDKernel;
# elif defined(__FreeBSD__)
PALFBSD;
PALFreeBSD;
# elif defined(__NetBSD__)
PALNetBSD;
# elif defined(__OpenBSD__)
PALOBSD;
PALOpenBSD;
# else
# error Unsupported platform
# endif

Просмотреть файл

@ -11,7 +11,7 @@ namespace snmalloc
* This adds FreeBSD-specific aligned allocation to the generic BSD
* implementation.
*/
class PALFBSD : public PALBSD_Aligned<PALFBSD>
class PALFreeBSD : public PALBSD_Aligned<PALFreeBSD>
{
public:
/**

Просмотреть файл

Просмотреть файл

@ -11,7 +11,7 @@ namespace snmalloc
* OpenBSD behaves exactly like a generic BSD platform but this class exists
* as a place to add OpenBSD-specific behaviour later, if required.
*/
class PALOBSD : public PALBSD<PALOBSD>
class PALOpenBSD : public PALBSD<PALOpenBSD>
{
public:
/**