Commit graph

  • e0fabd1d49
    [WIP] Get bare metal working outside of an emulator (#609) tkchia 2022-09-13 17:01:49 +08:00
  • 9cf2bdc9a8
    Rebuild compile.com Justine Tunney 2022-09-13 01:50:20 -07:00
  • ed5b763a0c
    Refine V=0 command logging (#602) Connor 2022-09-13 01:48:28 -07:00
  • 22b63d0b98
    Add *NSYNC to libc/isystem Justine Tunney 2022-09-13 01:46:29 -07:00
  • 6f7d0cb1c3
    Pay off more technical debt Justine Tunney 2022-09-12 23:10:38 -07:00
  • dcdf20db5d Minor fix to pseudoeletypewriter code tkchia 2022-09-12 20:17:51 +00:00
  • 8620a52109 Bare metal VGA: implement "status report" escape codes tkchia 2022-09-12 20:01:09 +00:00
  • b69f3d2488
    Optimize memory layout Justine Tunney 2022-09-12 04:19:32 -07:00
  • 0305194d98
    Left-align stub arguments to dd (fixes #374) (#598) Connor 2022-09-12 04:26:38 -07:00
  • 7b053a8647 Bare metal: add degenerate MBR partition entry, to ease testing tkchia 2022-09-12 05:46:38 +00:00
  • ae3f8612eb Bare metal: simplify logic for creating page table entries (partly reverts 577c0f6226) tkchia 2022-09-12 05:25:10 +00:00
  • 55ddf73484
    Update redbean doc to correct return values (#610) Paul Kulchenko 2022-09-11 19:51:18 -07:00
  • 569c031934
    Don't pushpop in long mode without stack (#611) tkchia 2022-09-12 10:50:32 +08:00
  • 9b89a7c51d
    Add *NSYNC mu_test Justine Tunney 2022-09-11 18:53:52 -07:00
  • 1c6aea2b05 Bare metal: do not use push/pop in long mode until stack set up tkchia 2022-09-11 22:49:04 +00:00
  • d94c373484 Bare metal: ensure area for identity page tables is zeroed first tkchia 2022-09-11 21:55:44 +00:00
  • b5cb71ab84
    Use *NSYNC for POSIX threads locking APIs Justine Tunney 2022-09-11 11:02:07 -07:00
  • f45e7558d9 Update redbean doc to correct EncodeJson/EncodeLua return values with useoutput Paul Kulchenko 2022-09-11 08:54:18 -07:00
  • 577c0f6226 Bare metal: fix some issues in initial page table creation tkchia 2022-09-11 14:56:54 +00:00
  • 816a71bfa0 Bare metal: fix handling of int 0x15 eax = 0xe820 memory map tkchia 2022-09-11 09:02:33 +00:00
  • 3de35e196c
    Fix the build Justine Tunney 2022-09-10 19:57:50 -07:00
  • 5dff63a31c
    Import nsync Justine Tunney 2022-09-10 16:11:26 -07:00
  • cdb2284f0d
    Remove stdio lock macros from amalgamation Justine Tunney 2022-09-10 11:55:39 -07:00
  • 333768440c
    Clean up the TLS code Justine Tunney 2022-09-10 11:49:13 -07:00
  • cfcf5918bc
    Rewrite recursive mutex code Justine Tunney 2022-09-10 09:14:40 -07:00
  • bae7367774
    Bare metal VGA: minor improvements (#608) tkchia 2022-09-10 19:28:28 +08:00
  • 155b378a39
    Tidy up the threading implementation Justine Tunney 2022-09-10 02:56:25 -07:00
  • 036e07ef4a Bare metal VGA: render "italicized"/"Fraktur" text as normal text tkchia 2022-09-10 07:09:13 +00:00
  • fa82b57103 Bare metal VGA: implement "reverse video" (\e[7m) escape code tkchia 2022-09-10 06:46:57 +00:00
  • 26712247ad Bare metal VGA: simplify treatment of background color codes tkchia 2022-09-10 06:18:43 +00:00
  • e9272f03fb
    Make some minor touchups for nightlies Justine Tunney 2022-09-09 19:12:40 -07:00
  • 3265324e00
    Don't relocate file descriptor memory Justine Tunney 2022-09-09 16:54:28 -07:00
  • 5886678ad7 Bare metal VGA: implement "make cursor invisible" escape sequence tkchia 2022-09-09 22:36:45 +00:00
  • c3208eb9d5
    Add more POSIX threads APIs Justine Tunney 2022-09-09 11:30:33 -07:00
  • 1729a8259c
    Introduce MODE=fastbuild for 28% speedup Justine Tunney 2022-09-09 08:59:59 -07:00
  • 094ccbb4bd
    Add more foo64 stubs for Rust (#607) Gautham 2022-09-09 08:50:45 -05:00
  • e97f1a99cf
    Fix pthread stacks with larger guard size Justine Tunney 2022-09-09 06:19:05 -07:00
  • 12220c1ff4 add ftruncate64 ahgamut 2022-09-09 10:38:27 +05:30
  • 9d1a0ecd43 add some more foo64 stubs for Rust ahgamut 2022-09-09 10:21:35 +05:30
  • 1db76c288e
    Bare metal VGA: enable bright background colors, disable blinking (#603) tkchia 2022-09-09 19:35:16 +08:00
  • f68151c010
    Add sigpending to redbean unix.* module (#605) Paul Kulchenko 2022-09-09 04:20:13 -07:00
  • 2d17ab016c
    Perform more low-level code cleanup Justine Tunney 2022-09-09 04:07:08 -07:00
  • c32e2d4486
    Set stackaddr if mmap is called in pthread_create (#606) Gautham 2022-09-08 23:07:53 -05:00
  • 06f401d46d set stackaddr if mmap is called in pthread_create ahgamut 2022-09-09 09:16:16 +05:30
  • 5140897c27
    Update redbean to include params in slash redirect (#604) Paul Kulchenko 2022-09-08 19:14:54 -07:00
  • 47f2933dcc Add sigpending to redbean unix.* module Paul Kulchenko 2022-09-08 17:21:49 -07:00
  • decf400ea8 Update redbean to include params in slash redirect Paul Kulchenko 2022-09-08 16:49:46 -07:00
  • 20d93904ce Bare metal VGA: enable bright background colors, disable blinking tkchia 2022-09-08 21:58:47 +00:00
  • 9f963dc597
    Clean up some of the threading code Justine Tunney 2022-09-08 11:54:56 -07:00
  • 1d7842ea39 Fix typos in CP437 → UTF-8/-16 mapping tables tkchia 2022-09-08 16:33:05 +00:00
  • 0547eabcd6
    Polyfill IPv6 on non-Linux Justine Tunney 2022-09-08 06:06:22 -07:00
  • b4374e9668 Refine V=0 command logging Connor Olding 2022-09-08 11:22:36 +00:00
  • b73e35c6fa
    Improve open source compatibility Justine Tunney 2022-09-08 02:48:17 -07:00
  • 0e2b1bfeed
    Make garbage collection thread safe Justine Tunney 2022-09-08 02:33:01 -07:00
  • 571c2c3c69
    Fix race condition in makedirs() Justine Tunney 2022-09-07 22:52:24 -07:00
  • b7c07d548c
    Add FP_ILOGB constants (#599) Gavin Hayes 2022-09-08 00:37:53 -04:00
  • 6c323383e5
    Make some fixups to POSIX threads Justine Tunney 2022-09-07 21:13:50 -07:00
  • de511bc71a
    Add phtread_setname_np() and pthread_getname_np() Justine Tunney 2022-09-07 18:59:00 -07:00
  • 7a6ffc7b21 add FP_ILOGB constants Gavin Hayes 2022-09-07 21:51:00 -04:00
  • 114176c304
    Add more foo64() functions for Rust Justine Tunney 2022-09-07 05:48:39 -07:00
  • a849a63771
    Implement sigpending for sysv and nt (#597) Gavin Hayes 2022-09-07 08:38:12 -04:00
  • 4339d9f15e
    Add pthread attributes and other libc functions Justine Tunney 2022-09-07 05:23:44 -07:00
  • c535de850e Fix BCD issue with leading zeros Connor Olding 2022-09-07 08:41:45 +00:00
  • 43a2ecd947 Update SHSTUB2 docstring to reflect changes Connor Olding 2022-09-07 05:43:34 +00:00
  • 1f10bff58e Left-align stub arguments to dd (fixes #374) Connor Olding 2022-09-06 22:08:22 +00:00
  • d009eea0d2 Implement sigpending for sysv and nt. Squashed commit of the following: Gavin Hayes 2022-09-07 01:16:46 -04:00
  • d5c9308a43
    Don't sandbox documentation generator Justine Tunney 2022-09-06 20:45:21 -07:00
  • 8bd9ad8342
    Simplify redbean serialization code Justine Tunney 2022-09-06 20:07:29 -07:00
  • 3fdb1c14f1
    Add VGA support on bare metal (#588) tkchia 2022-09-07 09:41:08 +08:00
  • 598640864a
    Fix inability to add some signals to mask on NT (#596) Gavin Hayes 2022-09-06 21:35:26 -04:00
  • 5b5bb35f7f sigprocmask: fix not being able to add several signals to the mask on New Technology Gavin Hayes 2022-09-06 21:04:46 -04:00
  • d861d2787b
    Import OpenBSD sorting algorithms Justine Tunney 2022-09-06 17:52:26 -07:00
  • 88217deddc Bare metal VGA: use bing & unbing to map between CP437 & UTF-8 tkchia 2022-09-06 22:30:03 +00:00
  • dbf12c30b0
    Make more compatibility improvements Justine Tunney 2022-09-06 11:22:08 -07:00
  • 11ec60d5fc
    Use a better sorting algorithm Justine Tunney 2022-09-06 11:04:29 -07:00
  • d4d24482ce Bare metal VGA: support some VT100 escape sequences & UTF-8 tkchia 2022-09-06 15:18:25 +00:00
  • 55c6297e13
    Make more compatibility improvements Justine Tunney 2022-09-06 07:04:13 -07:00
  • 12d9e1e128
    Improve quality of our ANSI C clock() function Justine Tunney 2022-09-05 21:43:49 -07:00
  • 7ff0ea8c13
    Make pthread mutexes more scalable Justine Tunney 2022-09-05 13:06:34 -07:00
  • 7de2f229a7
    Discard ignored signals on New Technology (#592) Gavin Hayes 2022-09-05 12:17:56 -04:00
  • 4b4ea046c4
    Ensure libcxx.a is built when providing folder (#591) Gautham 2022-09-05 11:17:16 -05:00
  • 44c315d789
    Disable pthread broadcast test temporarily Justine Tunney 2022-09-05 08:54:13 -07:00
  • 8cd4248f7f
    Make SIG_DFL / SIG_IGN C++ compatible Justine Tunney 2022-09-05 08:43:52 -07:00
  • d721ff8938
    Remove testonly keyword Justine Tunney 2022-09-05 08:41:43 -07:00
  • 9be364d40a
    Implement POSIX threads API Justine Tunney 2022-09-05 08:26:03 -07:00
  • af24f21556
    Unsandbox assembly generation Justine Tunney 2022-09-04 19:30:05 -07:00
  • a924454eb8 discard ignored signals on New Technology Gavin Hayes 2022-09-04 23:58:48 -04:00
  • 818cde5014 ensure libcxx.a is built when providing folder ahgamut 2022-09-05 09:18:50 +05:30
  • aeacc4239d Bare metal VGA: ensure correct initial video mode, & obtain initial cursor position as left by BIOS tkchia 2022-09-04 17:12:03 +00:00
  • b0287ef34c
    Tune a log message priority in redbean (#589) Paul Kulchenko 2022-09-04 07:43:06 -07:00
  • 57faaa9c5a Bare metal VGA: rename internal file vga.h to vga.internal.h (https://github.com/jart/cosmopolitan/pull/588#pullrequestreview-1095676354) tkchia 2022-09-04 14:41:12 +00:00
  • c171aaada6 Update redbean Fetch to lower priority on content-length log message Paul Kulchenko 2022-09-04 07:23:34 -07:00
  • 6a04bc3318
    Release redbean 2.0.18 redbean-2.0.18 Justine Tunney 2022-09-04 06:57:59 -07:00
  • 8dd4ec68d0
    Add more missing C / C++ headers Justine Tunney 2022-09-04 04:53:52 -07:00
  • b9dc74b672
    Do some work on unbuffer command Justine Tunney 2022-09-04 02:25:34 -07:00
  • c42c607c80 Quick prototype for VGA console output in bare metal mode tkchia 2022-09-04 09:05:45 +00:00
  • e1590e1e38
    Remove accidental comment Justine Tunney 2022-09-04 00:41:09 -07:00
  • 8569704c1d
    Stop APE bare metal loader from reading beyond program image end (#574) tkchia 2022-09-04 15:19:08 +08:00
  • 9c017c98d3
    Add sysconf to unistd.h (#575) Gavin Hayes 2022-09-04 03:10:17 -04:00
  • 74879bf067
    Add pollfd to poll.h (#576) Gavin Hayes 2022-09-04 03:09:50 -04:00