mirror of https://gitlab.com/nakst/essence
general: bugfixes (part 2)
This commit is contained in:
parent
4276411dba
commit
9c4d6f61f8
|
@ -6,7 +6,6 @@
|
||||||
// TODO Kernel debugger.
|
// TODO Kernel debugger.
|
||||||
// TODO Passing data to userspace - zeroing padding bits of structures.
|
// TODO Passing data to userspace - zeroing padding bits of structures.
|
||||||
// TODO Restoring all registers after system call.
|
// TODO Restoring all registers after system call.
|
||||||
// TODO Remove file extensions?
|
|
||||||
// TODO Thread-local variables for native applications (already working under the POSIX subsystem).
|
// TODO Thread-local variables for native applications (already working under the POSIX subsystem).
|
||||||
|
|
||||||
#include "kernel.h"
|
#include "kernel.h"
|
||||||
|
|
|
@ -1240,7 +1240,7 @@ bool Format(uint64_t driveSize, const char *volumeName, EsUniqueIdentifier osIns
|
||||||
|
|
||||||
if (MountVolume()) {
|
if (MountVolume()) {
|
||||||
DirectoryEntryReference reference = superblock.kernel;
|
DirectoryEntryReference reference = superblock.kernel;
|
||||||
DirectoryEntry entry;
|
DirectoryEntry entry = {};
|
||||||
EsUniqueIdentifier unused = {};
|
EsUniqueIdentifier unused = {};
|
||||||
|
|
||||||
EsUniqueIdentifier elf = (EsUniqueIdentifier) {{ 0xAB, 0xDE, 0x98, 0xB5, 0x56, 0x2C, 0x04, 0xDF, 0x1E, 0x43, 0xC8, 0x10, 0x24, 0x63, 0xDB, 0xB8 }};
|
EsUniqueIdentifier elf = (EsUniqueIdentifier) {{ 0xAB, 0xDE, 0x98, 0xB5, 0x56, 0x2C, 0x04, 0xDF, 0x1E, 0x43, 0xC8, 0x10, 0x24, 0x63, 0xDB, 0xB8 }};
|
||||||
|
|
|
@ -191,7 +191,7 @@ void DoCommand(str command) {
|
||||||
|
|
||||||
void Start() {
|
void Start() {
|
||||||
Setup(false);
|
Setup(false);
|
||||||
PathDelete("bin/dependencies.ini");
|
PathDelete("bin/dependency_files/dependencies.ini");
|
||||||
|
|
||||||
if (options == "") {
|
if (options == "") {
|
||||||
Log("%TextColorHighlight()%Essence Build%TextPlain()%\nPress Ctrl-C to exit.");
|
Log("%TextColorHighlight()%Essence Build%TextPlain()%\nPress Ctrl-C to exit.");
|
||||||
|
|
Loading…
Reference in New Issue