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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
a7cb2f3691
Set CR0.AM bit
...
Allow applications to get Alignment Check exception
git-svn-id: svn://kolibrios.org@6817 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-12-26 23:29:27 +00:00
pathoswithin
755c9fe4d1
proper unicode support
...
git-svn-id: svn://kolibrios.org@6798 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-12-15 17:38:17 +00:00
pathoswithin
8ac6d6b04c
fix corruption of process termination output
...
git-svn-id: svn://kolibrios.org@6793 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-12-09 13:26:43 +00:00
pathoswithin
f9f1eb0d75
preparation
...
git-svn-id: svn://kolibrios.org@6792 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-12-09 09:48:32 +00:00
pathoswithin
8eb00f284b
alternate ways of setting the string encoding for absolute paths
...
git-svn-id: svn://kolibrios.org@6758 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-11-25 15:11:25 +00:00
CleverMouse
eb8c20f6c5
don't set_mtrr if only fixed MTRRs exist; fixes triple fault in VirtualBox on some CPUs
...
git-svn-id: svn://kolibrios.org@6721 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-11-16 18:24:32 +00:00
CleverMouse
1a0ba3eb53
revert r6629: failed mtrr configuration can lead to terrible performance, it must be as visible as possible
...
git-svn-id: svn://kolibrios.org@6663 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-11-03 14:07:13 +00:00
Kirill Lipatov (Leency)
842bc246a4
kernel: mtrr fail message is shown as debug now
...
git-svn-id: svn://kolibrios.org@6629 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-10-28 09:30:57 +00:00
Sergey Semyonov (Serge)
18d0ffcc1c
kernel: use undefined_syscall for undefined fn's in f68 family
...
git-svn-id: svn://kolibrios.org@6599 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-10-16 20:32:10 +00:00
Sergey Semyonov (Serge)
d0092175df
kernel: export acpi root table pointer
...
git-svn-id: svn://kolibrios.org@6590 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-10-13 18:03:56 +00:00