Commit Graph

30 Commits

Author SHA1 Message Date
00360e361d Introduce <errno.h> 2018-04-04 01:37:36 +02:00
61dd856d6c Really disable the stack protector on OpenBSD 2018-03-28 06:25:39 +02:00
f46f70cc18 Fix importing crt{begin,end}.o
This may not bring the right versions of the object files though
(missing flags to $(CC)).
2018-03-28 05:52:45 +02:00
7a4342dfba Determine the {C,LD}FLAGS from a shell script
This should simplify targeting specific architectures for the moment.
2018-03-28 05:20:30 +02:00
5ca17648bf Begin a port on the amd64 architecture
This is still far from working.
2018-03-27 00:11:45 +02:00
8d00697ed8 Add copyright information 2018-03-27 00:04:18 +02:00
335a0e4395 Code cleanup 2018-03-27 00:03:20 +02:00
d07ee6b951 No longer build with -m32 by default
This is currently correct, since only i386 is supported. To
cross-compile from amd64, it is still possible to use CC="gcc -m32".
2018-03-27 00:02:17 +02:00
e7113a8b49 Build libuKernel with -fPIC by default 2018-03-27 00:01:17 +02:00
5e6d68106b Move libuKernel to a subdirectory 2018-03-23 02:43:26 +01:00
6bd4ff4773 Also link with crt{begin,end}.o 2018-03-23 02:34:57 +01:00
c5addb33f4 Add support for the global constructors 2018-03-23 02:28:54 +01:00
195bd77aa6 Register more object types 2018-03-23 02:07:22 +01:00
9a2cf8af5c Introduce libuKernel 2018-03-21 22:45:11 +01:00
22b23c8521 Register some dependencies 2018-03-21 03:17:51 +01:00
3a0315f9aa Implement abort() with exit() 2018-03-21 03:15:28 +01:00
2d55e05bfc Add support for stack-smashing protection (SSP) 2018-03-21 03:04:45 +01:00
c9245359ef Add memset() 2018-03-21 02:30:12 +01:00
532ac8f131 Implement screen scrolling (untested) 2018-03-21 02:28:45 +01:00
1a773d7ab2 Print a message while booting 2018-03-21 02:08:31 +01:00
00ef683c6b Move definitions into vga.h 2018-03-21 01:59:28 +01:00
5678808c6f Introduce <stddef.h> and <stdint.h> 2018-03-21 01:57:33 +01:00
3403f067df Code cleanup 2018-03-20 03:41:35 +01:00
8adfbfbabd Code cleanup 2018-03-20 03:35:45 +01:00
9d1ba0a978 Clear the VGA console upon initialization 2018-03-20 03:32:31 +01:00
0f259d551b Move the console code to a separate driver 2018-03-20 03:20:19 +01:00
f6d38bf5fa Force the kernel to be built in 32-bits mode
Focus on the 32-bits architecture for the moment.
2018-03-20 02:58:33 +01:00
527a5e783f Use CFLAGS in ASFLAGS when using cc(1) as as(1) 2018-03-20 02:38:36 +01:00
c289b6e529 Register some targets and intermediate files 2018-03-19 00:40:56 +01:00
972e977ef7 Initial import
This is directly inspired by https://wiki.osdev.org/Bare_Bones.
2018-03-19 00:40:47 +01:00