summaryrefslogtreecommitdiff
path: root/Kernel/VirtualAddress.h
AgeCommit message (Collapse)Author
2021-11-17AK: Convert AK::Format formatting helpers to returning ErrorOr<void>Andreas Kling
This isn't a complete conversion to ErrorOr<void>, but a good chunk. The end goal here is to propagate buffer allocation failures to the caller, and allow the use of TRY() with formatting functions.
2021-11-14Kernel: Resolve clang-tidy readability-make-member-function-constAndrew Kaster
... In files included from Kernel/Thread.cpp or Kernel/Process.cpp Some places the warning is suppressed, because we do not want a const object do have non-const access to the returned sub-object.
2021-08-25Kernel: Make VirtualAddress methods constexprBrian Gianforcaro
In order to use VirtualAddresses as compile time constants in the AddressSanitizer implementation, we need to be able to use these methods in constexpr functions / variable initializations.
2021-07-18Kernel: Make VirtualAddress::page_base() work with 64-bit addressesGunnar Beutner
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-12Everywhere: Remove klog(), dbg() and purge all LogStream usage :^)Andreas Kling
Good-bye LogStream. Long live AK::Format!
2021-02-28Kernel: Use default con/de-structorsBen Wiederhake
This may seem like a no-op change, however it shrinks down the Kernel by a bit: .text -432 .unmap_after_init -60 .data -480 .debug_info -673 .debug_aranges 8 .debug_ranges -232 .debug_line -558 .debug_str -308 .debug_frame -40 With '= default', the compiler can do more inlining, hence the savings. I intentionally omitted some opportunities for '= default', because they would increase the Kernel size.
2021-02-15Kernel: Mark PhysicalAddress/VirtualAddress getters as [[nodiscard]]Brian Gianforcaro
There is no reason to call a getter without observing the result, doing so indicates an error in the code. Mark these methods as [[nodiscard]] to find these cases.
2021-01-09AK: Add Formatter<FormatString> as helper class.asynts
2020-12-30AK+Format: Remove TypeErasedFormatParams& from format function.asynts
2020-12-25Kernel: Add formatter for VirtualAddressAndreas Kling
2020-09-25Meta+Kernel: Make clang-format-10 cleanBen Wiederhake
2020-05-16Kernel: Absorb LibBareMetal back into the kernelAndreas Kling
This was supposed to be the foundation for some kind of pre-kernel environment, but nobody is working on it right now, so let's move everything back into the kernel and remove all the confusion.
2019-07-09Kernel: Move VirtualAddress.h into VM/Andreas Kling
2019-07-03AK: Rename the common integer typedefs to make it obvious what they are.Andreas Kling
These types can be picked up by including <AK/Types.h>: * u8, u16, u32, u64 (unsigned) * i8, i16, i32, i64 (signed)
2019-06-13Kernel: Replace the last "linear" with "virtual".Andreas Kling
2019-06-07Kernel: Rename LinearAddress => VirtualAddress.Andreas Kling