378e029607
Move most platform code away from multiboot
2018-09-18 02:11:40 +02:00
1b44719632
Expose the kernel driver definitions
2018-09-18 01:58:43 +02:00
24ba28ce24
Update a comment
2018-09-17 02:17:50 +02:00
81da023bc9
Initialize the display before the console
...
This will be useful when the console driver will be adapted to displays.
2018-09-17 01:55:03 +02:00
300e4897f1
Register missing includes, files and directories
...
This fixes "make distcheck".
2018-09-17 01:06:11 +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
c101f525d0
Let each architecture initialize its own platform
2018-09-17 00:38:35 +02:00
b27bab4ff2
Use the platform framework for tools as well
2018-09-16 17:29:08 +02:00
64e9615a93
Register the platform framework
2018-09-16 17:29:08 +02:00
c9e099f0c2
Generate platform code from configuration
2018-09-16 17:29:08 +02:00
f897b4d457
Import fix from upstream
2018-09-16 16:42:17 +02:00
4139059c02
Avoid a couple divisions in the kernel
...
This helps compiling the kernel on NetBSD/amd64.
2018-08-25 02:00:21 +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
340f95a4a8
Remove redundant use of OBJDIR
2018-08-24 23:31:35 +02:00
6bc1ffa01d
Register a dependency
2018-08-24 23:26:52 +02:00
58d25b9ac5
Add support for OBJDIR
2018-08-24 23:25:49 +02:00
a2c44b6201
Use $ARCH to determine the platform
2018-08-24 23:25:20 +02:00
f139e583a8
Fix "make dist"
2018-08-23 21:44:49 +02:00
1c83f25941
Add get{pid,ppid}()
2018-08-23 21:44:34 +02:00
d14a72fd1d
Update some dependencies
2018-08-23 02:09:24 +02:00
2085957927
Also mention QEMU's debug console I/O port
2018-08-23 01:56:06 +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
d5d96defdd
Allow year 2000 to have 366 days as it did
2018-08-14 19:05:16 +02:00
34dec8f44a
Optimize a loop away
2018-08-14 19:05:00 +02:00
7a372859b8
Avoid signedness issues in a comparison
2018-08-13 23:27:57 +02:00
d3fbcb0886
Rework the epoch calculation
2018-08-13 23:21:42 +02:00
e4f4b01e32
Do not require GCC for the va_list type
2018-08-09 03:14:00 +02:00
b0f8c18858
Avoid a couple compilation warnings
2018-08-09 03:02:06 +02:00
2a7370468a
Minor optimization
2018-08-09 02:48:21 +02:00
47f78af238
Minor optimization
2018-08-09 02:47:16 +02:00
d337ec5e10
Divide with constants when possible
...
This may also help optimize a division away.
2018-08-09 02:13:27 +02:00
46275340ad
Use crt{begin,end}.o again
...
This is instead of crt{begin,end}S.o. It seems to work fine with the
regular toolchain from NetBSD, and should help when building with
cross-compilers.
2018-08-09 02:07:31 +02:00
4a84254b6b
Link the userland kernel with crt{begin,end}.o
2018-08-04 02:25:59 +02:00
4a94984f78
Reduce the diff with DeforaOS libc
2018-08-04 02:25:40 +02:00
124400fc5c
Import _brk() from DeforaOS libc for Linux/i386
2018-08-04 02:24:58 +02:00
1e03411484
Import fixes for memory allocation from DeforaOS libc
2018-08-04 01:58:43 +02:00
c24f2d44a1
Code cleanup
2018-08-04 01:58:39 +02:00
295b7b4afe
Always print to a valid console
2018-08-03 03:03:44 +02:00
bbca21b808
Code cleanup
2018-08-03 03:03:35 +02:00
eaebbb0f00
Code cleanup
2018-08-03 02:17:38 +02:00
4f8536876a
Always use clock drivers with a valid instance
2018-08-03 02:17:38 +02:00
7af49989ec
Do not compile _multiboot_start when not used
2018-08-03 01:53:06 +02:00
c7944c91da
Code cleanup
2018-08-03 01:51:07 +02:00
018cdae162
Import realloc() in libuKernel
2018-08-02 23:38:41 +02:00
b5f0cf9f88
Avoid a few compilation warnings
2018-08-02 23:16:23 +02:00