From 61cda07bc7c8c16cc6be83c53405c778d3bb11e9 Mon Sep 17 00:00:00 2001 From: Matthias Kruk Date: Wed, 30 Dec 2020 11:08:45 +0900 Subject: [PATCH] Remove unused source file cpu.S The source file cpu.S is currently not included in the compilation and does not contain necessary code. This commit removes the file. --- kernel/arch/cpu.S | 36 ------------------------------------ 1 file changed, 36 deletions(-) delete mode 100644 kernel/arch/cpu.S diff --git a/kernel/arch/cpu.S b/kernel/arch/cpu.S deleted file mode 100644 index 9b48793..0000000 --- a/kernel/arch/cpu.S +++ /dev/null @@ -1,36 +0,0 @@ -/* - * This file is part of the Corax operating system. - * Copyright (C) 2016 Matthias Kruk - * - * Corax 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. - * - * Corax 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 Corax. If not, see . - */ - -.section .text - -.equ LCR_LOW, 0xfee00300 -.equ SVR, 0xfee000f0 -.equ APIC_ID, 0xfee00020 -.equ LVT3, 0xfee00370 -.equ APIC_ENABLED, 0x100 -boot_id: -.long 0 -.equ COUNT, 0 -.equ VACANT, 0 - -.global cpu_get_id - -cpu_get_id: - movl APIC_ID, %eax - shrl $24, %eax - ret -- 2.47.3