Commit Graph

609 Commits

Author SHA1 Message Date
b4c3b3bf88 Add a comment 2019-03-26 16:00:39 +01:00
716c5c54ee Update the copyright notice 2019-02-27 16:29:38 +01:00
a50d7a1443 Add support for /etc/ld.so.conf 2019-02-27 16:28:16 +01:00
46f6237b18 Register fixme.log 2019-02-27 16:16:31 +01:00
afb2a2faa4 Import test to look for FIXMEs in comments 2019-02-27 16:16:08 +01:00
623b71f0bf Update the copyright notice 2019-02-20 16:01:00 +01:00
f679f1a73d Let the output be more consistent 2019-02-20 16:00:40 +01:00
50e487adb8 Consider century leap years 2018-09-21 02:01:42 +03:00
1c4f927fdd Avoid multiplications while obtaining the time 2018-09-21 02:01:07 +03: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