Add ARM64TODO markers to unimplemented functionality
Reviewed by: andrew Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D2389
This commit is contained in:
@@ -137,7 +137,7 @@ elf_reloc_local(linker_file_t lf, Elf_Addr relocbase, const void *data,
|
||||
int type, elf_lookup_fn lookup __unused)
|
||||
{
|
||||
|
||||
panic("elf_reloc_local");
|
||||
panic("ARM64TODO: elf_reloc_local");
|
||||
}
|
||||
|
||||
/* Process one elf relocation with addend. */
|
||||
@@ -146,7 +146,7 @@ elf_reloc(linker_file_t lf, Elf_Addr relocbase, const void *data, int type,
|
||||
elf_lookup_fn lookup)
|
||||
{
|
||||
|
||||
panic("elf_reloc");
|
||||
panic("ARM64TODO: elf_reloc");
|
||||
}
|
||||
|
||||
int
|
||||
|
||||
@@ -209,21 +209,21 @@ int
|
||||
fill_dbregs(struct thread *td, struct dbreg *regs)
|
||||
{
|
||||
|
||||
panic("fill_dbregs");
|
||||
panic("ARM64TODO: fill_dbregs");
|
||||
}
|
||||
|
||||
int
|
||||
set_dbregs(struct thread *td, struct dbreg *regs)
|
||||
{
|
||||
|
||||
panic("set_dbregs");
|
||||
panic("ARM64TODO: set_dbregs");
|
||||
}
|
||||
|
||||
int
|
||||
ptrace_set_pc(struct thread *td, u_long addr)
|
||||
{
|
||||
|
||||
panic("ptrace_set_pc");
|
||||
panic("ARM64TODO: ptrace_set_pc");
|
||||
return (0);
|
||||
}
|
||||
|
||||
@@ -376,7 +376,7 @@ void
|
||||
cpu_halt(void)
|
||||
{
|
||||
|
||||
panic("cpu_halt");
|
||||
panic("ARM64TODO: cpu_halt");
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -387,7 +387,7 @@ void
|
||||
cpu_flush_dcache(void *ptr, size_t len)
|
||||
{
|
||||
|
||||
/* TBD */
|
||||
/* ARM64TODO TBD */
|
||||
}
|
||||
|
||||
/* Get current clock frequency for the given CPU ID. */
|
||||
@@ -395,7 +395,7 @@ int
|
||||
cpu_est_clockrate(int cpu_id, uint64_t *rate)
|
||||
{
|
||||
|
||||
panic("cpu_est_clockrate");
|
||||
panic("ARM64TODO: cpu_est_clockrate");
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
@@ -42,6 +42,6 @@ int
|
||||
memrw(struct cdev *dev, struct uio *uio, int flags)
|
||||
{
|
||||
|
||||
panic("memrw");
|
||||
panic("ARM64TODO: memrw");
|
||||
}
|
||||
|
||||
|
||||
@@ -1434,7 +1434,7 @@ static vm_page_t
|
||||
reclaim_pv_chunk(pmap_t locked_pmap, struct rwlock **lockp)
|
||||
{
|
||||
|
||||
panic("reclaim_pv_chunk");
|
||||
panic("ARM64TODO: reclaim_pv_chunk");
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -2881,7 +2881,7 @@ pmap_ts_referenced(vm_page_t m)
|
||||
* at all. We need to be able to set it in
|
||||
* the exception handler.
|
||||
*/
|
||||
panic("TODO: safe_to_clear_referenced\n");
|
||||
panic("ARM64TODO: safe_to_clear_referenced\n");
|
||||
} else if ((pmap_load(l3) & ATTR_SW_WIRED) == 0) {
|
||||
/*
|
||||
* Wired pages cannot be paged out so
|
||||
@@ -2949,7 +2949,7 @@ pmap_clear_modify(vm_page_t m)
|
||||
if ((m->aflags & PGA_WRITEABLE) == 0)
|
||||
return;
|
||||
|
||||
/* TODO: We lack support for tracking if a page is modified */
|
||||
/* ARM64TODO: We lack support for tracking if a page is modified */
|
||||
}
|
||||
|
||||
void *
|
||||
@@ -2971,7 +2971,7 @@ void
|
||||
pmap_page_set_memattr(vm_page_t m, vm_memattr_t ma)
|
||||
{
|
||||
|
||||
panic("pmap_page_set_memattr");
|
||||
panic("ARM64TODO: pmap_page_set_memattr");
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -2981,7 +2981,7 @@ int
|
||||
pmap_mincore(pmap_t pmap, vm_offset_t addr, vm_paddr_t *locked_pa)
|
||||
{
|
||||
|
||||
panic("pmap_mincore");
|
||||
panic("ARM64TODO: pmap_mincore");
|
||||
}
|
||||
|
||||
void
|
||||
@@ -3001,7 +3001,7 @@ void
|
||||
pmap_sync_icache(pmap_t pm, vm_offset_t va, vm_size_t sz)
|
||||
{
|
||||
|
||||
panic("pmap_sync_icache");
|
||||
panic("ARM64TODO: pmap_sync_icache");
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -3085,7 +3085,7 @@ pmap_unmap_io_transient(vm_page_t page[], vm_offset_t vaddr[], int count,
|
||||
for (i = 0; i < count; i++) {
|
||||
paddr = VM_PAGE_TO_PHYS(page[i]);
|
||||
if (paddr >= DMAP_MAX_PHYSADDR) {
|
||||
panic("pmap_unmap_io_transient: TODO: Unmap data");
|
||||
panic("ARM64TODO: pmap_unmap_io_transient: Unmap data");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -49,12 +49,12 @@ stack_save_td(struct stack *st, struct thread *td)
|
||||
if (TD_IS_RUNNING(td))
|
||||
panic("stack_save_td: running");
|
||||
|
||||
stack_zero(st);
|
||||
stack_zero(st); /* ARM64TODO */
|
||||
}
|
||||
|
||||
void
|
||||
stack_save(struct stack *st)
|
||||
{
|
||||
|
||||
stack_zero(st);
|
||||
stack_zero(st); /* ARM64TODO */
|
||||
}
|
||||
|
||||
@@ -119,7 +119,7 @@ cpu_fetch_syscall_args(struct thread *td, struct syscall_args *sa)
|
||||
sa->narg = sa->callp->sy_narg;
|
||||
memcpy(sa->args, ap, nap * sizeof(register_t));
|
||||
if (sa->narg > nap)
|
||||
panic("TODO: Could we have more then 8 args?");
|
||||
panic("ARM64TODO: Could we have more then 8 args?");
|
||||
|
||||
td->td_retval[0] = 0;
|
||||
td->td_retval[1] = 0;
|
||||
@@ -341,6 +341,6 @@ void
|
||||
do_el0_error(struct trapframe *frame)
|
||||
{
|
||||
|
||||
panic("do_el0_error");
|
||||
panic("ARM64TODO: do_el0_error");
|
||||
}
|
||||
|
||||
|
||||
@@ -124,7 +124,7 @@ uiomove_fromphys(vm_page_t ma[], vm_offset_t offset, int n, struct uio *uio)
|
||||
}
|
||||
out:
|
||||
if (__predict_false(mapped)) {
|
||||
panic("TODO 3");
|
||||
panic("ARM64TODO: uiomove_fromphys");
|
||||
pmap_unmap_io_transient(&ma[offset >> PAGE_SHIFT], &vaddr, 1,
|
||||
TRUE);
|
||||
}
|
||||
|
||||
@@ -263,13 +263,13 @@ void *
|
||||
uma_small_alloc(uma_zone_t zone, vm_size_t bytes, u_int8_t *flags, int wait)
|
||||
{
|
||||
|
||||
panic("uma_small_alloc");
|
||||
panic("ARM64TODO: uma_small_alloc");
|
||||
}
|
||||
|
||||
void
|
||||
uma_small_free(void *mem, vm_size_t size, u_int8_t flags)
|
||||
{
|
||||
|
||||
panic("uma_small_free");
|
||||
panic("ARM64TODO: uma_small_free");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user