Commit Graph

38 Commits

Author SHA1 Message Date
32856fce8d Also ship platform.conf 2020-12-19 02:22:48 +01:00
8f2a9640f2 Re-use more code from DeforaOS libc 2019-10-03 23:47:36 +02:00
4fbaf259f0 Update the copyright notice 2019-09-05 23:03:44 +02:00
2dc44905d9 Initialize the platform directly 2019-09-05 23:03:27 +02:00
a65d5be2d6 Let the libc implement <unistd.h> in native drivers 2019-05-30 06:52:07 +02:00
8ed01fcc83 Let the libc implement time() in native drivers 2019-05-30 06:46:24 +02:00
1295e52102 Expose enough symbols in the libc internally 2019-05-30 06:39:38 +02:00
eaaec21371 Always generate platform.c for every platform 2019-05-17 16:50:26 +02:00
e852c1aba4 Update the copyright notice 2019-05-02 06:19:17 +02:00
66adf5986e Also set the auxiliary vector 2019-05-02 06:19:04 +02:00
f42e325785 Generate C code in OBJDIR
This should allow merging in the project without breaking "make dist"
after "make distclean".

This currently requires GCC though (for "-include").
2018-09-17 00:59:20 +02:00
2afdb3854c Add generic support for syscalls for Linux/i386 2018-08-25 01:48:28 +02:00
8b564a43da Tentatively implement time() on NetBSD/amd64 2018-08-25 01:41:24 +02:00
46c1b0750e Tentatively implement _brk() on NetBSD/amd64 2018-08-25 01:41:01 +02:00
95be0d5449 Give gettimeofday() a chance to work on Linux/i386 2018-08-25 01:40:30 +02:00
e89280b980 Fix call to gettimeofday()
The result is still not correct though.
2018-08-22 02:54:08 +02:00
59e5334225 Add a comment 2018-08-22 02:48:50 +02:00
26c8bb115c Link every executable binary with crt{i,n}.o 2018-08-22 02:30:22 +02:00
124400fc5c Import _brk() from DeforaOS libc for Linux/i386 2018-08-04 02:24:58 +02:00
2dc385c89f Rework the userland initialization code on i386 2018-06-25 02:31:38 +02:00
e5bc6ea415 Import a crude CMOS clock driver
This still does not work though.
2018-06-25 02:23:40 +02:00
47ba6fe99e Implement a basic malloc() in the kernel 2018-06-21 02:08:59 +02:00
6d171d207d Align assembly operands 2018-06-07 11:53:39 -04:00
5b900d2c7c Simplify the userland kernel as well 2018-06-07 11:36:30 -04:00
39f17996da Also provide NULL for envp and auxv 2018-06-07 11:28:51 -04:00
68665304fd Use anonymous labels 2018-06-07 11:28:51 -04:00
f6b2e9a7ab Give a NULL pointer for boot information in userland 2018-05-27 15:53:47 +02:00
88abf0ddfd Fix argc on i386 2018-04-13 04:44:23 +02:00
e27eafa2f7 Initialize environ as well 2018-04-11 07:17:47 +02:00
d0a4284250 Import printf(3) into libuKernel 2018-04-06 00:18:16 +02:00
65614789e0 Fix write(2) on amd64 2018-04-05 21:29:58 +02:00
bae76e2a62 Bring the 64-bit kernel closer to reality 2018-04-05 20:20:13 +02:00
75087533be Rework cursor management for the "vga" console 2018-04-04 05:18:58 +02:00
ca9dc4bb53 Use buses for the userland implementation as well 2018-04-04 03:29:15 +02:00
c1fa89b2fb Code cleanup 2018-04-02 12:35:36 +02:00
d1d4cc194e Factor common code for syscalls 2018-04-02 12:34:57 +02:00
290855355a Add support for OpenBSD to the user-land kernel 2018-03-29 22:47:19 +02:00
dcf2dc2e67 Build a userland version of the kernel for tests 2018-03-23 14:03:06 +01:00