Creating a 64-bit Kernel Tutorial

All about the OSDev Wiki. Discussions about the organization and general structure of articles and how to use the wiki. Request changes here if you don't know how to use the wiki.
User avatar
bzt
Member
Member
Posts: 1584
Joined: Thu Oct 13, 2016 4:55 pm
Contact:

Re: Creating a 64-bit Kernel Tutorial

Post by bzt »

Here's a loader booting 64 bit kernel with example, linker script and etc.
https://github.com/bztsrc/osz/tree/master/loader

Cheers
bzt
Boris
Member
Member
Posts: 145
Joined: Sat Nov 07, 2015 3:12 pm

Re: Creating a 64-bit Kernel Tutorial

Post by Boris »

Thank you. Ive got to learn some stuff from this
MazyCrazy
Posts: 4
Joined: Fri Mar 24, 2017 8:10 am
Libera.chat IRC: MazyCrazy

Re: Creating a 64-bit Kernel Tutorial

Post by MazyCrazy »

Hey, i have a problem. Link script isn't working. 'ld' says "undefined symbo KERNEL_LMA". What does it mean? Should I define this address?
Thanks in advance.
User avatar
bloodline
Member
Member
Posts: 264
Joined: Tue Sep 15, 2020 8:07 am
Location: London, UK

Re: Creating a 64-bit Kernel Tutorial

Post by bloodline »

bzt wrote:Here's a loader booting 64 bit kernel with example, linker script and etc.
https://github.com/bztsrc/osz/tree/master/loader

Cheers
bzt
Hi bzt,

Is this code still available anywhere?
CuriOS: A single address space GUI based operating system built upon a fairly pure Microkernel/Nanokernel. Download latest bootable x86 Disk Image: https://github.com/h5n1xp/CuriOS/blob/main/disk.img.zip
Discord:https://discord.gg/zn2vV2Su
User avatar
bzt
Member
Member
Posts: 1584
Joined: Thu Oct 13, 2016 4:55 pm
Contact:

Re: Creating a 64-bit Kernel Tutorial

Post by bzt »

bloodline wrote:Hi bzt,

Is this code still available anywhere?
It has been evolved to the BOOTBOOT Protocol and reference implementations. That linked repo contained the BIOS/Multiboot version in Assembly, and a very naive UEFI version. Multiple platforms and several booting environments has been added since. The example 64 bit kernel hasn't changed a bit, only compiled for ARM too.

Cheers,
bzt
User avatar
bloodline
Member
Member
Posts: 264
Joined: Tue Sep 15, 2020 8:07 am
Location: London, UK

Re: Creating a 64-bit Kernel Tutorial

Post by bloodline »

bzt wrote:
bloodline wrote:Hi bzt,

Is this code still available anywhere?
It has been evolved to the BOOTBOOT Protocol and reference implementations. That linked repo contained the BIOS/Multiboot version in Assembly, and a very naive UEFI version. Multiple platforms and several booting environments has been added since. The example 64 bit kernel hasn't changed a bit, only compiled for ARM too.

Cheers,
bzt
Ok! Many thanks :)
CuriOS: A single address space GUI based operating system built upon a fairly pure Microkernel/Nanokernel. Download latest bootable x86 Disk Image: https://github.com/h5n1xp/CuriOS/blob/main/disk.img.zip
Discord:https://discord.gg/zn2vV2Su
Post Reply