4lDO2
7a2b3d7656
Update dependencies.
2021-06-17 18:18:27 +02:00
4lDO2
8f7d759508
Update dependencies.
2021-06-17 18:15:31 +02:00
4lDO2
0ed497fe23
Update syscall.
2021-06-17 14:39:09 +02:00
4lDO2
4080e5dd09
Update syscall.
2021-06-17 14:37:32 +02:00
4lDO2
73e48331bf
Update syscall.
2021-06-17 14:36:19 +02:00
4lDO2
6e5c133b17
Update syscall.
2021-06-17 14:34:55 +02:00
4lDO2
db3ae355bc
Update syscall.
2021-06-17 14:34:23 +02:00
4lDO2
e19c81559b
Update syscall.
2021-06-17 14:33:18 +02:00
4lDO2
280bbcec2a
Update dependencies.
2021-06-17 14:28:38 +02:00
4lDO2
7a9536c380
Update syscall.
2021-06-17 14:25:46 +02:00
Jeremy Soller
5a279d4081
Use redox-log in ahcid
2021-06-01 21:37:52 -06:00
Jeremy Soller
abb4760379
Merge branch 'acpid' into 'master'
...
Add a userspace ACPI driver.
See merge request redox-os/drivers!75
2021-05-06 18:30:39 +00:00
Jeremy Soller
21c62fd61f
Allow character devices to be used as run input
2021-05-05 21:14:49 -06:00
Jeremy Soller
7e735ba11e
Update dependencies
2021-04-28 20:57:08 -06:00
Jeremy Soller
4e42e03be9
Update dependencies
2021-04-28 20:55:40 -06:00
Jeremy Soller
8f833bf545
Update dependencies
2021-04-28 20:48:07 -06:00
Jeremy Soller
15dc86a1d7
Update dependencies
2021-04-28 20:45:53 -06:00
Jeremy Soller
bee08cbdf1
Update dependencies
2021-04-28 20:42:59 -06:00
4lDO2
fd83cd3ac7
Add license.
2021-04-01 19:11:37 +02:00
4lDO2
7206288e72
Handle O_TRUNC properly.
...
This ensures that files that were replaced due to O_CREAT, will now be
emptied when O_TRUNC is passed (which is the default).
2021-04-01 19:08:44 +02:00
4lDO2
eaf78bb51b
Run rustfmt.
...
In the future we should add CI with a rustfmt check, making correct
formatting a hard requirement.
2021-04-01 09:46:17 +02:00
4lDO2
7f3938c774
Merge branch 'fix-duplicate-files' into 'master'
...
ramfs: Fix duplicated files bug
See merge request redox-os/ramfs!3
2021-04-01 07:38:36 +00:00
Joshua Abraham
70e52d4ec9
ramfs: Fix duplicated files bug
...
Previously ramfs allowed identical filenames to be created if the
O_CREAT flag was used. This patch fixes the behavior and instead
opens the existing file as long as O_EXCL is not specified.
2021-03-31 19:16:32 -05:00
Jeremy Soller
a4fdf5ea30
Revert "Merge branch 'ramfs-nofile' into 'master'"
...
This reverts merge request !1
2021-03-30 12:41:40 +00:00
4lDO2
93e26f8c37
Merge branch 'missing_ENOENT' into 'master'
...
Fix missing 'use ENOENT'
See merge request redox-os/ramfs!2
2021-03-30 12:11:48 +00:00
James Graves
737a41854d
Fix missing 'use ENOENT'
2021-03-30 09:16:06 +00:00
Jeremy Soller
0cfe98150e
Merge branch 'ramfs-nofile' into 'master'
...
ramfs: SchemeMut: return ENOENT in filesystem calls when file does not exist
See merge request redox-os/ramfs!1
2021-03-30 01:57:27 +00:00
Joshua Abraham
4523d80c24
ramfs: SchemeMut: return ENOENT in filesystem calls when file does not exist
2021-03-29 20:38:52 -05:00
4lDO2
641feb01b1
Print parsed tables only with debug verbosity.
2021-03-13 12:40:26 +01:00
4lDO2
c6efa649be
Add DMAR parsing.
...
In the future, this will probably be moved into its own driver, probably
called `intelvtdd` or `intelvfiod`. This is because `acpid` already
provides an interface to read from ACPI tables, which `pcid` has used
for quite long (when that scheme was provided by the kernel). AMD
implements IOMMU as a PCI function, so letting these be separate drivers
would certainly be beneficial.
The same thing might apply for HPET or MADT, which are the only ACPI
tables still parsed in the kernel.
2021-03-13 12:34:56 +01:00
4lDO2
391f7c4184
WIP: Improve acpid logging.
2021-03-12 23:45:16 +01:00
4lDO2
3989477669
Also open a file descriptor in debug:.
...
This is to allow the shutdown logs to reach serial output before the
system shuts down, which is especially useful on QEMU.
2021-03-11 17:50:17 +01:00
4lDO2
5fc0f0fa4e
Successfully parse the namespace.
2021-03-11 12:48:34 +01:00
4lDO2
0feb8685a6
Fix the acpi scheme freeze.
2021-03-11 08:31:43 +01:00
4lDO2
20e6384cca
WIP: Implement the userspace ACPI scheme.
2021-03-10 20:50:16 +01:00
4lDO2
7de9816c50
Basic ACPI init code, daemonize.
2021-03-10 18:06:30 +01:00
4lDO2
5d661eab59
Successfully load physical SDTs, and handle kstop*
...
Well, while it does now wait for the kstop pipe, that is not to say that
it actually performs the ACPI shutdown... yet.
2021-03-10 14:38:43 +01:00
4lDO2
df4a6aee81
Remove global variables, make it compile.
2021-03-10 12:13:28 +01:00
4lDO2
be984885bb
WIP: Move ACPI code from kernel to drivers.
2021-03-10 11:24:27 +01:00
4lDO2
00b7674321
Use correct syscall when dropping PCIe context.
2021-03-08 14:37:38 +01:00
4lDO2
ae65c19bad
Put the output file handle behind a guard.
...
This prevents the image from leaking, in case there is an error, as it
removes the file when the guard is dropped, before the "ok" status is
set.
2021-02-20 15:04:40 +01:00
4lDO2
ef6c880595
Add license.
2021-02-20 14:35:45 +01:00
4lDO2
5e9e2e9ca8
Rename utils into redox-initfs-ar.
2021-02-20 14:33:37 +01:00
4lDO2
3b85a1d887
Finish kernel-facing API.
2021-02-20 14:17:40 +01:00
4lDO2
672a92bb51
Create a skeleton for the initfs API for kernel.
2021-02-20 13:59:51 +01:00
4lDO2
1cdb1c7f19
Increse default limit to 64 MiB.
2021-02-20 12:09:56 +01:00
4lDO2
8b5474189d
WIP: (probably) complete basic initfs-ar util.
2021-02-20 11:51:33 +01:00
4lDO2
2eefa1a16f
Initial Commit
2021-02-19 23:29:04 +01:00
Jeremy Soller
18c14b1d8f
Update redox_syscall and redox_termios
2021-01-19 11:34:05 -07:00
Jeremy Soller
16e4064624
Update redox_syscall
2021-01-19 11:24:59 -07:00