Lines 32-50
Link Here
|
32 |
# include <errno.h> |
32 |
# include <errno.h> |
33 |
#endif |
33 |
#endif |
34 |
|
34 |
|
35 |
os_vm_size_t os_vm_page_size=0; |
|
|
36 |
|
37 |
void |
35 |
void |
38 |
os_init(char *argv[], char *envp[]) |
36 |
os_init(char *argv[], char *envp[]) |
39 |
{ |
37 |
{ |
40 |
/* |
|
|
41 |
* historically, this used sysconf to select the runtime page size |
42 |
* per recent changes on other arches and discussion on sbcl-devel, |
43 |
* however, this is not necessary -- the VM page size need not match |
44 |
* the OS page size (and the default backend page size has been |
45 |
* ramped up accordingly for efficiency reasons). |
46 |
*/ |
47 |
os_vm_page_size = BACKEND_PAGE_BYTES; |
48 |
} |
38 |
} |
49 |
|
39 |
|
50 |
os_vm_address_t os_validate(int attributes, os_vm_address_t addr, os_vm_size_t len) |
40 |
os_vm_address_t os_validate(int attributes, os_vm_address_t addr, os_vm_size_t len) |