no architecturally defined caches (yet) so there is nothing to set up here.
Gets rid of some more useless XXX.
-/* $OpenBSD: machdep.c,v 1.17 2021/05/16 10:38:53 kettenis Exp $ */
+/* $OpenBSD: machdep.c,v 1.18 2021/05/19 21:23:20 kettenis Exp $ */
/*
* Copyright (c) 2014 Patrick Wildt <patrick@blueri.se>
return (1);
}
-int64_t dcache_line_size; /* The minimum D cache line size */
-int64_t icache_line_size; /* The minimum I cache line size */
-int64_t idcache_line_size; /* The minimum cache line size */
-
-void
-cache_setup(void)
-{
-// XXX TODO CMPE, following freebsd
- dcache_line_size = 0;
- icache_line_size = 0;
- idcache_line_size = 0;
-}
-
u_long
cpu_dump_mempagecnt(void)
{
}
sbi_init();
- cache_setup();//dummy for now
process_kernel_args();