Cleanup
git-svn-id: https://spexeah.com:8443/svn/Asuro@7 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c
This commit is contained in:
parent
815d1b8199
commit
6208fac551
BIN
lib/console.ppu
BIN
lib/console.ppu
Binary file not shown.
BIN
lib/kernel.ppu
BIN
lib/kernel.ppu
Binary file not shown.
Binary file not shown.
BIN
lib/libpkernel.a
BIN
lib/libpkernel.a
Binary file not shown.
Binary file not shown.
BIN
lib/multiboot.o
BIN
lib/multiboot.o
Binary file not shown.
Binary file not shown.
@ -1,16 +1,3 @@
|
|||||||
{
|
|
||||||
/////////////////////////////////////////////////////////
|
|
||||||
// //
|
|
||||||
// Freepascal barebone OS //
|
|
||||||
// console.pas //
|
|
||||||
// //
|
|
||||||
/////////////////////////////////////////////////////////
|
|
||||||
//
|
|
||||||
// By: De Deyn Kim <kimdedeyn@skynet.be>
|
|
||||||
// License: Public domain
|
|
||||||
//
|
|
||||||
}
|
|
||||||
|
|
||||||
unit console;
|
unit console;
|
||||||
|
|
||||||
interface
|
interface
|
||||||
|
@ -1,16 +1,3 @@
|
|||||||
{
|
|
||||||
/////////////////////////////////////////////////////////
|
|
||||||
// //
|
|
||||||
// Freepascal barebone OS //
|
|
||||||
// kernel.pas //
|
|
||||||
// //
|
|
||||||
/////////////////////////////////////////////////////////
|
|
||||||
//
|
|
||||||
// By: De Deyn Kim <kimdedeyn@skynet.be>
|
|
||||||
// License: Public domain
|
|
||||||
//
|
|
||||||
}
|
|
||||||
|
|
||||||
unit kernel;
|
unit kernel;
|
||||||
|
|
||||||
interface
|
interface
|
||||||
|
@ -4,7 +4,6 @@ interface
|
|||||||
|
|
||||||
const
|
const
|
||||||
KERNEL_STACKSIZE = $4000;
|
KERNEL_STACKSIZE = $4000;
|
||||||
|
|
||||||
MULTIBOOT_BOOTLOADER_MAGIC = $2BADB002;
|
MULTIBOOT_BOOTLOADER_MAGIC = $2BADB002;
|
||||||
|
|
||||||
type
|
type
|
||||||
@ -19,8 +18,8 @@ type
|
|||||||
Pmultiboot_info_t = ^multiboot_info_t;
|
Pmultiboot_info_t = ^multiboot_info_t;
|
||||||
multiboot_info_t = packed record
|
multiboot_info_t = packed record
|
||||||
flags: DWORD;
|
flags: DWORD;
|
||||||
mem_lower: DWORD; { Amount of memory available below 1mb }
|
mem_lower: DWORD;
|
||||||
mem_upper: DWORD; { Amount of memory available above 1mb }
|
mem_upper: DWORD;
|
||||||
boot_device: DWORD;
|
boot_device: DWORD;
|
||||||
cmdline: DWORD;
|
cmdline: DWORD;
|
||||||
mods_count: DWORD;
|
mods_count: DWORD;
|
||||||
@ -41,12 +40,8 @@ type
|
|||||||
Pmemory_map_t = ^memory_map_t;
|
Pmemory_map_t = ^memory_map_t;
|
||||||
memory_map_t = packed record
|
memory_map_t = packed record
|
||||||
size: DWORD;
|
size: DWORD;
|
||||||
{ You can declare these two as a single qword if your compiler supports it }
|
base_addr : QWORD;
|
||||||
base_addr_low: DWORD;
|
length : QWORD;
|
||||||
base_addr_high: DWORD;
|
|
||||||
{ And again, these can be made into one qword variable. }
|
|
||||||
length_low: DWORD;
|
|
||||||
length_high: DWORD;
|
|
||||||
mtype: DWORD;
|
mtype: DWORD;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
@ -1,14 +1,3 @@
|
|||||||
;/////////////////////////////////////////////////////////
|
|
||||||
;// //
|
|
||||||
;// Freepascal barebone OS //
|
|
||||||
;// stub.asm //
|
|
||||||
;// //
|
|
||||||
;/////////////////////////////////////////////////////////
|
|
||||||
;//
|
|
||||||
;// By: De Deyn Kim <kimdedeyn@skynet.be>
|
|
||||||
;// License: Public domain
|
|
||||||
;//
|
|
||||||
|
|
||||||
;
|
;
|
||||||
; Kernel stub
|
; Kernel stub
|
||||||
;
|
;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user