|
ginnOS
The reference: libc, the libraries and the kernel
|
the page attribute table: write-combining for the framebuffer. More...
#include "common/stdint.h"Go to the source code of this file.
Functions | |
| void | pat_init (void) |
| program the PAT of the core that runs the call so that a page with PWT set and PCD clear is write-combining. | |
| bool | pat_has_write_combining (void) |
| true if pat_init could set up write-combining (the CPU has a PAT). | |
the page attribute table: write-combining for the framebuffer.
| void pat_init | ( | void | ) |
program the PAT of the core that runs the call so that a page with PWT set and PCD clear is write-combining.
the boot core calls it at boot, before such pages are mapped; each other core calls it when it starts, because all cores must give a page the same memory type.
| bool pat_has_write_combining | ( | void | ) |
true if pat_init could set up write-combining (the CPU has a PAT).