diff options
Diffstat (limited to 'arch/arm/machine/cpu.c')
-rw-r--r-- | arch/arm/machine/cpu.c | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/arch/arm/machine/cpu.c b/arch/arm/machine/cpu.c new file mode 100644 index 00000000..a38c948a --- /dev/null +++ b/arch/arm/machine/cpu.c @@ -0,0 +1,44 @@ +/* + * Copyright (c) 2017 Richard Braun. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +#include <kern/init.h> +#include <machine/cpu.h> + +void cpu_halt_broadcast(void) +{ +} + +void cpu_log_info(const struct cpu *cpu) +{ + (void)cpu; +} + +static int __init +cpu_setup(void) +{ + return 0; +} + +INIT_OP_DEFINE(cpu_setup); + +static int __init +cpu_mp_probe(void) +{ + return 0; +} + +INIT_OP_DEFINE(cpu_mp_probe); |