Commit Graph

31 Commits

Author SHA1 Message Date
Vladimir Serbinenko dfac99781c memory: Don't map extra page unnecessarily
When offset2 != 0 it doesn't necessarily mean that we need an extra page.
Fix calculation to map extra page only when necesarry.

This is needed as next page may be unavailable like when available RAM
follows XSDT and hence not available for mapping.
2023-08-16 20:44:09 +02:00
nakst 910bc1bbb0 general: use contentType field for file types 2022-03-24 16:58:35 +00:00
nakst 77586e6561 bugfix in ThreadSetTemporaryAddressSpace: open 2 references instead of 1 2022-01-21 10:37:02 +00:00
nakst acee390166 data structure cleanup 2021-12-19 14:48:26 +00:00
nakst a9401068d7 permissions for shared regions 2021-11-19 19:02:02 +00:00
nakst 259da06df8 remove named shared regions 2021-11-19 17:25:22 +00:00
nakst c2dc5adbe7 fix race on desktopProcess in shut down 2021-11-13 19:33:44 +00:00
nakst 2436959c84 cleanup scheduler 2021-11-13 15:18:37 +00:00
nakst 1eb2dfe549 add license header to source files 2021-11-09 20:49:34 +00:00
nakst 97ae44396b simplify KEventSet 2021-11-08 21:59:42 +00:00
nakst 455a213349 simplify RemoveProcess 2021-11-08 21:28:00 +00:00
nakst 9f119b5104 introduce allProcessesMutex 2021-11-08 20:51:57 +00:00
nakst 095ff182a2 scheduler cleanup 2021-11-07 21:43:48 +00:00
nakst 7f928c523f lockless thread/process handle counting and id assignment 2021-11-07 18:35:31 +00:00
nakst ee4a0e7a05 simplify async tasks 2021-11-06 16:15:12 +00:00
nakst ed038d1059 x86_32 implementation for kernel 2021-11-01 19:32:56 +00:00
nakst 4e6549d625 refactor and stub x86_32 implementation 2021-10-29 10:44:26 +01:00
nakst 21edea68d2 fixes for 32 bit 2021-10-27 11:47:08 +01:00
nakst eddf4f5b65 fix building nvme driver 2021-10-26 19:54:25 +01:00
nakst 7a0b832c36 kernel cleanup 2 2021-10-25 15:33:58 +01:00
nakst 6fa375a9d8 kernel cleanup 2021-10-25 10:01:56 +01:00
nakst 394c545939 fixes from stress testing 2021-10-21 17:15:16 +01:00
nakst 293f19de42 use PIT for scheduler time; RTC driver; date conversion functions; add EsDateNowUTC 2021-10-10 16:11:13 +01:00
nakst 5422a9e01e speed up initial page frame loop 2021-09-22 20:30:49 +01:00
nakst f82e5d9a30 installation to MBR 2021-09-12 21:50:37 +01:00
nakst d96b07e115 drop tab onto container 2021-09-10 18:50:12 +01:00
nakst 10b259ca66 low memory fixes 2021-09-07 11:18:03 +01:00
nakst 93303d0ab7 rename file write access flags 2021-09-01 20:41:52 +01:00
nakst 7e65dafaa9 MMArchSafeCopy 2021-08-15 05:54:05 +01:00
nakst edd1b57db7 support for latest qemu; update luigi.h 2021-08-15 00:09:47 +01:00
nakst f9ebd743cc hide email 2021-08-13 21:22:26 +01:00