Catch up to change in compile time assertion interface.
This commit is contained in:
parent
28332fb455
commit
0d46a69b72
@ -37,8 +37,8 @@
|
||||
|
||||
#include <machine/frame.h>
|
||||
|
||||
ASSERT_EQUAL(sizeof(struct rwindow), 1 << RW_SHIFT);
|
||||
ASSERT_EQUAL(sizeof(char *), 1 << PTR_SHIFT);
|
||||
CTASSERT((1 << RW_SHIFT) == sizeof(struct rwindow));
|
||||
CTASSERT((1 << PTR_SHIFT) == sizeof(char *));
|
||||
|
||||
int
|
||||
rwindow_load(struct thread *td, struct trapframe *tf, int n)
|
||||
|
@ -62,7 +62,7 @@
|
||||
|
||||
#define KTR_TSB KTR_CT3
|
||||
|
||||
ASSERT_EQUAL(sizeof(struct tte), 1 << TTE_SHIFT);
|
||||
CTASSERT((1 << TTE_SHIFT) == sizeof(struct tte));
|
||||
|
||||
struct tte *tsb_kernel;
|
||||
vm_offset_t tsb_kernel_phys;
|
||||
|
Loading…
Reference in New Issue
Block a user