From a8ca22f150a20e1600a426ab262d3fb0368e4a5f Mon Sep 17 00:00:00 2001 From: Adrien Bourmault Date: Sat, 9 Mar 2019 23:01:02 +0100 Subject: [PATCH] stuff --- boot/loader/cpu/cpu.inc | 9 ++++++++- boot/loader/loader.asm | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/boot/loader/cpu/cpu.inc b/boot/loader/cpu/cpu.inc index 8b92819..d97e2d6 100644 --- a/boot/loader/cpu/cpu.inc +++ b/boot/loader/cpu/cpu.inc @@ -60,4 +60,11 @@ tritemporize: ; ---------------------------------------------------------------------------- ; ; Returns the CPU Vendor String.pointer in eax ; ; ---------------------------------------------------------------------------- ; -cpu_vendor +cpu_vendor: + + ;; Calling the competent authorities + mov eax, 0 + cpuid + + ret +.string db " " diff --git a/boot/loader/loader.asm b/boot/loader/loader.asm index 0ddf7b6..ed1b828 100644 --- a/boot/loader/loader.asm +++ b/boot/loader/loader.asm @@ -152,7 +152,7 @@ _loader64: call tritemporize ; Let time to see extern StartKern - jmp StartKern + ;jmp StartKern ;; We must never reach this point ------------------------------------------- ;; jmp Die