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
CleverMouse
4286d7bac3
revert FpuSave/FpuRestore to old implementations because existing drivers don't know about AVX, provide alternate exports AvxSaveSize/AvxSave/AvxRestore
...
git-svn-id: svn://kolibrios.org@7168 a494cfbc-eb01-0410-851d-a64ba20cac60
2018-02-27 16:27:26 +00:00
CleverMouse
43e84d7672
fix FPU after r7124 for other CPU configurations
...
git-svn-id: svn://kolibrios.org@7165 a494cfbc-eb01-0410-851d-a64ba20cac60
2018-02-19 16:35:45 +00:00
CleverMouse
a49931c083
fix FPU after r7124
...
git-svn-id: svn://kolibrios.org@7164 a494cfbc-eb01-0410-851d-a64ba20cac60
2018-02-19 14:53:31 +00:00
CleverMouse
d74401a2fc
use correct language for boot screen, broken in r7129
...
git-svn-id: svn://kolibrios.org@7140 a494cfbc-eb01-0410-851d-a64ba20cac60
2018-01-26 18:18:03 +00:00
0e02132b9f
Replace 'equ' macros with '=' ones.
...
They appear in symbols file.
They don't require parentheses.
They are shorter.
git-svn-id: svn://kolibrios.org@7136 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-12-20 01:07:10 +00:00
70ef44fcc1
Add tests to autobuild: mtrrtest and test_malloc.
...
git-svn-id: svn://kolibrios.org@7133 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-12-17 02:30:54 +00:00
368d42ffae
Update BOOT_DATA structure and use it instead of all the BOOT_* vars.
...
git-svn-id: svn://kolibrios.org@7132 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-12-17 02:12:53 +00:00
c14a80d34f
Add UEFI stuff.
...
git-svn-id: svn://kolibrios.org@7130 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-12-16 21:10:49 +00:00
f208e0e454
Split bootbios.asm and kernel.asm.
...
* Move bios-related part of kernel.asm before B32 label to
bootbios.asm file;
* Move bx_from_load, boot_dev and kernel_restart_bootblock variables
to BOOT_* 0x9000 block;
* Update Tupfile.lua, Makefile, build.bat, build.sh accordingly;
* Now bios and uefi loaders can jump to very first byte of the kernel.
git-svn-id: svn://kolibrios.org@7129 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-12-16 20:21:10 +00:00
6494817540
Add EFLAGS_* macros, get rid of some more magic numbers.
...
git-svn-id: svn://kolibrios.org@7126 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-12-05 06:39:34 +00:00
9e6b9b61f7
Use xsave/xrestor if available, enable AVX* instructions.
...
git-svn-id: svn://kolibrios.org@7124 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-12-05 05:24:21 +00:00
09684c0db9
Synchronize memmap.inc and const.inc, replace hardcoded numbers with macros.
...
git-svn-id: svn://kolibrios.org@7122 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-11-29 22:03:58 +00:00
16d9a4a4bc
Remove VRR code, mostly commented out anyway.
...
git-svn-id: svn://kolibrios.org@7121 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-11-29 00:15:25 +00:00
afdc8496fb
Add empty $Revision$ macro.
...
svn keywords are neither substituted by git-svn nor catched by
existing "$Revision a" macro, ignore them to not fail the build.
git-svn-id: svn://kolibrios.org@7114 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-11-20 09:58:28 +00:00
0CodErr
5721df73ee
fix for draw not ASCIIZ
...
git-svn-id: svn://kolibrios.org@7103 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-10-20 16:03:18 +00:00
hidnplayr
144ea3d326
Use tcp_output instead of tcp_respond to send delayed acks, we need it for correct window advertisement amongst other things...
...
git-svn-id: svn://kolibrios.org@7099 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-10-17 19:59:47 +00:00
ashmew2
a396aff3da
Fix TCP window size in tcp_respond
...
git-svn-id: svn://kolibrios.org@7098 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-10-17 19:43:14 +00:00
pathoswithin
cb0c6cee9a
sysfunction 70.10 new name validation
...
git-svn-id: svn://kolibrios.org@7040 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-10-03 10:27:20 +00:00
pathoswithin
a83abc4c5f
fat: support for non-ASCII chars in short names
...
git-svn-id: svn://kolibrios.org@7003 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-09-22 21:51:37 +00:00
0CodErr
ea4f9aa063
remove unnecessary check
...
git-svn-id: svn://kolibrios.org@6974 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-09-13 10:53:39 +00:00
Sergey Semyonov (Serge)
2cbf514c37
kernel: get_clock_ns() funny 96-bit arithmetic
...
git-svn-id: svn://kolibrios.org@6942 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-08-11 16:17:30 +00:00
Sergey Semyonov (Serge)
d8ccef567e
kernel: get_clock_ns() correction
...
git-svn-id: svn://kolibrios.org@6941 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-08-11 14:55:17 +00:00
pathoswithin
aa52644442
small fix
...
git-svn-id: svn://kolibrios.org@6939 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-07-29 05:24:20 +00:00
pathoswithin
ed0c1f6d3a
ext fs: sysfunction 70.10 support
...
git-svn-id: svn://kolibrios.org@6933 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-07-09 08:28:00 +00:00
Sergey Semyonov (Serge)
8b1036ed49
kernel: pipes - improved synchronization
...
git-svn-id: svn://kolibrios.org@6929 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-06-16 22:47:00 +00:00
Sergey Semyonov (Serge)
65af271ccd
kernel: pipe io bugfixes
...
git-svn-id: svn://kolibrios.org@6928 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-06-16 11:19:43 +00:00
Sergey Semyonov (Serge)
7ee30af446
kernel: read/write operations on pipe
...
git-svn-id: svn://kolibrios.org@6927 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-06-16 07:53:37 +00:00
Sergey Semyonov (Serge)
af61cc97e8
kernel: initial pipe() support
...
git-svn-id: svn://kolibrios.org@6926 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-06-15 22:36:39 +00:00
pathoswithin
fc631064ea
New sysfunction 70.10 "rename/move"
...
git-svn-id: svn://kolibrios.org@6917 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-06-08 10:03:01 +00:00
hidnplayr
44f6fd248e
TCP: Use bitflag instead of dword for t_force.
...
git-svn-id: svn://kolibrios.org@6916 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-05-31 17:54:16 +00:00
hidnplayr
f8148f187a
TCP: dont accept out of order FINs.
...
git-svn-id: svn://kolibrios.org@6915 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-05-30 21:21:21 +00:00
hidnplayr
5b5249a5d6
TCP: Don't increase sequence number when resending a FIN.
...
git-svn-id: svn://kolibrios.org@6914 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-05-30 20:33:16 +00:00
ashmew2
c23792822f
TCP Fast ACK: Fix advertised window size
...
git-svn-id: svn://kolibrios.org@6913 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-05-30 16:41:35 +00:00
hidnplayr
e9dc6c5ab5
TCP: improved routing, connect.
...
git-svn-id: svn://kolibrios.org@6912 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-05-28 20:57:46 +00:00
hidnplayr
e15ba926dd
UDP: Improved routing.
...
git-svn-id: svn://kolibrios.org@6911 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-05-28 20:55:31 +00:00
hidnplayr
3c9e868864
TCP_process_input: remember device number.
...
git-svn-id: svn://kolibrios.org@6910 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-05-28 20:50:33 +00:00
hidnplayr
f4e464bc8a
Bugfix for TCP advertised window calculation.
...
git-svn-id: svn://kolibrios.org@6909 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-05-28 16:52:24 +00:00
ashmew2
caf7d0c041
Add a build script for Linux
...
git-svn-id: svn://kolibrios.org@6908 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-05-26 18:56:19 +00:00
ashmew2
03c47f08be
Build script for linux
...
git-svn-id: svn://kolibrios.org@6907 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-05-26 18:43:39 +00:00
pathoswithin
f4669d53a9
fix for 70.1
...
git-svn-id: svn://kolibrios.org@6901 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-05-19 09:02:21 +00:00
pathoswithin
5d55e63e36
small fix
...
git-svn-id: svn://kolibrios.org@6900 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-05-18 09:15:03 +00:00
pathoswithin
545bc303eb
sysfunction 4: string length tracking
...
git-svn-id: svn://kolibrios.org@6899 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-05-17 08:01:34 +00:00
pathoswithin
a4a06a81a0
no need for manual heap initialization (68.11)
...
git-svn-id: svn://kolibrios.org@6893 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-05-13 06:41:42 +00:00
IgorA
dc5527c5ca
update docs sys function 54.1
...
git-svn-id: svn://kolibrios.org@6891 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-04-29 09:12:39 +00:00
pathoswithin
ff31272774
documentation fix
...
git-svn-id: svn://kolibrios.org@6880 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-03-28 14:30:08 +00:00
Artem Jerdev (art_zh)
ce35591444
hardware cursor init code updated for Kavery GPU
...
git-svn-id: svn://kolibrios.org@6877 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-03-07 20:11:13 +00:00
pathoswithin
45aee00e6b
sysfunction 70.5: small change
...
git-svn-id: svn://kolibrios.org@6876 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-03-07 16:28:02 +00:00