Home
last modified time | relevance | path

Searched refs:LARGE_PAGE_SIZE (Results 1 – 25 of 105) sorted by relevance

12345

/dports/math/cado-nfs/cado-nfs-f4284e2391121b2bfb97bc4880b6273c7250dc2f/sieve/
H A Dlas-memory.cpp21 #ifndef LARGE_PAGE_SIZE
22 #define LARGE_PAGE_SIZE (2UL*1024*1024) macro
44 ASSERT_ALWAYS(rsize <= LARGE_PAGE_SIZE); in alloc_frequent_size()
48 … unsigned char * w = static_cast<unsigned char*>(malloc_aligned(LARGE_PAGE_SIZE, LARGE_PAGE_SIZE)); in alloc_frequent_size()
76 size_t nr_pages = iceildiv(size, LARGE_PAGE_SIZE); in physical_alloc()
77 size_t rounded_up_size = nr_pages * LARGE_PAGE_SIZE; in physical_alloc()
96 size_t nr_pages = iceildiv(size, LARGE_PAGE_SIZE); in physical_alloc()
97 size_t rounded_up_size = nr_pages * LARGE_PAGE_SIZE; in physical_alloc()
99 void *m = malloc_aligned(rounded_up_size, LARGE_PAGE_SIZE); in physical_alloc()
141 size_t nr_pages = iceildiv(size, LARGE_PAGE_SIZE); in physical_free()
[all …]
/dports/emulators/qemu42/qemu-4.2.1/roms/u-boot/arch/x86/lib/
H A Dphysmem.c19 #define LARGE_PAGE_SIZE ((1 << 20) * 2) macro
111 page_addr += LARGE_PAGE_SIZE) { in x86_phys_enter_paging()
141 const uintptr_t window = LARGE_PAGE_SIZE; in x86_phys_memset_page()
144 assert(window + LARGE_PAGE_SIZE < in x86_phys_memset_page()
176 phys_addr_t map_addr = start & ~(LARGE_PAGE_SIZE - 1); in arch_phys_memset()
184 min(map_addr + LARGE_PAGE_SIZE, start + size); in arch_phys_memset()
188 map_addr += LARGE_PAGE_SIZE; in arch_phys_memset()
191 while (size > LARGE_PAGE_SIZE) { in arch_phys_memset()
192 x86_phys_memset_page(map_addr, 0, c, LARGE_PAGE_SIZE); in arch_phys_memset()
193 size -= LARGE_PAGE_SIZE; in arch_phys_memset()
[all …]
/dports/emulators/qemu5/qemu-5.2.0/roms/u-boot/arch/x86/lib/
H A Dphysmem.c19 #define LARGE_PAGE_SIZE ((1 << 20) * 2) macro
111 page_addr += LARGE_PAGE_SIZE) { in x86_phys_enter_paging()
141 const uintptr_t window = LARGE_PAGE_SIZE; in x86_phys_memset_page()
144 assert(window + LARGE_PAGE_SIZE < in x86_phys_memset_page()
176 phys_addr_t map_addr = start & ~(LARGE_PAGE_SIZE - 1); in arch_phys_memset()
184 min(map_addr + LARGE_PAGE_SIZE, start + size); in arch_phys_memset()
188 map_addr += LARGE_PAGE_SIZE; in arch_phys_memset()
191 while (size > LARGE_PAGE_SIZE) { in arch_phys_memset()
192 x86_phys_memset_page(map_addr, 0, c, LARGE_PAGE_SIZE); in arch_phys_memset()
193 size -= LARGE_PAGE_SIZE; in arch_phys_memset()
[all …]
/dports/sysutils/u-boot-olinuxino-lime2/u-boot-2021.07/arch/x86/lib/
H A Dphysmem.c21 #define LARGE_PAGE_SIZE ((1 << 20) * 2) macro
113 page_addr += LARGE_PAGE_SIZE) { in x86_phys_enter_paging()
143 const uintptr_t window = LARGE_PAGE_SIZE; in x86_phys_memset_page()
146 assert(window + LARGE_PAGE_SIZE < in x86_phys_memset_page()
178 phys_addr_t map_addr = start & ~(LARGE_PAGE_SIZE - 1); in arch_phys_memset()
186 min(map_addr + LARGE_PAGE_SIZE, start + size); in arch_phys_memset()
190 map_addr += LARGE_PAGE_SIZE; in arch_phys_memset()
193 while (size > LARGE_PAGE_SIZE) { in arch_phys_memset()
194 x86_phys_memset_page(map_addr, 0, c, LARGE_PAGE_SIZE); in arch_phys_memset()
195 size -= LARGE_PAGE_SIZE; in arch_phys_memset()
[all …]
/dports/sysutils/u-boot-olimex-a20-som-evb/u-boot-2021.07/arch/x86/lib/
H A Dphysmem.c21 #define LARGE_PAGE_SIZE ((1 << 20) * 2) macro
113 page_addr += LARGE_PAGE_SIZE) { in x86_phys_enter_paging()
143 const uintptr_t window = LARGE_PAGE_SIZE; in x86_phys_memset_page()
146 assert(window + LARGE_PAGE_SIZE < in x86_phys_memset_page()
178 phys_addr_t map_addr = start & ~(LARGE_PAGE_SIZE - 1); in arch_phys_memset()
186 min(map_addr + LARGE_PAGE_SIZE, start + size); in arch_phys_memset()
190 map_addr += LARGE_PAGE_SIZE; in arch_phys_memset()
193 while (size > LARGE_PAGE_SIZE) { in arch_phys_memset()
194 x86_phys_memset_page(map_addr, 0, c, LARGE_PAGE_SIZE); in arch_phys_memset()
195 size -= LARGE_PAGE_SIZE; in arch_phys_memset()
[all …]
/dports/sysutils/u-boot-cubieboard2/u-boot-2021.07/arch/x86/lib/
H A Dphysmem.c21 #define LARGE_PAGE_SIZE ((1 << 20) * 2) macro
113 page_addr += LARGE_PAGE_SIZE) { in x86_phys_enter_paging()
143 const uintptr_t window = LARGE_PAGE_SIZE; in x86_phys_memset_page()
146 assert(window + LARGE_PAGE_SIZE < in x86_phys_memset_page()
178 phys_addr_t map_addr = start & ~(LARGE_PAGE_SIZE - 1); in arch_phys_memset()
186 min(map_addr + LARGE_PAGE_SIZE, start + size); in arch_phys_memset()
190 map_addr += LARGE_PAGE_SIZE; in arch_phys_memset()
193 while (size > LARGE_PAGE_SIZE) { in arch_phys_memset()
194 x86_phys_memset_page(map_addr, 0, c, LARGE_PAGE_SIZE); in arch_phys_memset()
195 size -= LARGE_PAGE_SIZE; in arch_phys_memset()
[all …]
/dports/sysutils/u-boot-cubox-hummingboard/u-boot-2021.07/arch/x86/lib/
H A Dphysmem.c21 #define LARGE_PAGE_SIZE ((1 << 20) * 2) macro
113 page_addr += LARGE_PAGE_SIZE) { in x86_phys_enter_paging()
143 const uintptr_t window = LARGE_PAGE_SIZE; in x86_phys_memset_page()
146 assert(window + LARGE_PAGE_SIZE < in x86_phys_memset_page()
178 phys_addr_t map_addr = start & ~(LARGE_PAGE_SIZE - 1); in arch_phys_memset()
186 min(map_addr + LARGE_PAGE_SIZE, start + size); in arch_phys_memset()
190 map_addr += LARGE_PAGE_SIZE; in arch_phys_memset()
193 while (size > LARGE_PAGE_SIZE) { in arch_phys_memset()
194 x86_phys_memset_page(map_addr, 0, c, LARGE_PAGE_SIZE); in arch_phys_memset()
195 size -= LARGE_PAGE_SIZE; in arch_phys_memset()
[all …]
/dports/sysutils/u-boot-cubieboard/u-boot-2021.07/arch/x86/lib/
H A Dphysmem.c21 #define LARGE_PAGE_SIZE ((1 << 20) * 2) macro
113 page_addr += LARGE_PAGE_SIZE) { in x86_phys_enter_paging()
143 const uintptr_t window = LARGE_PAGE_SIZE; in x86_phys_memset_page()
146 assert(window + LARGE_PAGE_SIZE < in x86_phys_memset_page()
178 phys_addr_t map_addr = start & ~(LARGE_PAGE_SIZE - 1); in arch_phys_memset()
186 min(map_addr + LARGE_PAGE_SIZE, start + size); in arch_phys_memset()
190 map_addr += LARGE_PAGE_SIZE; in arch_phys_memset()
193 while (size > LARGE_PAGE_SIZE) { in arch_phys_memset()
194 x86_phys_memset_page(map_addr, 0, c, LARGE_PAGE_SIZE); in arch_phys_memset()
195 size -= LARGE_PAGE_SIZE; in arch_phys_memset()
[all …]
/dports/sysutils/u-boot-firefly-rk3399/u-boot-2021.07/arch/x86/lib/
H A Dphysmem.c21 #define LARGE_PAGE_SIZE ((1 << 20) * 2) macro
113 page_addr += LARGE_PAGE_SIZE) { in x86_phys_enter_paging()
143 const uintptr_t window = LARGE_PAGE_SIZE; in x86_phys_memset_page()
146 assert(window + LARGE_PAGE_SIZE < in x86_phys_memset_page()
178 phys_addr_t map_addr = start & ~(LARGE_PAGE_SIZE - 1); in arch_phys_memset()
186 min(map_addr + LARGE_PAGE_SIZE, start + size); in arch_phys_memset()
190 map_addr += LARGE_PAGE_SIZE; in arch_phys_memset()
193 while (size > LARGE_PAGE_SIZE) { in arch_phys_memset()
194 x86_phys_memset_page(map_addr, 0, c, LARGE_PAGE_SIZE); in arch_phys_memset()
195 size -= LARGE_PAGE_SIZE; in arch_phys_memset()
[all …]
/dports/sysutils/u-boot-a13-olinuxino/u-boot-2021.07/arch/x86/lib/
H A Dphysmem.c21 #define LARGE_PAGE_SIZE ((1 << 20) * 2) macro
113 page_addr += LARGE_PAGE_SIZE) { in x86_phys_enter_paging()
143 const uintptr_t window = LARGE_PAGE_SIZE; in x86_phys_memset_page()
146 assert(window + LARGE_PAGE_SIZE < in x86_phys_memset_page()
178 phys_addr_t map_addr = start & ~(LARGE_PAGE_SIZE - 1); in arch_phys_memset()
186 min(map_addr + LARGE_PAGE_SIZE, start + size); in arch_phys_memset()
190 map_addr += LARGE_PAGE_SIZE; in arch_phys_memset()
193 while (size > LARGE_PAGE_SIZE) { in arch_phys_memset()
194 x86_phys_memset_page(map_addr, 0, c, LARGE_PAGE_SIZE); in arch_phys_memset()
195 size -= LARGE_PAGE_SIZE; in arch_phys_memset()
[all …]
/dports/sysutils/u-boot-sopine/u-boot-2021.07/arch/x86/lib/
H A Dphysmem.c21 #define LARGE_PAGE_SIZE ((1 << 20) * 2) macro
113 page_addr += LARGE_PAGE_SIZE) { in x86_phys_enter_paging()
143 const uintptr_t window = LARGE_PAGE_SIZE; in x86_phys_memset_page()
146 assert(window + LARGE_PAGE_SIZE < in x86_phys_memset_page()
178 phys_addr_t map_addr = start & ~(LARGE_PAGE_SIZE - 1); in arch_phys_memset()
186 min(map_addr + LARGE_PAGE_SIZE, start + size); in arch_phys_memset()
190 map_addr += LARGE_PAGE_SIZE; in arch_phys_memset()
193 while (size > LARGE_PAGE_SIZE) { in arch_phys_memset()
194 x86_phys_memset_page(map_addr, 0, c, LARGE_PAGE_SIZE); in arch_phys_memset()
195 size -= LARGE_PAGE_SIZE; in arch_phys_memset()
[all …]
/dports/sysutils/u-boot-a64-olinuxino/u-boot-2021.07/arch/x86/lib/
H A Dphysmem.c21 #define LARGE_PAGE_SIZE ((1 << 20) * 2) macro
113 page_addr += LARGE_PAGE_SIZE) { in x86_phys_enter_paging()
143 const uintptr_t window = LARGE_PAGE_SIZE; in x86_phys_memset_page()
146 assert(window + LARGE_PAGE_SIZE < in x86_phys_memset_page()
178 phys_addr_t map_addr = start & ~(LARGE_PAGE_SIZE - 1); in arch_phys_memset()
186 min(map_addr + LARGE_PAGE_SIZE, start + size); in arch_phys_memset()
190 map_addr += LARGE_PAGE_SIZE; in arch_phys_memset()
193 while (size > LARGE_PAGE_SIZE) { in arch_phys_memset()
194 x86_phys_memset_page(map_addr, 0, c, LARGE_PAGE_SIZE); in arch_phys_memset()
195 size -= LARGE_PAGE_SIZE; in arch_phys_memset()
[all …]
/dports/sysutils/u-boot-qemu-arm64/u-boot-2021.07/arch/x86/lib/
H A Dphysmem.c21 #define LARGE_PAGE_SIZE ((1 << 20) * 2) macro
113 page_addr += LARGE_PAGE_SIZE) { in x86_phys_enter_paging()
143 const uintptr_t window = LARGE_PAGE_SIZE; in x86_phys_memset_page()
146 assert(window + LARGE_PAGE_SIZE < in x86_phys_memset_page()
178 phys_addr_t map_addr = start & ~(LARGE_PAGE_SIZE - 1); in arch_phys_memset()
186 min(map_addr + LARGE_PAGE_SIZE, start + size); in arch_phys_memset()
190 map_addr += LARGE_PAGE_SIZE; in arch_phys_memset()
193 while (size > LARGE_PAGE_SIZE) { in arch_phys_memset()
194 x86_phys_memset_page(map_addr, 0, c, LARGE_PAGE_SIZE); in arch_phys_memset()
195 size -= LARGE_PAGE_SIZE; in arch_phys_memset()
[all …]
/dports/sysutils/u-boot-nanopi-m1plus/u-boot-2021.07/arch/x86/lib/
H A Dphysmem.c21 #define LARGE_PAGE_SIZE ((1 << 20) * 2) macro
113 page_addr += LARGE_PAGE_SIZE) { in x86_phys_enter_paging()
143 const uintptr_t window = LARGE_PAGE_SIZE; in x86_phys_memset_page()
146 assert(window + LARGE_PAGE_SIZE < in x86_phys_memset_page()
178 phys_addr_t map_addr = start & ~(LARGE_PAGE_SIZE - 1); in arch_phys_memset()
186 min(map_addr + LARGE_PAGE_SIZE, start + size); in arch_phys_memset()
190 map_addr += LARGE_PAGE_SIZE; in arch_phys_memset()
193 while (size > LARGE_PAGE_SIZE) { in arch_phys_memset()
194 x86_phys_memset_page(map_addr, 0, c, LARGE_PAGE_SIZE); in arch_phys_memset()
195 size -= LARGE_PAGE_SIZE; in arch_phys_memset()
[all …]
/dports/sysutils/u-boot-nanopi-neo/u-boot-2021.07/arch/x86/lib/
H A Dphysmem.c21 #define LARGE_PAGE_SIZE ((1 << 20) * 2) macro
113 page_addr += LARGE_PAGE_SIZE) { in x86_phys_enter_paging()
143 const uintptr_t window = LARGE_PAGE_SIZE; in x86_phys_memset_page()
146 assert(window + LARGE_PAGE_SIZE < in x86_phys_memset_page()
178 phys_addr_t map_addr = start & ~(LARGE_PAGE_SIZE - 1); in arch_phys_memset()
186 min(map_addr + LARGE_PAGE_SIZE, start + size); in arch_phys_memset()
190 map_addr += LARGE_PAGE_SIZE; in arch_phys_memset()
193 while (size > LARGE_PAGE_SIZE) { in arch_phys_memset()
194 x86_phys_memset_page(map_addr, 0, c, LARGE_PAGE_SIZE); in arch_phys_memset()
195 size -= LARGE_PAGE_SIZE; in arch_phys_memset()
[all …]
/dports/sysutils/u-boot-bananapi/u-boot-2021.07/arch/x86/lib/
H A Dphysmem.c21 #define LARGE_PAGE_SIZE ((1 << 20) * 2) macro
113 page_addr += LARGE_PAGE_SIZE) { in x86_phys_enter_paging()
143 const uintptr_t window = LARGE_PAGE_SIZE; in x86_phys_memset_page()
146 assert(window + LARGE_PAGE_SIZE < in x86_phys_memset_page()
178 phys_addr_t map_addr = start & ~(LARGE_PAGE_SIZE - 1); in arch_phys_memset()
186 min(map_addr + LARGE_PAGE_SIZE, start + size); in arch_phys_memset()
190 map_addr += LARGE_PAGE_SIZE; in arch_phys_memset()
193 while (size > LARGE_PAGE_SIZE) { in arch_phys_memset()
194 x86_phys_memset_page(map_addr, 0, c, LARGE_PAGE_SIZE); in arch_phys_memset()
195 size -= LARGE_PAGE_SIZE; in arch_phys_memset()
[all …]
/dports/sysutils/u-boot-chip/u-boot-2021.07/arch/x86/lib/
H A Dphysmem.c21 #define LARGE_PAGE_SIZE ((1 << 20) * 2) macro
113 page_addr += LARGE_PAGE_SIZE) { in x86_phys_enter_paging()
143 const uintptr_t window = LARGE_PAGE_SIZE; in x86_phys_memset_page()
146 assert(window + LARGE_PAGE_SIZE < in x86_phys_memset_page()
178 phys_addr_t map_addr = start & ~(LARGE_PAGE_SIZE - 1); in arch_phys_memset()
186 min(map_addr + LARGE_PAGE_SIZE, start + size); in arch_phys_memset()
190 map_addr += LARGE_PAGE_SIZE; in arch_phys_memset()
193 while (size > LARGE_PAGE_SIZE) { in arch_phys_memset()
194 x86_phys_memset_page(map_addr, 0, c, LARGE_PAGE_SIZE); in arch_phys_memset()
195 size -= LARGE_PAGE_SIZE; in arch_phys_memset()
[all …]
/dports/sysutils/u-boot-wandboard/u-boot-2021.07/arch/x86/lib/
H A Dphysmem.c21 #define LARGE_PAGE_SIZE ((1 << 20) * 2) macro
113 page_addr += LARGE_PAGE_SIZE) { in x86_phys_enter_paging()
143 const uintptr_t window = LARGE_PAGE_SIZE; in x86_phys_memset_page()
146 assert(window + LARGE_PAGE_SIZE < in x86_phys_memset_page()
178 phys_addr_t map_addr = start & ~(LARGE_PAGE_SIZE - 1); in arch_phys_memset()
186 min(map_addr + LARGE_PAGE_SIZE, start + size); in arch_phys_memset()
190 map_addr += LARGE_PAGE_SIZE; in arch_phys_memset()
193 while (size > LARGE_PAGE_SIZE) { in arch_phys_memset()
194 x86_phys_memset_page(map_addr, 0, c, LARGE_PAGE_SIZE); in arch_phys_memset()
195 size -= LARGE_PAGE_SIZE; in arch_phys_memset()
[all …]
/dports/emulators/qemu-utils/qemu-4.2.1/roms/u-boot/arch/x86/lib/
H A Dphysmem.c19 #define LARGE_PAGE_SIZE ((1 << 20) * 2) macro
111 page_addr += LARGE_PAGE_SIZE) { in x86_phys_enter_paging()
141 const uintptr_t window = LARGE_PAGE_SIZE; in x86_phys_memset_page()
144 assert(window + LARGE_PAGE_SIZE < in x86_phys_memset_page()
176 phys_addr_t map_addr = start & ~(LARGE_PAGE_SIZE - 1); in arch_phys_memset()
184 min(map_addr + LARGE_PAGE_SIZE, start + size); in arch_phys_memset()
188 map_addr += LARGE_PAGE_SIZE; in arch_phys_memset()
191 while (size > LARGE_PAGE_SIZE) { in arch_phys_memset()
192 x86_phys_memset_page(map_addr, 0, c, LARGE_PAGE_SIZE); in arch_phys_memset()
193 size -= LARGE_PAGE_SIZE; in arch_phys_memset()
[all …]
/dports/emulators/qemu-guest-agent/qemu-5.0.1/roms/u-boot/arch/x86/lib/
H A Dphysmem.c19 #define LARGE_PAGE_SIZE ((1 << 20) * 2) macro
111 page_addr += LARGE_PAGE_SIZE) { in x86_phys_enter_paging()
141 const uintptr_t window = LARGE_PAGE_SIZE; in x86_phys_memset_page()
144 assert(window + LARGE_PAGE_SIZE < in x86_phys_memset_page()
176 phys_addr_t map_addr = start & ~(LARGE_PAGE_SIZE - 1); in arch_phys_memset()
184 min(map_addr + LARGE_PAGE_SIZE, start + size); in arch_phys_memset()
188 map_addr += LARGE_PAGE_SIZE; in arch_phys_memset()
191 while (size > LARGE_PAGE_SIZE) { in arch_phys_memset()
192 x86_phys_memset_page(map_addr, 0, c, LARGE_PAGE_SIZE); in arch_phys_memset()
193 size -= LARGE_PAGE_SIZE; in arch_phys_memset()
[all …]
/dports/sysutils/u-boot-clearfog/u-boot-2021.07/arch/x86/lib/
H A Dphysmem.c21 #define LARGE_PAGE_SIZE ((1 << 20) * 2) macro
113 page_addr += LARGE_PAGE_SIZE) { in x86_phys_enter_paging()
143 const uintptr_t window = LARGE_PAGE_SIZE; in x86_phys_memset_page()
146 assert(window + LARGE_PAGE_SIZE < in x86_phys_memset_page()
178 phys_addr_t map_addr = start & ~(LARGE_PAGE_SIZE - 1); in arch_phys_memset()
186 min(map_addr + LARGE_PAGE_SIZE, start + size); in arch_phys_memset()
190 map_addr += LARGE_PAGE_SIZE; in arch_phys_memset()
193 while (size > LARGE_PAGE_SIZE) { in arch_phys_memset()
194 x86_phys_memset_page(map_addr, 0, c, LARGE_PAGE_SIZE); in arch_phys_memset()
195 size -= LARGE_PAGE_SIZE; in arch_phys_memset()
[all …]
/dports/sysutils/u-boot-pandaboard/u-boot-2021.07/arch/x86/lib/
H A Dphysmem.c21 #define LARGE_PAGE_SIZE ((1 << 20) * 2) macro
113 page_addr += LARGE_PAGE_SIZE) { in x86_phys_enter_paging()
143 const uintptr_t window = LARGE_PAGE_SIZE; in x86_phys_memset_page()
146 assert(window + LARGE_PAGE_SIZE < in x86_phys_memset_page()
178 phys_addr_t map_addr = start & ~(LARGE_PAGE_SIZE - 1); in arch_phys_memset()
186 min(map_addr + LARGE_PAGE_SIZE, start + size); in arch_phys_memset()
190 map_addr += LARGE_PAGE_SIZE; in arch_phys_memset()
193 while (size > LARGE_PAGE_SIZE) { in arch_phys_memset()
194 x86_phys_memset_page(map_addr, 0, c, LARGE_PAGE_SIZE); in arch_phys_memset()
195 size -= LARGE_PAGE_SIZE; in arch_phys_memset()
[all …]
/dports/sysutils/u-boot-orangepi-zero/u-boot-2021.07/arch/x86/lib/
H A Dphysmem.c21 #define LARGE_PAGE_SIZE ((1 << 20) * 2) macro
113 page_addr += LARGE_PAGE_SIZE) { in x86_phys_enter_paging()
143 const uintptr_t window = LARGE_PAGE_SIZE; in x86_phys_memset_page()
146 assert(window + LARGE_PAGE_SIZE < in x86_phys_memset_page()
178 phys_addr_t map_addr = start & ~(LARGE_PAGE_SIZE - 1); in arch_phys_memset()
186 min(map_addr + LARGE_PAGE_SIZE, start + size); in arch_phys_memset()
190 map_addr += LARGE_PAGE_SIZE; in arch_phys_memset()
193 while (size > LARGE_PAGE_SIZE) { in arch_phys_memset()
194 x86_phys_memset_page(map_addr, 0, c, LARGE_PAGE_SIZE); in arch_phys_memset()
195 size -= LARGE_PAGE_SIZE; in arch_phys_memset()
[all …]
/dports/sysutils/u-boot-orangepi-r1/u-boot-2021.07/arch/x86/lib/
H A Dphysmem.c21 #define LARGE_PAGE_SIZE ((1 << 20) * 2) macro
113 page_addr += LARGE_PAGE_SIZE) { in x86_phys_enter_paging()
143 const uintptr_t window = LARGE_PAGE_SIZE; in x86_phys_memset_page()
146 assert(window + LARGE_PAGE_SIZE < in x86_phys_memset_page()
178 phys_addr_t map_addr = start & ~(LARGE_PAGE_SIZE - 1); in arch_phys_memset()
186 min(map_addr + LARGE_PAGE_SIZE, start + size); in arch_phys_memset()
190 map_addr += LARGE_PAGE_SIZE; in arch_phys_memset()
193 while (size > LARGE_PAGE_SIZE) { in arch_phys_memset()
194 x86_phys_memset_page(map_addr, 0, c, LARGE_PAGE_SIZE); in arch_phys_memset()
195 size -= LARGE_PAGE_SIZE; in arch_phys_memset()
[all …]
/dports/sysutils/u-boot-orangepi-zero-plus/u-boot-2021.07/arch/x86/lib/
H A Dphysmem.c21 #define LARGE_PAGE_SIZE ((1 << 20) * 2) macro
113 page_addr += LARGE_PAGE_SIZE) { in x86_phys_enter_paging()
143 const uintptr_t window = LARGE_PAGE_SIZE; in x86_phys_memset_page()
146 assert(window + LARGE_PAGE_SIZE < in x86_phys_memset_page()
178 phys_addr_t map_addr = start & ~(LARGE_PAGE_SIZE - 1); in arch_phys_memset()
186 min(map_addr + LARGE_PAGE_SIZE, start + size); in arch_phys_memset()
190 map_addr += LARGE_PAGE_SIZE; in arch_phys_memset()
193 while (size > LARGE_PAGE_SIZE) { in arch_phys_memset()
194 x86_phys_memset_page(map_addr, 0, c, LARGE_PAGE_SIZE); in arch_phys_memset()
195 size -= LARGE_PAGE_SIZE; in arch_phys_memset()
[all …]

12345