Commit Graph

1758 Commits

Author SHA1 Message Date
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
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
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
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