Make improvements
- Emulator can now test the αcτµαlly pδrταblε εxεcµταblε bootloader - Whipped up a webserver named redbean. It services 150k requests per second on a single core. Bundling assets inside zip enables extremely fast serving for two reasons. The first is that zip central directory lookups go faster than stat() system calls. The second is that both zip and gzip content-encoding use DEFLATE, therefore, compressed responses can be served via the sendfile() system call which does an in-kernel copy directly from the zip executable structure. Also note that red bean zip executables can be deployed easily to all platforms, since these native executables work on Linux, Mac, BSD, and Windows. - Address sanitizer now works very well
This commit is contained in:
@@ -4,16 +4,22 @@
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
void Push64(struct Machine *, uint64_t);
|
||||
uint64_t Pop64(struct Machine *, uint16_t);
|
||||
void Push16(struct Machine *, uint16_t);
|
||||
uint16_t Pop16(struct Machine *, uint16_t);
|
||||
void OpCallJvds(struct Machine *);
|
||||
void OpRet(struct Machine *, uint16_t);
|
||||
void OpLeave(struct Machine *);
|
||||
void PushOsz(struct Machine *, uint32_t, uint64_t);
|
||||
void Push(struct Machine *, uint32_t, uint64_t);
|
||||
uint64_t Pop(struct Machine *, uint32_t, uint16_t);
|
||||
void OpCallJvds(struct Machine *, uint32_t);
|
||||
void OpRet(struct Machine *, uint32_t, uint16_t);
|
||||
void OpLeave(struct Machine *, uint32_t);
|
||||
void OpCallEq(struct Machine *, uint32_t);
|
||||
void OpBofram(struct Machine *);
|
||||
void OpBofram(struct Machine *, uint32_t);
|
||||
void OpPopEvq(struct Machine *, uint32_t);
|
||||
void OpPopZvq(struct Machine *, uint32_t);
|
||||
void OpPushZvq(struct Machine *, uint32_t);
|
||||
void OpPushEvq(struct Machine *, uint32_t);
|
||||
void PopVq(struct Machine *, uint32_t);
|
||||
void PushVq(struct Machine *, uint32_t);
|
||||
void OpJmpEq(struct Machine *, uint32_t);
|
||||
void OpPusha(struct Machine *, uint32_t);
|
||||
void OpPopa(struct Machine *, uint32_t);
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
|
||||
Reference in New Issue
Block a user