mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 19:31:58 +00:00
8 lines
164 B
C
8 lines
164 B
C
|
typedef struct { unsigned long pgprot; } pgprot_t;
|
||
|
|
||
|
void split_large_page(unsigned long addr, pgprot_t prot)
|
||
|
{
|
||
|
(addr ? prot : ((pgprot_t) { 0x001 } )).pgprot;
|
||
|
}
|
||
|
|