No real functional change except how the smaller ARCH_DEFAULT_PAGE_SIZE is now computed and set in defines.h instead of rules.mk for arch/arm to be consistent with the other arch that has a large/small build (riscv).
17 lines
377 B
C
17 lines
377 B
C
/*
|
|
* Copyright (c) 2015 Travis Geiselbrecht
|
|
*
|
|
* Use of this source code is governed by a MIT-style
|
|
* license that can be found in the LICENSE file or at
|
|
* https://opensource.org/licenses/MIT
|
|
*/
|
|
#pragma once
|
|
|
|
#define PAGE_SIZE_SHIFT 12
|
|
#define PAGE_SIZE (1U << PAGE_SIZE_SHIFT)
|
|
|
|
// XXX is this right?
|
|
#define CACHE_LINE 32
|
|
|
|
#define ARCH_DEFAULT_STACK_SIZE PAGE_SIZE
|