diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2019-10-02 00:58:46 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2019-10-02 00:58:46 +0200 |
commit | 0ee738ef8c34d5494265b8a14435333f45b96dc6 (patch) | |
tree | 17546beea3f9c8e4f115ae0ad02eab327dc1725c /sys/src/9/pc/mmu.c | |
parent | a524fd06466b057638d8bf40f8f9f380033320fe (diff) |
vgai81x: use vmap() for uncached access to cursor data instead of manipulating kernel page table
on 386, the kernel memory region is mapped using huge 4MB pages
(when supported by the cpu). so the uncached pte manipulation
does not work to map the cursor data with uncached attribute.
instead, we allocate a memory page using newpage() and map
it globally using vmap(), which maps it uncached.
Diffstat (limited to 'sys/src/9/pc/mmu.c')
0 files changed, 0 insertions, 0 deletions