replace nob with ms' build, move disk creation to build.bat, major comment cleanup, remove old and stupid tests, overhaul interrupt management with per-CPU vector allocation, affinity migration and safe teardown, add proper IOAPIC routing and PCI MSI/MSI-X/INTx support, migrate drivers to the new interrupt API, integrate ACPICA with a proper OS services layer, move ACPI firmware events, power button handling and S5 shutdown into acpi.sys, add parallel driver startup and atomic publication, replace PnP arrays with dynamic lists, redesign service startup again to be asynchronous, add delayed startup mode for services, allow omitting keys in services.ini, fix acpi ec deferred work handling, fix kernel threads having garbage exit code.
This commit is contained in:
1 parent
d36f19509c
commit
36eef8f58d
696 files changed
+147281
-7530
No files matched your search
@@ -58,7 +58,6 @@ static void append_u8(char* dst, size_t cap, size_t* off, uint8_t v) {
|
||||
}
|
||||
}
|
||||
|
||||
// Implements the format ipv4 operation.
|
||||
static void format_ipv4(char* dst, size_t cap, const uint8_t ip[4]) {
|
||||
size_t off = 0;
|
||||
if (!dst || cap == 0) return;
|
||||
@@ -81,7 +80,6 @@ static void append_hex16(char* dst, size_t cap, size_t* off, uint16_t value) {
|
||||
}
|
||||
}
|
||||
|
||||
// Implements the format ipv6 operation.
|
||||
static void format_ipv6(char* dst, size_t cap, const uint8_t ip[16]) {
|
||||
size_t off = 0;
|
||||
if (!dst || cap == 0) return;
|
||||
@@ -93,7 +91,6 @@ static void format_ipv6(char* dst, size_t cap, const uint8_t ip[16]) {
|
||||
}
|
||||
}
|
||||
|
||||
// Implements the format socket address operation.
|
||||
static void format_socket_address(char* dst, size_t cap, const SYS_SOCKET_ADDRESS* address) {
|
||||
if (!address || address->Family == SYS_AF_INET)
|
||||
format_ipv4(dst, cap, address ? address->Address : (const uint8_t*)"\0\0\0\0");
|
||||
@@ -131,7 +128,6 @@ static bool parse_ipv4(const char* s, uint8_t ip[4]) {
|
||||
return *s == 0;
|
||||
}
|
||||
|
||||
// Implements the next token operation.
|
||||
static const char* next_token(const char* s, char* out, size_t outSize) {
|
||||
if (!s || !out || outSize == 0) return NULL;
|
||||
while (*s == ' ' || *s == '\t') s++;
|
||||
@@ -146,13 +142,11 @@ static const char* next_token(const char* s, char* out, size_t outSize) {
|
||||
return s;
|
||||
}
|
||||
|
||||
// Implements the usage operation.
|
||||
static void usage(void) {
|
||||
print("usage: httpget.exe [host-or-ipv4] [path]\n");
|
||||
print("default: httpget.exe 10.0.2.2 /\n");
|
||||
}
|
||||
|
||||
// Implements the resolve host operation.
|
||||
static KSTATUS resolve_host(const char* host, SYS_SOCKET_ADDRESS* address) {
|
||||
uint8_t ip[4];
|
||||
if (parse_ipv4(host, ip)) {
|
||||
|
||||
Reference in new issue
Block a user