mirror of https://gitlab.com/nakst/essence
rename bin/Generated Code to bin/generated_code
This commit is contained in:
parent
e89c0e84d7
commit
0f1afeb252
|
@ -41,7 +41,7 @@
|
||||||
#include <shared/common.cpp>
|
#include <shared/common.cpp>
|
||||||
|
|
||||||
struct EnumString { const char *cName; int value; };
|
struct EnumString { const char *cName; int value; };
|
||||||
#include <bin/Generated Code/enum_strings_array.h>
|
#include <bin/generated_code/enum_strings_array.h>
|
||||||
|
|
||||||
#define DESKTOP_MSG_SET_TITLE (1)
|
#define DESKTOP_MSG_SET_TITLE (1)
|
||||||
#define DESKTOP_MSG_SET_ICON (2)
|
#define DESKTOP_MSG_SET_ICON (2)
|
||||||
|
@ -264,7 +264,7 @@ struct APIInstance {
|
||||||
|
|
||||||
#ifndef NO_API_TABLE
|
#ifndef NO_API_TABLE
|
||||||
const void *const apiTable[] = {
|
const void *const apiTable[] = {
|
||||||
#include <bin/Generated Code/api_array.h>
|
#include <bin/generated_code/api_array.h>
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -533,7 +533,7 @@ void KDeviceCloseHandle(KDevice *device); // The device creator is responsible f
|
||||||
void KDeviceRemoved(KDevice *device); // Call when a child device is removed. Must be called only once!
|
void KDeviceRemoved(KDevice *device); // Call when a child device is removed. Must be called only once!
|
||||||
void KDeviceSendConnectedMessage(KDevice *device, EsDeviceType type); // Send a message to Desktop to inform it the device was connected.
|
void KDeviceSendConnectedMessage(KDevice *device, EsDeviceType type); // Send a message to Desktop to inform it the device was connected.
|
||||||
|
|
||||||
#include <bin/Generated Code/kernel_config.h>
|
#include <bin/generated_code/kernel_config.h>
|
||||||
|
|
||||||
struct KClockDevice : KDevice {
|
struct KClockDevice : KDevice {
|
||||||
EsError (*read)(KClockDevice *device, EsDateComponents *components, uint64_t *linearMs);
|
EsError (*read)(KClockDevice *device, EsDateComponents *components, uint64_t *linearMs);
|
||||||
|
|
|
@ -15,7 +15,7 @@ struct ExportedKernelFunction {
|
||||||
};
|
};
|
||||||
|
|
||||||
const ExportedKernelFunction exportedKernelFunctions[] = {
|
const ExportedKernelFunction exportedKernelFunctions[] = {
|
||||||
#include <bin/Generated Code/kernel_symbols.h>
|
#include <bin/generated_code/kernel_symbols.h>
|
||||||
};
|
};
|
||||||
|
|
||||||
static uintptr_t linkOffset;
|
static uintptr_t linkOffset;
|
||||||
|
|
|
@ -1725,7 +1725,7 @@ SYSCALL_IMPLEMENT(ES_SYSCALL_DEBUG_COMMAND) {
|
||||||
}
|
}
|
||||||
|
|
||||||
const SyscallFunction syscallFunctions[ES_SYSCALL_COUNT + 1] {
|
const SyscallFunction syscallFunctions[ES_SYSCALL_COUNT + 1] {
|
||||||
#include <bin/Generated Code/syscall_array.h>
|
#include <bin/generated_code/syscall_array.h>
|
||||||
};
|
};
|
||||||
|
|
||||||
#pragma GCC diagnostic pop
|
#pragma GCC diagnostic pop
|
||||||
|
|
2
start.sh
2
start.sh
|
@ -4,7 +4,7 @@
|
||||||
cd "$(dirname "$0")"
|
cd "$(dirname "$0")"
|
||||||
|
|
||||||
# Create the bin directories.
|
# Create the bin directories.
|
||||||
mkdir -p bin bin/Dependency\ Files bin/Logs bin/Generated\ Code bin/cache
|
mkdir -p bin bin/Dependency\ Files bin/Logs bin/generated_code bin/cache
|
||||||
|
|
||||||
# Check that we are running on a sensible platform.
|
# Check that we are running on a sensible platform.
|
||||||
uname -o | grep Cygwin > /dev/null
|
uname -o | grep Cygwin > /dev/null
|
||||||
|
|
|
@ -950,7 +950,7 @@ void ParseKernelConfiguration() {
|
||||||
size_t kernelConfigBytes;
|
size_t kernelConfigBytes;
|
||||||
char *kernelConfig = (char *) LoadFile("kernel/config.ini", &kernelConfigBytes);
|
char *kernelConfig = (char *) LoadFile("kernel/config.ini", &kernelConfigBytes);
|
||||||
|
|
||||||
File f = FileOpen("bin/Generated Code/kernel_config.h", 'w');
|
File f = FileOpen("bin/generated_code/kernel_config.h", 'w');
|
||||||
|
|
||||||
EsINIState s = {};
|
EsINIState s = {};
|
||||||
s.buffer = (char *) kernelConfig;
|
s.buffer = (char *) kernelConfig;
|
||||||
|
@ -1057,7 +1057,7 @@ void LinkKernel() {
|
||||||
if (_Execute(&output, toolchainNM, "bin/Object Files/kernel_all.o", NULL, NULL)) {
|
if (_Execute(&output, toolchainNM, "bin/Object Files/kernel_all.o", NULL, NULL)) {
|
||||||
return;
|
return;
|
||||||
} else {
|
} else {
|
||||||
File f = FileOpen("bin/Generated Code/kernel_symbols.h", 'w');
|
File f = FileOpen("bin/generated_code/kernel_symbols.h", 'w');
|
||||||
uintptr_t lineStart = 0, position = 0;
|
uintptr_t lineStart = 0, position = 0;
|
||||||
|
|
||||||
while (position < arrlenu(output)) {
|
while (position < arrlenu(output)) {
|
||||||
|
@ -1509,7 +1509,7 @@ int main(int argc, char **argv) {
|
||||||
MakeDirectory("bin/Dependency Files");
|
MakeDirectory("bin/Dependency Files");
|
||||||
MakeDirectory("bin/Object Files");
|
MakeDirectory("bin/Object Files");
|
||||||
MakeDirectory("bin/Stripped Executables");
|
MakeDirectory("bin/Stripped Executables");
|
||||||
MakeDirectory("bin/Generated Code");
|
MakeDirectory("bin/generated_code");
|
||||||
|
|
||||||
if (systemBuild) {
|
if (systemBuild) {
|
||||||
MakeDirectory("root");
|
MakeDirectory("root");
|
||||||
|
|
|
@ -5,9 +5,9 @@ char *buffer;
|
||||||
int position;
|
int position;
|
||||||
|
|
||||||
#define DEST_OS "root/Applications/POSIX/include/essence.h"
|
#define DEST_OS "root/Applications/POSIX/include/essence.h"
|
||||||
#define DEST_API_ARRAY "bin/Generated Code/api_array.h"
|
#define DEST_API_ARRAY "bin/generated_code/api_array.h"
|
||||||
#define DEST_SYSCALL_ARRAY "bin/Generated Code/syscall_array.h"
|
#define DEST_SYSCALL_ARRAY "bin/generated_code/syscall_array.h"
|
||||||
#define DEST_ENUM_STRINGS_ARRAY "bin/Generated Code/enum_strings_array.h"
|
#define DEST_ENUM_STRINGS_ARRAY "bin/generated_code/enum_strings_array.h"
|
||||||
#define DEST_DEPENDENCIES "bin/Dependency Files/api_header.d"
|
#define DEST_DEPENDENCIES "bin/Dependency Files/api_header.d"
|
||||||
|
|
||||||
typedef struct Token {
|
typedef struct Token {
|
||||||
|
|
Loading…
Reference in New Issue