From 36cf115d3e622b83a02fcf1bafb671f2519d7503 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Fri, 17 Apr 2026 09:00:45 -0400 Subject: [PATCH] sp1/amd64: Add machine/param.h Signed-off-by: Ian Moffett --- usr/src/sp1/head/amd64/param.h | 23 +++++++++++++++++++++++ usr/src/sp1/head/mu/param.h | 17 +++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 usr/src/sp1/head/amd64/param.h create mode 100644 usr/src/sp1/head/mu/param.h diff --git a/usr/src/sp1/head/amd64/param.h b/usr/src/sp1/head/amd64/param.h new file mode 100644 index 0000000..9a73d20 --- /dev/null +++ b/usr/src/sp1/head/amd64/param.h @@ -0,0 +1,23 @@ +/* + * Copyright (c) 2026, Mirocom Laboratories + * All rights reserved. + * + * The following sources are CONFIDENTIAL and PROPRIETARY + * property of Mirocom Laboratories. Unauthorized copying, + * use, distribution or modification of this file, in whole + * and in part, is strictly prohibited without the prior written + * consent from Mirocom Laboratories. + */ + +#ifndef _MACHINE_PARAM_H_ +#define _MACHINE_PARAM_H_ 1 + +/* Presumed cache-line size */ +#ifndef COHERENCY_UNIT +#define COHERENCY_UNIT 64 +#endif /* !COHERENCY_UNIT */ + +/* Pagesize in bytes */ +#define PAGESIZE 4096 + +#endif /* !_MACHINE_PARAM_H_ */ diff --git a/usr/src/sp1/head/mu/param.h b/usr/src/sp1/head/mu/param.h new file mode 100644 index 0000000..e215f6b --- /dev/null +++ b/usr/src/sp1/head/mu/param.h @@ -0,0 +1,17 @@ +/* + * Copyright (c) 2026, Mirocom Laboratories + * All rights reserved. + * + * The following sources are CONFIDENTIAL and PROPRIETARY + * property of Mirocom Laboratories. Unauthorized copying, + * use, distribution or modification of this file, in whole + * and in part, is strictly prohibited without the prior written + * consent from Mirocom Laboratories. + */ + +#ifndef _MU_PARAM_H_ +#define _MU_PARAM_H_ 1 + +#include /* shared */ + +#endif /* !_MU_PARAM_H_ */