]> git.corax.cc Git - corax/commitdiff
Remove unused source file cpu.S
authorMatthias Kruk <m@m10k.eu>
Wed, 30 Dec 2020 02:08:45 +0000 (11:08 +0900)
committerMatthias Kruk <m@m10k.eu>
Wed, 30 Dec 2020 02:08:45 +0000 (11:08 +0900)
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 [deleted file]

diff --git a/kernel/arch/cpu.S b/kernel/arch/cpu.S
deleted file mode 100644 (file)
index 9b48793..0000000
+++ /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 <http://www.gnu.org/licenses/>.
- */
-
-.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