summaryrefslogtreecommitdiff
path: root/Kernel/Syscalls/sysconf.cpp
AgeCommit message (Collapse)Author
2021-04-22Everything: Move to SPDX license identifiers in all files.Brian Gianforcaro
SPDX License Identifiers are a more compact / standardized way of representing file license information. See: https://spdx.dev/resources/use/#identifiers This was done with the `ambr` search and replace tool. ambr --no-parent-ignore --key-from-file --rep-from-file key.txt rep.txt *
2021-03-21Kernel::CPU: Move headers into common directoryHendiadyoin1
Alot of code is shared between i386/i686/x86 and x86_64 and a lot probably will be used for compatability modes. So we start by moving the headers into one Directory. We will probalby be able to move some cpp files aswell.
2021-03-16Kernel: sysconf(_SC_CLK_TCK): Use TimeManagement::ticks_per_second()thatdutchguy
2021-03-16Kernel: Add _SC_CLK_TCK to sysconf.thatdutchguy
Unbreaks the hatari port.
2021-03-01Kernel: Make all syscall functions return KResultOr<T>Andreas Kling
This makes it a lot easier to return errors since we no longer have to worry about negating EFOO errors and can just return them flat.
2021-02-15Kernel+LibC: Add the _SC_GETPW_R_SIZE_MAX sysconf enumAnotherTest
It just returns 4096 :P
2021-01-18Kernel+LibC: Add _SC_TTY_NAME_MAXLinus Groh
2020-09-27Kernel: Implement _SC_OPEN_MAXLuke
2020-07-31Kernel: Add _SC_PAGESIZE to sysconfItamar
This unbreaks the gcc and binutils ports. Previously, when _SC_PAGESIZE was missing, these packages opted to use their own versions of getpagesize which made their build fail because of conflicting definitions of the function.
2020-07-30Kernel: Move syscall implementations out of Process.cppAndreas Kling
This is something I've been meaning to do for a long time, and here we finally go. This patch moves all sys$foo functions out of Process.cpp and into files in Kernel/Syscalls/. It's not exactly one syscall per file (although it could be, but I got a bit tired of the repetitive work here..) This makes hacking on individual syscalls a lot less painful since you don't have to rebuild nearly as much code every time. I'm also hopeful that this makes it easier to understand individual syscalls. :^)