Commit Graph

2614 Commits

Author SHA1 Message Date
Doczom
4f59e32470 fix bug in my fix bug
git-svn-id: svn://kolibrios.org@9223 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-10-23 16:05:08 +00:00
Doczom
bb36197cd2 fix bug http://bugs.kolibrios.org/view.php?id=145 in sf 4
git-svn-id: svn://kolibrios.org@9222 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-10-23 15:53:35 +00:00
83176ac8ef kernel: Fix window redraw after 1px move.
If
 - window A is above window B, and
 - window A has been moved,
then window B receives a redraw event.

But if that move was 1px right or down, window B didn't receive an event
because of off-by-one error. Now it's fixed.

git-svn-id: svn://kolibrios.org@9221 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-10-18 16:23:18 +00:00
496d1b957e ahci: name drives as sdX instead of hdX
git-svn-id: svn://kolibrios.org@9219 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-10-16 22:13:26 +00:00
turbocat
93b5078632 Removed useless kolibri-f branch
git-svn-id: svn://kolibrios.org@9192 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-09-14 17:42:01 +00:00
turbocat
bdef8f9596 Created a branch for low-level work with disks
git-svn-id: svn://kolibrios.org@9191 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-09-14 17:39:32 +00:00
cf3af4b4ed kernel: fix export of file_system_lfn_protected.
This function returns values not in registers but in their images on
stack. Therefore we have to wrap a call with pushad/popad.

git-svn-id: svn://kolibrios.org@9185 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-09-09 22:37:00 +00:00
79377393da kolibri-ahci: code style fixes
git-svn-id: svn://kolibrios.org@9184 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-09-09 12:05:09 +00:00
954246b1b7 Merge kolibri-ahci into trunk
git-svn-id: svn://kolibrios.org@9183 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-09-09 11:38:38 +00:00
a17d3b7653 kolibri-ahci:
- fix bug with identical names for all disks

git-svn-id: svn://kolibrios.org@9168 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-08-30 10:59:18 +00:00
f270456bab kolibri-ahci:
- added write, seems to work

git-svn-id: svn://kolibrios.org@9166 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-08-29 19:20:12 +00:00
617b2bf8c3 kolibri-ahci:
- fix bugs with prdt overflow
- full refactoring of disk reading
- added fdo verbosity control
- other changes

git-svn-id: svn://kolibrios.org@9162 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-08-28 14:17:15 +00:00
hidnplayr
389c2bc6c3 Fix typo
git-svn-id: svn://kolibrios.org@9151 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-08-24 16:48:03 +00:00
eb103eed40 kolibri-ahci:
- fixed two stupid errors, now work in qemu

git-svn-id: svn://kolibrios.org@9145 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-08-20 07:13:00 +00:00
7126f01a79 kolibri-ahci:
- added ahci_read

git-svn-id: svn://kolibrios.org@9143 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-08-19 19:36:23 +00:00
b89963de95 kolibri-ahci:
- important register preseving

git-svn-id: svn://kolibrios.org@9142 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-08-19 10:33:40 +00:00
6a6dcc90ae kolibri-ahci:
- added ahci_read_first_sector and it works
- temporariry removed ahci_read
- small changes

git-svn-id: svn://kolibrios.org@9141 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-08-19 10:10:28 +00:00
8dfac86e67 kolibri-ahci:
- added disk registration in system
- added ahci_read (DOES NOT WORK, TODO), ahci_querymedia
- other changes

git-svn-id: svn://kolibrios.org@9140 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-08-18 21:55:32 +00:00
b436ed9f25 kolibri-ahci:
- use spinlocks (added two functions) instead of delays in ahci_port_identify
- small changes

git-svn-id: svn://kolibrios.org@9139 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-08-18 11:09:40 +00:00
7bedba2c53 kolibri-ahci:
- refactoring: use swap_bytes_in_words for strings in ident space
- added viewing lba48 addresable sectors count, disk capacity in MiB and GiB
- other small changes

git-svn-id: svn://kolibrios.org@9138 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-08-16 17:36:12 +00:00
48a6c045c4 kolibri-ahci:
- fix build

git-svn-id: svn://kolibrios.org@9136 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-08-14 14:04:25 +00:00
b8a5378080 kolibri-ahci:
- optimized signature checking

git-svn-id: svn://kolibrios.org@9135 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-08-14 13:59:08 +00:00
a85d76349a kolibri-ahci:
- added drive type detection
- identify now works both for SATA and SATAPI
- small fixes

git-svn-id: svn://kolibrios.org@9134 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-08-13 21:41:56 +00:00
324586c098 kolibri-ahci:
- fixed identify command sending, now driver successfully identifies hard disk model on my acer aspire
- small changes

git-svn-id: svn://kolibrios.org@9131 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-08-10 12:24:33 +00:00
16ff205237 kolibri-ahci:
- fixed issue with staggered spin-up, so now works better on real hardware
- more verbose debug output
- other small changes
TODO: improve reading identification space
why identification space is all zeroes on my acer aspire ?

git-svn-id: svn://kolibrios.org@9130 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-08-09 19:32:15 +00:00
39368a57b4 kolibri-ahci:
- added ahci_port_identify (it works!)
- other fixes
- todo: fix dirty codestyle)

git-svn-id: svn://kolibrios.org@9074 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-21 23:00:47 +00:00
f195324958 kolibri-ahci:
- make some padding and reserved field anonymous
- correct mistake in FIS_DMA_SETUP, some fileds were absent
- small fixes

git-svn-id: svn://kolibrios.org@9072 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-21 15:33:47 +00:00
774aee343f kolibri-ahci:
- added more structures
- added function ahci_find_cmdslot
- small fixes

git-svn-id: svn://kolibrios.org@9069 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-20 16:25:00 +00:00
9ea50cc779 kolibri-ahci:
- add ahci_send_cmd
- add ahci_flush_cmd
- add ahci_port_rebase
- other small changes

git-svn-id: svn://kolibrios.org@9068 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-16 16:39:49 +00:00
760c9f36c4 kolibri-ahci:
- add functions start_cmd and stop_cmd
- small changes

git-svn-id: svn://kolibrios.org@9065 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-13 20:20:23 +00:00
a8fd8dac68 kolibri-ahci:
- added FIS structures
- shorten some names in HBA_MEM structure

git-svn-id: svn://kolibrios.org@9064 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-13 17:09:18 +00:00
Kirill Lipatov (Leency)
4f8b740144 sysfuncr.txt: translate 74.11 - 74.16
osupdate: add to ISO
icons16.png: update icons of windows, kolibri, floppy
cedit: update by akron1

git-svn-id: svn://kolibrios.org@9060 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-13 10:30:43 +00:00
turbocat
9b2048f146 kernel (trunk) :
- Added the function of working with the file system in the export for the driver.
  (However, feature 70 vulnerability should not be fixed until the drivers using it are rebuilt).

git-svn-id: svn://kolibrios.org@9055 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-12 22:34:27 +00:00
hidnplayr
ae22a16a43 Fix loopback
git-svn-id: svn://kolibrios.org@9054 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-12 20:39:08 +00:00
Kirill Lipatov (Leency)
716db38e51 docs: update sys f48.3 description about color names and meanings
git-svn-id: svn://kolibrios.org@9052 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-12 09:45:12 +00:00
turbocat
3ee8369ec6 Kolibri-F:
- Added sprintf to the kernel.
- Added a notification from @notify when there are exceptions in the application. 
- Added debug files to bochs

git-svn-id: svn://kolibrios.org@9051 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-11 11:17:39 +00:00
hidnplayr
7b13d5fb4e Add is_userspace_region checks to some socket functions.
Disabled PPPoE and IPv6 completely by default, as not functional.


git-svn-id: svn://kolibrios.org@9049 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-10 09:41:13 +00:00
Magomed Kostoev (mkostoevr)
eccd8f2198 [CLEVERMOUSE_PE_KERNEL] Apply CleverMouse PE patch
git-svn-id: svn://kolibrios.org@9048 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-09 19:26:55 +00:00
Magomed Kostoev (mkostoevr)
360e379fc7 [KERNEL] Get ready to apply CleverMouse PE patch
git-svn-id: svn://kolibrios.org@9047 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-09 19:19:04 +00:00
b6f769987c kernel: Check for base+len overflow in is_region_userspace
git-svn-id: svn://kolibrios.org@9045 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-09 09:22:44 +00:00
6beb99fc30 kernel: Implement sf70.5 for default FS stub
Only get partition size, not its label.

Information of a block device and FS on it should be reported by
different system calls.

git-svn-id: svn://kolibrios.org@9043 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-09 03:20:12 +00:00
Magomed Kostoev (mkostoevr)
293a74db28 [KERNEL][TASKMAN] Add prefixes to named constants
git-svn-id: svn://kolibrios.org@9038 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-08 20:04:59 +00:00
ffb87dab38 kolibri-ahci:
- started implementing drives detect
- other fixes

git-svn-id: svn://kolibrios.org@9037 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-08 19:20:11 +00:00
Magomed Kostoev (mkostoevr)
c81b16b529 [KERNEL][TASKMAN] Use named constants instead of magic numbers
git-svn-id: svn://kolibrios.org@9036 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-08 19:16:00 +00:00
Magomed Kostoev (mkostoevr)
436e509ba2 [kernel][dll] Doxycomment load_file function
git-svn-id: svn://kolibrios.org@9034 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-08 18:39:49 +00:00
Magomed Kostoev (mkostoevr)
51562c329d [asmxygen] Dump into file instead of stdout
git-svn-id: svn://kolibrios.org@9033 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-08 18:33:06 +00:00
Magomed Kostoev (mkostoevr)
43ca471eaa [KERNEL][TASKMAN] Document fs_execute function return value
git-svn-id: svn://kolibrios.org@9032 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-08 18:08:28 +00:00
Magomed Kostoev (mkostoevr)
d68f8ecdce [KERNEL][TASKMAN] Comment fs_execute function
git-svn-id: svn://kolibrios.org@9031 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-08 17:55:19 +00:00
Magomed Kostoev (mkostoevr)
374173db37 [asmxygen] Make dump more beautiful
git-svn-id: svn://kolibrios.org@9030 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-08 17:53:41 +00:00
Magomed Kostoev (mkostoevr)
7ba2ef299c [kernel][unpacker] Update the unpacker comment in order to update the documentation
git-svn-id: svn://kolibrios.org@9029 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-08 16:57:24 +00:00
Magomed Kostoev (mkostoevr)
923adaf09c [asmxygen] Document label function parameters according to @param directives
git-svn-id: svn://kolibrios.org@9028 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-08 16:56:05 +00:00
Magomed Kostoev (mkostoevr)
0f1e2f75dc [kernel][doxygen] Document unpacker function
git-svn-id: svn://kolibrios.org@9027 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-08 16:41:09 +00:00
Magomed Kostoev (mkostoevr)
85eb28b60b [kernel][doxygen] Hide utility macros from struct.inc
git-svn-id: svn://kolibrios.org@9026 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-08 16:34:04 +00:00
048b0de963 kolibri-ahci: refactoring
git-svn-id: svn://kolibrios.org@9024 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-08 14:27:05 +00:00
478c96b635 kolibri-ahci:
- improve controller initialization
- some refactoring

git-svn-id: svn://kolibrios.org@9023 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-08 11:56:47 +00:00
62850037f1 kolibri-ahci: delete file added by mistake
git-svn-id: svn://kolibrios.org@9022 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-07 22:48:31 +00:00
c587f61465 kolibri-ahci: added missed files + info with useful links
git-svn-id: svn://kolibrios.org@9021 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-07 22:37:28 +00:00
21816f5c0b kolibri-ahci: upload first results on AHCI support
git-svn-id: svn://kolibrios.org@9020 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-07 21:53:12 +00:00
73864ff1d7 Create kolibri-ahci branch
git-svn-id: svn://kolibrios.org@9019 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-07 21:36:03 +00:00
hidnplayr
e32ea5d3c8 Network device error/missed/dropped packet counters.
+ Network buffer sanity checks.

git-svn-id: svn://kolibrios.org@9017 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-07 19:26:17 +00:00
Kirill Lipatov (Leency)
5f1af2011f sysfunc: fixed mistake in f48.5 (found by zorggish)
git-svn-id: svn://kolibrios.org@8994 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-04 11:59:11 +00:00
Magomed Kostoev (mkostoevr)
241c5e20f1 [kernel][doxygen] Comment acpi_get_root_ptr and test asmxygen update
git-svn-id: svn://kolibrios.org@8991 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-04 09:13:41 +00:00
Magomed Kostoev (mkostoevr)
e567146b49 [asmxygen] Fix unknown macro name at the end of a struct declaration in case if a file wasn't parsed cause it's parsed already
Now asmxygen also saves a list of parsed symbols separately. So when he starts to parse anything once again he already know all other symbols defined in other files and can use em to find valid variable declarations and other stuff

git-svn-id: svn://kolibrios.org@8990 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-04 09:10:24 +00:00
Magomed Kostoev (mkostoevr)
d063163da3 [asmxygen] Handle label commented with @return or @param as a function
git-svn-id: svn://kolibrios.org@8989 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-03 20:50:00 +00:00
turbocat
aa79e1a449 Recreation of the Kolibri-F branch. Part 2
git-svn-id: svn://kolibrios.org@8988 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-03 19:50:55 +00:00
turbocat
fc1285c39c Recreation of the Kolibri-F branch. Part 1
git-svn-id: svn://kolibrios.org@8987 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-03 19:49:51 +00:00
turbocat
631f5b8e1e Kolibri-F:
- Added syscall_ common name for system call functions. 
- Fixed not logical names of system calls of functions.

git-svn-id: svn://kolibrios.org@8986 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-03 14:13:18 +00:00
turbocat
422f79f395 a new branch of the Kolibri-F core was created
git-svn-id: svn://kolibrios.org@8985 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-03 11:48:49 +00:00
Magomed Kostoev (mkostoevr)
2995e59834 [asmxygen] Implement --stats key
git-svn-id: svn://kolibrios.org@8982 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-29 20:48:05 +00:00
Magomed Kostoev (mkostoevr)
01b9146608 [asmxygen] Warn if an element has no comment
git-svn-id: svn://kolibrios.org@8980 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-29 19:47:40 +00:00
Magomed Kostoev (mkostoevr)
ee35eb534c [kernel][doxygen] Documment endp macro
git-svn-id: svn://kolibrios.org@8979 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-29 19:41:20 +00:00
Magomed Kostoev (mkostoevr)
68783fcb25 [kernel][doxygen] Hide proc/endp supporting macros from doxygen
git-svn-id: svn://kolibrios.org@8978 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-29 19:19:44 +00:00
Magomed Kostoev (mkostoevr)
e6dd99e189 [asmxygen] Ignore symbols marked in a comment as '@dont_give_a_doxygen'
git-svn-id: svn://kolibrios.org@8977 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-29 19:18:18 +00:00
Magomed Kostoev (mkostoevr)
7f55a3dc7b [asmxygen] Optimize identifier classification mechanism (stable 5% speedup)
git-svn-id: svn://kolibrios.org@8976 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-29 19:03:55 +00:00
Magomed Kostoev (mkostoevr)
6374a2c01b [asmxygen] Only parse files if no --clean key provided
git-svn-id: svn://kolibrios.org@8975 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-29 17:49:34 +00:00
Magomed Kostoev (mkostoevr)
af6b4f93ba [asmxygen] Translate dict in AsmReaderReadingComments into just a set of fields
git-svn-id: svn://kolibrios.org@8974 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-29 17:41:04 +00:00
Magomed Kostoev (mkostoevr)
6df2192b27 [asmxygen] Remove unuseful method
git-svn-id: svn://kolibrios.org@8973 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-29 17:33:31 +00:00
Magomed Kostoev (mkostoevr)
4a03644b6a [kernel][doxygen] Document proc macro
git-svn-id: svn://kolibrios.org@8972 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-29 15:47:46 +00:00
Magomed Kostoev (mkostoevr)
7b10dd62cf [kernel][doxygen] Add goxygen comment to cinvoke macro and check commit speed
git-svn-id: svn://kolibrios.org@8971 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-29 15:17:43 +00:00
Magomed Kostoev (mkostoevr)
1e96b1a5c1 [kernel][doxygen] Add goxygen comment to ccall macro and check commit speed
git-svn-id: svn://kolibrios.org@8970 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-29 15:10:33 +00:00
Magomed Kostoev (mkostoevr)
127cb6bf8e [kernel][doxygen] Add goxygen comment to invoke macro and check commit speed
git-svn-id: svn://kolibrios.org@8969 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-29 15:00:49 +00:00
Magomed Kostoev (mkostoevr)
7964bb0c30 [kernel][doxygen] Test commit duration and add a doxygen comment on dbgstr macro
git-svn-id: svn://kolibrios.org@8968 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-29 14:54:41 +00:00
Magomed Kostoev (mkostoevr)
7bee83d268 [asmxygen] Reimplement --clean key
git-svn-id: svn://kolibrios.org@8967 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-29 14:43:46 +00:00
Magomed Kostoev (mkostoevr)
cd01df9cdd [asmxygen] Optimize: only parse not parsed before files
git-svn-id: svn://kolibrios.org@8966 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-29 14:11:56 +00:00
Magomed Kostoev (mkostoevr)
57660d5393 [kernel][doxygen] Document stdcall macro
git-svn-id: svn://kolibrios.org@8965 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-29 13:24:55 +00:00
Magomed Kostoev (mkostoevr)
804455ea58 [doxygen] Change the project name to "KolibriOS kernel"
git-svn-id: svn://kolibrios.org@8964 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-29 12:08:59 +00:00
Magomed Kostoev (mkostoevr)
dab924270e [asmxygen] Parse function arguments, used registers and calling convention
git-svn-id: svn://kolibrios.org@8963 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-29 12:07:54 +00:00
Magomed Kostoev (mkostoevr)
a7ae55240b [asmxygen] Test doxygen generation on is_region_userspace() function
git-svn-id: svn://kolibrios.org@8962 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-29 09:37:40 +00:00
Magomed Kostoev (mkostoevr)
ed5ccbec27 [asmxygen][parse_variable] No reason to read comments by hand anymore
git-svn-id: svn://kolibrios.org@8961 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-29 09:25:51 +00:00
Magomed Kostoev (mkostoevr)
698dcf1043 [doxygen] Handle structures
git-svn-id: svn://kolibrios.org@8958 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-28 17:40:37 +00:00
Magomed Kostoev (mkostoevr)
ed5dcb8fff [asmxygen] Rewrite parser to make it smarter, parse existing comments
git-svn-id: svn://kolibrios.org@8957 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-28 17:13:25 +00:00
807afdadb8 kernel: Fix memory corruption of clipboard data.
There were a few off-by-one errors in window size calculation.
As a result, winmap update code corrupted clipboard structures.

git-svn-id: svn://kolibrios.org@8928 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-23 10:07:36 +00:00
Kirill Lipatov (Leency)
744dc6bcc8 kernel: tiny draw button optimization
img: rename FindNumbers into Numbers and ENTROPYVIEW into ENTROPYV (confirmed with author) to fit 8.3

git-svn-id: svn://kolibrios.org@8926 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-22 19:41:46 +00:00
bf0e285246 fix previous
git-svn-id: svn://kolibrios.org@8914 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-21 21:38:42 +00:00
fc3c8d4ae0 [KERNEL] Temporarily disable checks added in #8680.
More info in comments to syscall_file_system_lfn

git-svn-id: svn://kolibrios.org@8912 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-21 21:31:19 +00:00
hidnplayr
3868bd567a Add network packet error counters.
git-svn-id: svn://kolibrios.org@8896 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-20 20:22:57 +00:00
6341ddfde8 kernel: Unhardcode a few values in hid/keyboard.inc.
git-svn-id: svn://kolibrios.org@8892 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-19 23:36:32 +00:00
0f675e4534 [KERNEL] use constants instead of hardcoded values, other small fixes
git-svn-id: svn://kolibrios.org@8876 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-19 08:41:09 +00:00
8ef75d4496 [KERNEL] #4 Preparing to merge legacy TASKDATA into APPDATA:
- use thread state constants instead of hardcoded values
- other small style fixes

git-svn-id: svn://kolibrios.org@8874 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-18 08:26:02 +00:00
2359531a17 [KERNEL] #3 Preparing to merge legacy TASKDATA into APPDATA:
- get rid of CURRENT_TASK
- to APPDATA added new fields which will be used instead of TASKDATA's
- other small fixes

git-svn-id: svn://kolibrios.org@8869 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-17 09:41:16 +00:00
d4bf03befc [KERNEL] #2 Preparing to merge legacy TASKDATA into APPDATA:
- rename event_mask in APPDATA to occured_events, cause TASKDATA already has event_mask and they have different meaning and usage
- small fixes

git-svn-id: svn://kolibrios.org@8867 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-16 13:57:17 +00:00
9cdec89085 [KERNEL] Preparing to merge legacy TASKDATA into APPDATA:
- now doesnt use TASK_COUNT, now uses [thread_count] global instead of it
- update come copyrights

git-svn-id: svn://kolibrios.org@8866 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-16 10:04:10 +00:00
Kirill Lipatov (Leency)
8001bbcc4e uefi/kolibri.ini: clarify /sys directory path
git-svn-id: svn://kolibrios.org@8865 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-16 08:33:20 +00:00
347719fb25 uefi4kos: Disable debug output by default.
git-svn-id: svn://kolibrios.org@8864 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-15 22:20:16 +00:00
f3f40df401 [KERNEL] Refactoring:
- optimize struct zeroing in sys32.inc 
- set_app_param: delete setting completely unused APPDATA.event_filter (also make this field reserved)
- update some copyringhs
- other small fixes

git-svn-id: svn://kolibrios.org@8858 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-15 16:24:33 +00:00
Magomed Kostoev (mkostoevr)
0f47c4c2c8 [kernel][doxygen] Do not generate LaTeX
git-svn-id: svn://kolibrios.org@8857 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-15 13:35:14 +00:00
Magomed Kostoev (mkostoevr)
c2b720d342 [kernel][asmxygen.py] Remove debug output
git-svn-id: svn://kolibrios.org@8856 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-15 09:03:01 +00:00
Magomed Kostoev (mkostoevr)
b84899dbd5 [kernel][asmxygen.py] Implement macro arguments parsing
git-svn-id: svn://kolibrios.org@8855 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-15 08:58:03 +00:00
75fe8b68da refactoring pid_to_slot:
- use constants instead of hardcoded values
- add more comments

git-svn-id: svn://kolibrios.org@8851 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-14 11:48:48 +00:00
Magomed Kostoev (mkostoevr)
ff0745456b [kernel][asmxygen.py] Implement very basic macro and struct documentation generation
git-svn-id: svn://kolibrios.org@8846 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-13 22:23:55 +00:00
Magomed Kostoev (mkostoevr)
9bb8aaa1cf [kernel][doxygen] Parse doxygen folder recursively
git-svn-id: svn://kolibrios.org@8845 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-13 22:12:44 +00:00
Magomed Kostoev (mkostoevr)
d950efba80 [kernel][asmxygen.py] Add basic support for labels
git-svn-id: svn://kolibrios.org@8844 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-13 22:03:03 +00:00
Magomed Kostoev (mkostoevr)
dc1d84a7cd [kernel][doxygen] Make doxygen page more beautiful
git-svn-id: svn://kolibrios.org@8843 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-13 21:59:23 +00:00
Magomed Kostoev (mkostoevr)
27bc9881a4 [kernel][asmxygen.py] Add basic function support
git-svn-id: svn://kolibrios.org@8842 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-13 21:58:51 +00:00
Magomed Kostoev (mkostoevr)
41b1b667fc [kernel][asmxygen.py] Implement variable doxygen generation
git-svn-id: svn://kolibrios.org@8841 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-13 21:24:23 +00:00
4dea14e6e3 Delete unused function check_region (it was commented out years ago) and stub calls of this function.
git-svn-id: svn://kolibrios.org@8840 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-13 20:51:08 +00:00
Magomed Kostoev (mkostoevr)
5f7f9051e3 [kernel][asmxygen.py] Configure behaviour using script arguments
git-svn-id: svn://kolibrios.org@8837 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-13 08:52:33 +00:00
Magomed Kostoev (mkostoevr)
7449305fdb [kernel][asmxygen.py] Disable clean_generated_stuff flag by default
git-svn-id: svn://kolibrios.org@8835 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-13 08:22:57 +00:00
Magomed Kostoev (mkostoevr)
3f88024a1b [kernel] Make asmxygen generate doxygen C-like files in docs/doxygen and implement very basic variable doxygen generation
git-svn-id: svn://kolibrios.org@8834 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-13 08:20:53 +00:00
Magomed Kostoev (mkostoevr)
c29e356f4c [kernel] Prepare for kernel documentation (add asmxygen.py)
git-svn-id: svn://kolibrios.org@8825 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-12 20:20:02 +00:00
Doczom
c080568a52 fixed vulnerability (kernel memory rewrite) in sysfn 4
git-svn-id: svn://kolibrios.org@8715 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-05-09 14:17:55 +00:00
Doczom
5376120685 fixed vulnerability (reading kernel memory from userspace) in sysfn 7, 15.5 and 65
git-svn-id: svn://kolibrios.org@8714 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-05-09 14:02:32 +00:00
Doczom
da3163d11b fixed vulnerability (reading kernel memory from userspace) in sysfn 47
git-svn-id: svn://kolibrios.org@8713 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-05-09 13:27:00 +00:00
Doczom
2508f1e16e fixed vulnerability (reading kernel memory from userspace) in sysfn 48.2
git-svn-id: svn://kolibrios.org@8712 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-05-09 12:50:44 +00:00
Doczom
a18d802064 fixed vulnerability (reading kernel memory from userspace) in sysfn 54.2
git-svn-id: svn://kolibrios.org@8711 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-05-09 09:14:43 +00:00
Coldy
ed25f2c1ca Dll autoload
Kernel
- removed unnecessary and rewrote/add some comments, no code changes
User (lib/dll.obj)   
- Introduced new KX header as extension for existing formats
- Added staring KX header processing
- Improved import table test logic, no reason to kill app for import absence - skip 
  import processing (tnx ProMiNick)
- Add ReadMe.txt


git-svn-id: svn://kolibrios.org@8709 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-05-01 16:17:27 +00:00
Coldy
b91122a57b Fix vulnerabilitie in sysfn 74.1 (add sanity check for user buffer), now user applications can't corrupt kernel memory via invalid buffer address
git-svn-id: svn://kolibrios.org@8700 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-04-28 06:56:45 +00:00
7f4ba4d3e1 fixed multiple vulnerabilities in sysfn70 caused by absence of user addresses check
git-svn-id: svn://kolibrios.org@8680 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-04-24 21:16:55 +00:00
0c0895f9a0 fixed vulnerability (kernel memory rewrite) in sysfn 30.2 and 30.5
git-svn-id: svn://kolibrios.org@8676 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-04-22 20:56:05 +00:00
c7a8498e42 fixed vulnerability (reading kernel memory from userspace) in sysfn25
git-svn-id: svn://kolibrios.org@8675 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-04-22 19:59:52 +00:00
Coldy
cb3d4656b9 For DLL autoload
git-svn-id: svn://kolibrios.org@8671 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-04-17 08:52:27 +00:00
Alex2003
e44d2d93da roadmap for kolibri e 0.1
git-svn-id: svn://kolibrios.org@8670 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-04-16 19:42:49 +00:00
af53d12ef9 uefi4kos: Make sure 32bit trampoline is below 4GiB
This fixes booting via uefi64kos on some systems.

git-svn-id: svn://kolibrios.org@8656 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-03-31 19:45:53 +00:00
da8b70d99e fixed same vulnerability in sysfn 48.3
git-svn-id: svn://kolibrios.org@8599 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-02-21 11:03:16 +00:00
d82e0a30b4 fixed vulnerabilities in sysfn 18.11 and 36, now user applications cannot corrupt kernel memory via invalid buffer address
git-svn-id: svn://kolibrios.org@8598 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-02-21 09:59:47 +00:00
c39db73416 taskman.inc: fixed two vulnerabilities which caused kernel memory corruption on attempt to run apps with illegal addresses in MENUET0x header
git-svn-id: svn://kolibrios.org@8593 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-02-14 13:21:22 +00:00
1351c15bd0 taskman.inc: add comments for unobvious things, no code changes
git-svn-id: svn://kolibrios.org@8592 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-02-13 23:42:08 +00:00
d893a4981a fix bug in sysfn48 (by Kenshin)
git-svn-id: svn://kolibrios.org@8552 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-01-26 10:31:02 +00:00
Coldy
44a5c1b211 Fixed 69.4. Bug, call with PID=2 stops the system process thereby freezing the entire system!
git-svn-id: svn://kolibrios.org@8534 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-01-12 10:13:20 +00:00
906e6d8dce is_region_userspace: removed extra condition which caused incorrect behavior of boxlib menu in hexedit and rtfread (cuz it uses address 0 i didnt know:D )
git-svn-id: svn://kolibrios.org@8493 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-29 13:45:08 +00:00
7b4bf97ec8 is_region_userspace: refactoring and fix
git-svn-id: svn://kolibrios.org@8329 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-05 19:56:25 +00:00
Kirill Lipatov (Leency)
4563cb18a7 Move VMODE to ISO (as it is useless without drivers that are on ISO)
git-svn-id: svn://kolibrios.org@8285 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-01 01:03:36 +00:00
295aa0ad77 uefi4kos: Fix boot and mouse pointer on some configurations.
UEFI firmware doesn't use VESA mode codes, so disable this check
for UEFI boot.

git-svn-id: svn://kolibrios.org@8284 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-11-30 17:19:17 +00:00
673259b909 kernel: Protect OS threads from terminating by sf18.2.
git-svn-id: svn://kolibrios.org@8270 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-11-28 12:57:10 +00:00
af4695e15c fix return value from .addr_error in sysfn 26.2 , 9
git-svn-id: svn://kolibrios.org@8249 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-11-24 14:20:23 +00:00
2a0073bdfb fix prior
git-svn-id: svn://kolibrios.org@8248 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-11-24 13:27:11 +00:00
4e919c4eb5 SysFn 18.13 security fix: now apps cannot destroy kernel memory via passing illegal address in ecx
Update docs on SysFn 18.13

git-svn-id: svn://kolibrios.org@8247 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-11-24 12:49:42 +00:00
5d4528238c SysFn 9 security fix: now apps cannot destroy kernel memory via passing illegal address in ebx
Update docs on SysFn 9

git-svn-id: svn://kolibrios.org@8246 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-11-23 18:52:56 +00:00
1d8ab97178 Fix hardcoded $Revision: XXXX$ values.
git-svn-id: svn://kolibrios.org@8224 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-11-20 03:45:41 +00:00
6a975ff76a uefi4kos: Fix memmap conversion from uefi to e820 format.
git-svn-id: svn://kolibrios.org@8220 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-11-18 19:34:59 +00:00
fe0d0438ff Use e820entry macro instead of hardcoded values.
git-svn-id: svn://kolibrios.org@8217 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-11-17 21:47:10 +00:00
efa84a263d fix is_region_userspace (worked incorrectly for e.g 0xFFFFFFFF)
git-svn-id: svn://kolibrios.org@8216 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-11-17 20:00:28 +00:00
98c3ca18d2 uefi4kos: Fix memmap_block_cnt and 32->64 bit sign extension in arithmetics.
git-svn-id: svn://kolibrios.org@8206 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-11-17 02:32:21 +00:00
c2b9713bb9 Fix r8139: delay_ms was 10x slower when using HPET.
git-svn-id: svn://kolibrios.org@8176 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-11-11 22:28:04 +00:00
5b65357242 extended_primary_loader: Fix handling of 'resolution' option.
git-svn-id: svn://kolibrios.org@8175 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-11-11 22:27:30 +00:00
c8f42bc3d1 update docs on sysfn 26.2
git-svn-id: svn://kolibrios.org@8161 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-11-07 16:53:46 +00:00
9508cfa2b7 added is_region_userspace, fix sysfn 26.2 address security checks
git-svn-id: svn://kolibrios.org@8160 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-11-07 16:42:34 +00:00
160a8c789a SysFn 26.2 security fix: now apps cannot destroy kernel memory via passing illegal address to this sysfn
git-svn-id: svn://kolibrios.org@8158 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-11-06 23:15:44 +00:00
2004300949 Add basic 32-bit UEFI loader.
git-svn-id: svn://kolibrios.org@8150 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-11-06 17:52:10 +00:00
dd55ceaa16 kernel: Make delay_ms use HPET when available.
I got a laptop that has timer on channel 1 of PIT that doesn't tick.

git-svn-id: svn://kolibrios.org@8139 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-11-05 19:53:54 +00:00
60b5d5b532 Add missing svn:keywords properties.
git-svn-id: svn://kolibrios.org@8130 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-11-03 16:03:39 +00:00
609e822a2b Fix r8111 for APIC mode: Don't skip LAPIC initialization if already mapped.
git-svn-id: svn://kolibrios.org@8120 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-10-28 18:08:08 +00:00
1919b8efdc fix r8111: Map acpi_apic_base page before access.
git-svn-id: svn://kolibrios.org@8119 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-10-27 19:32:57 +00:00
8e5b79b154 kernel: Don't read acpi_dev_* vars that if uninitialized.
Currently only uefi4kos loader initializes these variables. May be one
day BIOS loaders will load DEVICES.DAT file and initialize these vars
too, may be one day we will detect APIC IRQs via ACPI. But not today.

git-svn-id: svn://kolibrios.org@8117 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-10-26 04:29:48 +00:00
5f677e4407 Remove unused macro and fix a comment.
git-svn-id: svn://kolibrios.org@8115 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-10-21 19:58:55 +00:00
a9121a0da9 kernel: Split acpi.inc and hpet.inc from init.inc.
Also, replace some hardcoded constants with macros.

git-svn-id: svn://kolibrios.org@8111 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-10-21 14:23:51 +00:00
20c622fb38 Don't put .dummy_fn function of net loopback device to data 'section'.
git-svn-id: svn://kolibrios.org@8103 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-10-16 18:36:30 +00:00
Alex2003
ed41eb9aa3 дорожная карта kolibri-e в формате utf-8
kolibri-e roadmap in utf-8 format

git-svn-id: svn://kolibrios.org@8096 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-10-12 18:31:45 +00:00
Alex2003
f05861a556 добавил маршрутный лист
roadmap included

git-svn-id: svn://kolibrios.org@8094 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-10-12 12:30:34 +00:00
aaf1ac4439 Assert sizeof.APPDATA=256, use it instead of hardcoded 256 value.
git-svn-id: svn://kolibrios.org@8093 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-10-12 02:54:44 +00:00
ab9b1ebb4a uefi4kos: Read config and kernel files from the disk.
* Now there is a config file with boot options, example included.
* Config, kernel and ramdisk are loaded from the disk, not compiled in.
* DEVICES.DAT file is also optionally loaded from the disk.
* Also, move the loader to /kernel/trunk/bootloader/uefi4kos.

git-svn-id: svn://kolibrios.org@8092 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-10-06 03:32:57 +00:00
f5e0f96e84 Add extended_primary_loader to autobuild.
* Build fat1x, fat32, cdfs, after_win loaders.
* Set use_lba=1 by default in fat32 loader.
* Build kolibri.raw: flash / hdd image.
* Add example config.ini file.
* Add an option (config file and screen) to not load ramdisk image.
* Add an option (config file only) to set /sys path.

Now you can boot without a ramdisk from a storage that is supported
by the kernel itself, i.e. without loadable drivers. Thus you can not
load the system without a ramdisk from SATA/AHCI and USB drives.

git-svn-id: svn://kolibrios.org@8091 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-10-04 16:53:59 +00:00
bf38c73d0a kernel: don't use ramdisk if asked.
The blue screen is not aware of this option.

git-svn-id: svn://kolibrios.org@8089 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-10-02 13:05:10 +00:00
a2700ea35c Replace some hardcoded /rd/1 paths with /sys.
git-svn-id: svn://kolibrios.org@8088 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-10-02 12:33:16 +00:00
5e4de2dfd1 Initialize APPDATA.{fd,bk}_ev fields for kernel threads.
This prevents crash in event.inc:RemoveEventTo because of
zero pointer dereference.

git-svn-id: svn://kolibrios.org@8087 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-10-02 12:30:11 +00:00
d48c9cc35c Fix random boot issue: 'Failed to start first app'
Access to BOOT.dev variable was sometimes done with obsolete
offset from non-flat-kernel ages. If you are unlucky, the ramdisk
is not loaded and launcher app is not started.

git-svn-id: svn://kolibrios.org@8086 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-10-02 12:26:08 +00:00
73d12d1c99 Edit memmap to increase space for the kernel.
Move TMP_STACK_TOP and sys_proc higher.
Add a static assert to save some time in the future.

git-svn-id: svn://kolibrios.org@8085 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-10-02 12:23:04 +00:00
cdcaf70ae3 kernel: make ramdisk_init return pointer to disk structure.
git-svn-id: svn://kolibrios.org@8064 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-09-18 12:46:25 +00:00
Alex2003
a1ac239480 Help system not yet completed.
Test it!
____для русских
Ещё не доделанная справочная система.
Протестируйте!

git-svn-id: svn://kolibrios.org@8061 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-09-11 16:11:33 +00:00
4fd8527cc9 force rebuild
git-svn-id: svn://kolibrios.org@8055 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-07-31 14:06:41 +00:00
d1e7997956 translate russian comments to english #5, no code changes
git-svn-id: svn://kolibrios.org@8054 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-07-30 22:28:57 +00:00
cdf87e6a72 translate russian comments to english #4, no code changes
git-svn-id: svn://kolibrios.org@8053 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-07-16 19:31:16 +00:00
f8b90e92fa translate russian comments to english #3, no code changes
git-svn-id: svn://kolibrios.org@8052 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-07-16 13:51:29 +00:00
5b284466d4 Translate russian comments to english #2 , no code changes
git-svn-id: svn://kolibrios.org@8051 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-07-14 22:30:33 +00:00
4689014eb5 translate russian comments to english, no code changes
git-svn-id: svn://kolibrios.org@8050 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-07-14 15:53:12 +00:00
8f21814292 Move slab allocator code from bus/usb/memory.inc to core/slab.inc.
git-svn-id: svn://kolibrios.org@8037 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-06-11 13:23:44 +00:00
hidnplayr
f510a3a980 Remove some extra debug
git-svn-id: svn://kolibrios.org@8027 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-06-08 20:02:15 +00:00
hidnplayr
d6b05dd5d5 More TCP advertised window size fixes, small updates regarding closing of TCP sockets.
git-svn-id: svn://kolibrios.org@8026 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-06-08 19:57:03 +00:00
hidnplayr
2152b380e3 Fix TCP window updates
git-svn-id: svn://kolibrios.org@8024 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-06-05 21:05:55 +00:00
Kirill Lipatov (Leency)
0e1c643fed img_transform: add to ISO
sysfuncr.txt: prettify formatting

git-svn-id: svn://kolibrios.org@8018 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-06-03 15:13:04 +00:00
Kirill Lipatov (Leency)
5950bfe4cd kernel: fix sysfunction 9 GetProcInfo. As the window is created with width+1 and height+1 so the client size has to be bigger respectively
eolite: fix regression

git-svn-id: svn://kolibrios.org@8012 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-05-30 11:36:52 +00:00
hidnplayr
c20f1efa82 TCP: Ack every other received full MSS segment, bugfixes.
git-svn-id: svn://kolibrios.org@7974 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-05-23 15:20:41 +00:00
hidnplayr
5a633309ff ай-яй-яй: Fix #7967
git-svn-id: svn://kolibrios.org@7968 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-05-22 15:44:06 +00:00
hidnplayr
d397ad5154 User-land ring buffers.
git-svn-id: svn://kolibrios.org@7967 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-05-22 15:38:59 +00:00
hidnplayr
9ab5b699d5 Improved readability, no semantic changes.
git-svn-id: svn://kolibrios.org@7965 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-05-21 13:55:36 +00:00
hidnplayr
709f961e4c memmap: remove some incorrect information
git-svn-id: svn://kolibrios.org@7964 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-05-21 13:37:33 +00:00
hidnplayr
31963d41b2 sys_protocols: don't destroy esi input reg
git-svn-id: svn://kolibrios.org@7963 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-05-21 13:35:44 +00:00
9f5cc70596 sysfuncs.txt: Cosmetic and typo fixes to sf76.
git-svn-id: svn://kolibrios.org@7915 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-05-11 23:48:44 +00:00
Kirill Lipatov (Leency)
e0f03c3085 charUni.mt: invisible tab and new line characters by Pathoswithin
git-svn-id: svn://kolibrios.org@7895 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-05-08 08:12:08 +00:00
pavelyakov
a8324ce5d2 Does not work stably :(
git-svn-id: svn://kolibrios.org@7830 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-04-27 19:50:59 +00:00
pavelyakov
585f0d6cbf Core: new function sys array
git-svn-id: svn://kolibrios.org@7828 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-04-27 19:00:36 +00:00
7b1eb2c733 kernel: Bring back XFS: v4 and v5 disk formats are supported now.
Read-only. Writing is not planned.

git-svn-id: svn://kolibrios.org@7736 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-03-12 00:27:08 +00:00
de8ecf4c59 kernel: Implement reboot via fixed Reset register in FADT table if available.
The code expects the register is in system_io space.
Other options are not implemented but it works on my computer (c).

git-svn-id: svn://kolibrios.org@7734 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-03-02 21:48:09 +00:00
cbceb320e8 kernel: Support more than one I/O APIC and 24 interrupts.
git-svn-id: svn://kolibrios.org@7733 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-03-02 04:25:30 +00:00
a245ac6e35 uefi4kos: Increase the number of searched PCI buses.
git-svn-id: svn://kolibrios.org@7731 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-03-02 04:25:00 +00:00
Alex2003
f6aa54669b Gone!
git-svn-id: svn://kolibrios.org@7729 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-02-21 09:24:28 +00:00
Alex2003
01449a3ba5 Veryfiled
git-svn-id: svn://kolibrios.org@7728 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-02-21 09:23:37 +00:00
41d12fe88a docs: Fix adjust_cache_size prototype: it takes userdata too.
git-svn-id: svn://kolibrios.org@7727 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-02-21 02:41:21 +00:00
5b6eff0d69 docs: Fix typos in sysfunc?.txt.
git-svn-id: svn://kolibrios.org@7722 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-02-17 02:52:27 +00:00
752a7e6f74 kernel: Move endofcode label after diff16 macro.
This is done so I could redefine diff16 macro to start .bss section
just before uninitialized data.

git-svn-id: svn://kolibrios.org@7721 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-02-17 02:51:48 +00:00
edd9d00caf kernel: Wrap included font files in iglobal macro.
git-svn-id: svn://kolibrios.org@7718 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-02-07 02:13:17 +00:00
Kirill Lipatov (Leency)
18917968a9 move stack.txt from the local language folders into a single /kernel/docs/ folder
git-svn-id: svn://kolibrios.org@7714 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-01-14 20:12:46 +00:00
Alex2003
771b422d56 Success?
git-svn-id: svn://kolibrios.org@7713 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-01-14 11:40:08 +00:00
Alex2003
94ad2ac5a0 this is shit
git-svn-id: svn://kolibrios.org@7712 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-01-14 11:35:00 +00:00
Alex2003
407039baa6 go
git-svn-id: svn://kolibrios.org@7711 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-01-14 11:34:27 +00:00
Alex2003
ecef05bcbd SOURCE
git-svn-id: svn://kolibrios.org@7708 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-01-12 15:41:00 +00:00
Alex2003
70a4a0cc39 KolibriOS Help system
git-svn-id: svn://kolibrios.org@7707 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-01-12 15:39:22 +00:00
kaitz
885116b9fb et translation
git-svn-id: svn://kolibrios.org@7692 a494cfbc-eb01-0410-851d-a64ba20cac60
2019-09-10 18:59:20 +00:00
hidnplayr
e885b31ba8 Fix issue #122
git-svn-id: svn://kolibrios.org@7682 a494cfbc-eb01-0410-851d-a64ba20cac60
2019-09-02 20:45:28 +00:00
hidnplayr
38fd277557 small network code updates, annotations
git-svn-id: svn://kolibrios.org@7680 a494cfbc-eb01-0410-851d-a64ba20cac60
2019-08-25 19:02:34 +00:00
hidnplayr
93a672ba27 network code cleanup
git-svn-id: svn://kolibrios.org@7679 a494cfbc-eb01-0410-851d-a64ba20cac60
2019-08-25 18:46:47 +00:00
hidnplayr
338b57422f network code cleanup, fix some statistics
git-svn-id: svn://kolibrios.org@7678 a494cfbc-eb01-0410-851d-a64ba20cac60
2019-08-25 18:21:44 +00:00
fab3b3a411 Unify fdo.inc and debug-fdo.inc files.
git-svn-id: svn://kolibrios.org@7657 a494cfbc-eb01-0410-851d-a64ba20cac60
2019-05-16 00:49:45 +00:00
Kirill Lipatov (Leency)
4f9a8d23e4 1. loaddrv: show load drv result, show hint on error
2. debug.inc no need to use macros.inc for only one mcall
3. small fix in sysfuncs.txt
4. remove duplicated vendors in pcidev app

git-svn-id: svn://kolibrios.org@7644 a494cfbc-eb01-0410-851d-a64ba20cac60
2019-04-30 11:05:08 +00:00
Kirill Lipatov (Leency)
f44fdee0ab update kernel build.bat
git-svn-id: svn://kolibrios.org@7607 a494cfbc-eb01-0410-851d-a64ba20cac60
2019-03-13 12:03:42 +00:00
f107b999f4 Check for Catalan language, fix 'ca' build.
git-svn-id: svn://kolibrios.org@7603 a494cfbc-eb01-0410-851d-a64ba20cac60
2019-03-12 00:44:14 +00:00
823ab628d0 kernel: set syslang variable according to lang.inc.
git-svn-id: svn://kolibrios.org@7601 a494cfbc-eb01-0410-851d-a64ba20cac60
2019-03-12 00:35:03 +00:00
8973200440 Fix compilation with extended_primary_loader.
git-svn-id: svn://kolibrios.org@7598 a494cfbc-eb01-0410-851d-a64ba20cac60
2019-03-11 21:33:33 +00:00
99e8249f49 Translate events_subsystem.txt into English.
git-svn-id: svn://kolibrios.org@7587 a494cfbc-eb01-0410-851d-a64ba20cac60
2019-02-22 22:40:26 +00:00
74af3ea158 Do not hardcode preboot timeout, use PREBOOT_TIMEOUT macro.
git-svn-id: svn://kolibrios.org@7586 a494cfbc-eb01-0410-851d-a64ba20cac60
2019-02-22 22:40:13 +00:00
c780425437 Relax Protective MBR checks.
git-svn-id: svn://kolibrios.org@7546 a494cfbc-eb01-0410-851d-a64ba20cac60
2018-11-09 21:18:56 +00:00
hidnplayr
5c963ac890 Fix ICMP Echo reply, broken in #5522
git-svn-id: svn://kolibrios.org@7536 a494cfbc-eb01-0410-851d-a64ba20cac60
2018-11-06 20:12:47 +00:00
hidnplayr
a6b5419b5d Fix ARP Reply, broken in #5522
git-svn-id: svn://kolibrios.org@7535 a494cfbc-eb01-0410-851d-a64ba20cac60
2018-11-06 19:50:07 +00:00
cf7de4af9c Fix kernel crash on high screen resolution.
Increase MAX_SCREEN_WIDTH=3840 and MAX_SCREEN_HEIGHT=2160.
Replace hardcoded numbers with macros, add runtime checks.

git-svn-id: svn://kolibrios.org@7522 a494cfbc-eb01-0410-851d-a64ba20cac60
2018-11-02 00:14:46 +00:00
hidnplayr
9748fdf371 Fix check_mouse_area_for_getpixel_new in 16BPP mode.
git-svn-id: svn://kolibrios.org@7510 a494cfbc-eb01-0410-851d-a64ba20cac60
2018-10-30 18:42:48 +00:00
Kirill Lipatov (Leency)
eb3e3934ae rforces: use newer version for autobuild
git-svn-id: svn://kolibrios.org@7477 a494cfbc-eb01-0410-851d-a64ba20cac60
2018-10-18 20:07:48 +00:00
Kirill Lipatov (Leency)
448bc67a4f uPDF: working "open" button, update build script, start migration to kolibri.c from SHELL
git-svn-id: svn://kolibrios.org@7475 a494cfbc-eb01-0410-851d-a64ba20cac60
2018-10-17 19:59:21 +00:00
Kirill Lipatov (Leency)
03386fe9f4 kernel: fix regression r5164 which broke blitter in 24bpp mode
git-svn-id: svn://kolibrios.org@7474 a494cfbc-eb01-0410-851d-a64ba20cac60
2018-10-17 16:43:37 +00:00
pavelyakov
4200a751e8 По решению администрации убрал функцию
git-svn-id: svn://kolibrios.org@7327 a494cfbc-eb01-0410-851d-a64ba20cac60
2018-08-27 13:24:33 +00:00
pavelyakov
598bb537e9 Fixed error code and optimized function
git-svn-id: svn://kolibrios.org@7325 a494cfbc-eb01-0410-851d-a64ba20cac60
2018-08-27 10:26:47 +00:00
pavelyakov
e9a9823069 Fixed error
git-svn-id: svn://kolibrios.org@7323 a494cfbc-eb01-0410-851d-a64ba20cac60
2018-08-25 13:30:36 +00:00
pavelyakov
889dc1746b Fix style
git-svn-id: svn://kolibrios.org@7322 a494cfbc-eb01-0410-851d-a64ba20cac60
2018-08-25 13:27:47 +00:00
pavelyakov
3c1445e6c6 Added KERNEL process
git-svn-id: svn://kolibrios.org@7321 a494cfbc-eb01-0410-851d-a64ba20cac60
2018-08-25 13:22:48 +00:00
pavelyakov
343e87c60f Added function checksum security
git-svn-id: svn://kolibrios.org@7320 a494cfbc-eb01-0410-851d-a64ba20cac60
2018-08-25 10:09:02 +00:00
pavelyakov
bdc68077f4 Added Implementation of the function in the system - EAX = 81
git-svn-id: svn://kolibrios.org@7319 a494cfbc-eb01-0410-851d-a64ba20cac60
2018-08-24 23:55:36 +00:00
d00e5c3855 Update kernel's proc32.inc from fasm source
* Resulting kernel.bin did not change.
* This file had KolibriOS copyright header which I did not preserve
  because we use it unchanged as shipped with fasm.

git-svn-id: svn://kolibrios.org@7294 a494cfbc-eb01-0410-851d-a64ba20cac60
2018-06-15 00:31:47 +00:00
db8eddbd53 Enable xsave/xrstor, attempt 2.
git-svn-id: svn://kolibrios.org@7276 a494cfbc-eb01-0410-851d-a64ba20cac60
2018-05-13 00:16:10 +00:00
02da1fd4f3 Fix for GPT partitions scan.
GPT partition entry array (GPEA) has 128 entries by default, unused ones
must be zeroed. Due to memory corruption GPEA contained non-zero data of
first sectors of partitions. This led to fake partitions detected which
were mostly filtered out by their start:length and thus didn't show up.
Pass ebx=three-sector-sized buffer to disk_add_partition as expected.

git-svn-id: svn://kolibrios.org@7270 a494cfbc-eb01-0410-851d-a64ba20cac60
2018-05-05 13:50:04 +00:00
theonlymirage
ffac6ebf7a Сlear direction flag for Phoenix BIOS (for correct printing of messages in real mode).
git-svn-id: svn://kolibrios.org@7215 a494cfbc-eb01-0410-851d-a64ba20cac60
2018-04-02 06:33:43 +00:00
53a4fd1aef Disable xsave code until proper fix.
git-svn-id: svn://kolibrios.org@7199 a494cfbc-eb01-0410-851d-a64ba20cac60
2018-03-21 00:02:11 +00:00