Commit Graph

  • 4e0f57f4d7 DevFileWrapper now understands and respects O_TRUNC. Jonas 'Sortie' Termansen 2012-01-08 14:15:51 +0100
  • 75282bdab7 Added -fno-rrti to the C++ compile flags in the cross-compiler. Jonas 'Sortie' Termansen 2012-01-03 21:54:49 +0100
  • 9a77901883 Added missing prototypes to stdio.h. Jonas 'Sortie' Termansen 2011-12-30 01:23:00 +0100
  • 73a7e8f53d Forgot to actually add remove(3) in the previous commit. Jonas 'Sortie' Termansen 2011-12-30 01:13:41 +0100
  • deee5e4335 Added a partial implementation of remove(3), since rmdir(2) is missing. Jonas 'Sortie' Termansen 2011-12-30 01:11:33 +0100
  • 5d16b5c61e Added getchar(3) and putchar(3). Jonas 'Sortie' Termansen 2011-12-30 01:06:27 +0100
  • 66999ff94a Added putc(3) and getc(3). Jonas 'Sortie' Termansen 2011-12-30 01:03:24 +0100
  • d39d4222b5 Added fputc(3) and fgetc(3). Jonas 'Sortie' Termansen 2011-12-30 00:55:59 +0100
  • 76800553da Clarified comment about typedef struct _FILE FILE. Jonas 'Sortie' Termansen 2011-12-30 00:42:36 +0100
  • 064b69d2b6 Added fseeko(3) and ftello(3). Jonas 'Sortie' Termansen 2011-12-30 00:36:39 +0100
  • 912b2f78f0 Implemented the fdio backend of fseek(3) and ftell(3). Jonas 'Sortie' Termansen 2011-12-26 23:15:52 +0100
  • 648b324385 Added lseek(2). Jonas 'Sortie' Termansen 2011-12-26 23:12:12 +0100
  • d6d404f3f0 Added a simple pager program while we wait for less(1) to be ported. Jonas 'Sortie' Termansen 2011-12-26 17:15:14 +0100
  • 36b01eb2d3 Fixed the horrible 'nofoo' bug! Jonas 'Sortie' Termansen 2011-12-25 03:33:12 +0100
  • 7bc1fa259e Made Sortix compatible with gcc 4.6.1. Jonas 'Sortie' Termansen 2011-12-25 00:10:56 +0100
  • 2b3b4ed62a error(3) and perror(3) now writes to stderr. Jonas 'Sortie' Termansen 2011-12-24 04:36:42 +0100
  • fdbd4ca90d Implemented large parts of the stdio(3), including fprintf. Jonas 'Sortie' Termansen 2011-12-24 04:08:10 +0100
  • 4841d83ff8 Added calloc(3). Jonas 'Sortie' Termansen 2011-12-24 04:05:38 +0100
  • b5fe020b7a Fixed bad variable name in uptime(1), it's usecs not msecs. Jonas 'Sortie' Termansen 2011-12-23 19:53:47 +0100
  • ee125f01e2 Made the memstat program a little more 64-bit friendly. Jonas 'Sortie' Termansen 2011-12-23 16:54:34 +0100
  • ffe3cc49f2 Now counting memory usage in a more solid manner. Jonas 'Sortie' Termansen 2011-12-23 16:45:07 +0100
  • ba9b715c59 Added a global variable at the end of the kernel to detect its size. Jonas 'Sortie' Termansen 2011-12-23 13:09:09 +0100
  • 0515111314 The initial ramdisk is now mapped onto a special location. Jonas 'Sortie' Termansen 2011-12-22 14:13:18 +0100
  • a623b1b07e Fixed registering memstat(2) multiple times. Jonas 'Sortie' Termansen 2011-12-22 12:59:48 +0100
  • c8c08e7b90 Moved the make-color-red code into DoWelcome in kernel.cpp. Jonas 'Sortie' Termansen 2011-12-22 12:56:29 +0100
  • 567786d26b Added calc, an integer-based reverse polish notation calculator. Steve Dougherty 2011-12-16 00:00:42 -0500
  • 203f2a2bb1 Better default octal detection in strtol(3). Jonas 'Sortie' Termansen 2011-12-16 22:24:29 +0100
  • 73bcafc004 strtol(3) now returns 0 if the string was + or -. Jonas 'Sortie' Termansen 2011-12-16 21:44:32 +0100
  • f1a49dbad3 Hex numbers now work properly in strtol(3). Jonas 'Sortie' Termansen 2011-12-16 21:15:26 +0100
  • ae6696ed7a Added -fno-exceptions to the cross compiler flags. Jonas 'Sortie' Termansen 2011-12-16 18:46:56 +0100
  • da2bfac34f Fixed bug in strtol*. Jonas 'Sortie' Termansen 2011-12-16 18:28:22 +0100
  • bf6a4c1861 Added strto{u,}{l,}l(3). Jonas 'Sortie' Termansen 2011-12-16 16:49:27 +0100
  • 0f5864602f Fixed bad filename written in elf.cpp. Jonas 'Sortie' Termansen 2011-12-16 15:35:45 +0100
  • 7cd28f097c Program loader now sets the correct program segment type. Jonas 'Sortie' Termansen 2011-12-16 15:33:12 +0100
  • acf1eebc98 Added user-space memory allocation. Jonas 'Sortie' Termansen 2011-12-16 13:24:49 +0100
  • fecaf6b43f System calls in libmaxsi now use the constants from syscallnum.h. Jonas 'Sortie' Termansen 2011-12-09 12:41:06 +0100
  • 8be3624ca3 Added auto-completion to snake for debugging purposes. Jonas 'Sortie' Termansen 2011-12-06 14:18:15 +0100
  • fefeb92e89 Begun development of Sortix 0.6. Jonas 'Sortie' Termansen 2011-12-06 01:28:23 +0100
  • 9b3efeed5a Updated version number to 0.5. Jonas 'Sortie' Termansen 2011-12-05 23:22:27 +0100
  • aae0ed3092 The cursor is disabled when displaying the VGA under JSVM. Jonas 'Sortie' Termansen 2011-12-05 22:13:51 +0100
  • 2c728fc1f1 VGA now sort-of works under serial-connections. Jonas 'Sortie' Termansen 2011-12-05 21:44:14 +0100
  • 9e5b9e3767 Hacks to make the JSVM serial driver work better. Jonas 'Sortie' Termansen 2011-12-05 21:14:22 +0100
  • cdb873271d Increased hard-coded maximum JSVM initrd size to 2 MiB 512 KiB. Jonas 'Sortie' Termansen 2011-12-05 19:43:27 +0100
  • 7e55f325fc Don't check the initrd on JSVM. Jonas 'Sortie' Termansen 2011-12-05 19:36:15 +0100
  • 0bb91ee161 printf(3) now supports signed integers and ptrdiff_t. Jonas 'Sortie' Termansen 2011-12-05 13:13:07 +0100
  • a9609502ed Removed references to mksound from mxmpp. Jonas 'Sortie' Termansen 2011-12-04 21:33:23 +0100
  • 889646d033 Removed excess space. Jonas 'Sortie' Termansen 2011-12-04 21:31:53 +0100
  • 854d9b171a uptime(2) now reports usecs instead of msecs. Jonas 'Sortie' Termansen 2011-12-04 21:27:21 +0100
  • 597e700618 Removed outdated comment about sleep(2) and signals. Jonas 'Sortie' Termansen 2011-12-04 21:07:32 +0100
  • 5bc05c4e0e Moved around comments in heap.cpp. Jonas 'Sortie' Termansen 2011-12-04 20:59:42 +0100
  • fcc6147c5c Prevent the kernel from calling system calls. Jonas 'Sortie' Termansen 2011-12-04 20:56:29 +0100
  • 60d23eac19 printf now understands %l and %j. Jonas 'Sortie' Termansen 2011-12-04 20:53:43 +0100
  • 84b93044c8 Sortix now defaults to build the same arch as the host machine. Jonas 'Sortie' Termansen 2011-12-04 20:13:29 +0100
  • de70b1804d Rewrote the x86 64-bit division stubs, which now actually work. Jonas 'Sortie' Termansen 2011-12-04 19:02:35 +0100
  • a2dd8be7aa Fixed using wrong system call in libmaxsi/x64/signal.s Jonas 'Sortie' Termansen 2011-12-04 18:24:06 +0100
  • 61f02431ee Removed ConvertUInt{8,16} - ConvertUInt32 handles their input instead. Jonas 'Sortie' Termansen 2011-12-04 15:49:29 +0100
  • 3b8bf9419d Removed obsolete functions to read from the initrd. Jonas 'Sortie' Termansen 2011-12-04 15:38:02 +0100
  • 635a49644a Made usleep(2) a sortix extension. Jonas 'Sortie' Termansen 2011-12-04 15:24:55 +0100
  • 7623ff8092 unistd.h now uses the __useconds_t from sortix/bits.h. Jonas 'Sortie' Termansen 2011-12-04 15:11:39 +0100
  • 0f0696dc74 make clean also cleans bench/ now. Jonas 'Sortie' Termansen 2011-12-04 15:06:30 +0100
  • d9205a59df The games now use the error(3) function. Jonas 'Sortie' Termansen 2011-12-04 15:04:06 +0100
  • fda16f93ac Added a everything-all-archs target that builds both x86 and x64. Jonas 'Sortie' Termansen 2011-12-02 22:56:50 +0100
  • ac81da7609 Only build benchmarks when given BENCH=1 to make. Jonas 'Sortie' Termansen 2011-12-02 22:48:30 +0100
  • 63cde07004 Added a benchmark for counting context-switches per second. Jonas 'Sortie' Termansen 2011-12-02 22:39:18 +0100
  • b0859c6d92 usleep'ing for 0 usecs simply causes a context-switch. Jonas 'Sortie' Termansen 2011-12-02 22:37:17 +0100
  • 5862441351 Added a system calls per second benchmark. Jonas 'Sortie' Termansen 2011-12-02 12:27:58 +0100
  • f8129a17b2 Changed the build system for 64-bit quite a bit. Jonas 'Sortie' Termansen 2011-12-01 23:05:08 +0100
  • 8e8bb15a1b Improved corruption panic message in initrd.cpp Jonas 'Sortie' Termansen 2011-12-01 23:03:00 +0100
  • b0884584a1 Added a very simple checksum field to the init ramdisk. Jonas 'Sortie' Termansen 2011-12-01 21:44:11 +0100
  • 2faafd3f99 Stack is now aligned in 64-bit Sortix threads. Jonas 'Sortie' Termansen 2011-12-01 21:43:35 +0100
  • 7304c8f528 Fixed uninitialized memory bug in the keyboard driver. Jonas 'Sortie' Termansen 2011-12-01 17:27:00 +0100
  • f5b46a89ed uname(1) now reports whether the system is 32-bit or 64-bit. Jonas 'Sortie' Termansen 2011-12-01 15:30:17 +0100
  • ae1c157445 Temporary hack to make x64 system calls use the right registers. Jonas 'Sortie' Termansen 2011-12-01 14:54:47 +0100
  • 6562da4092 waitpid(2) now returns ECHILD on error. Jonas 'Sortie' Termansen 2011-12-01 14:54:19 +0100
  • cf53e4a020 Fixed 64-bit resumed system calls. Jonas 'Sortie' Termansen 2011-12-01 14:29:49 +0100
  • c0c20860ed Lots of improvements to 64-bit Sortix. Jonas 'Sortie' Termansen 2011-12-01 10:45:44 +0100
  • f460c4abec Added support for 64-bit interrupts. Jonas 'Sortie' Termansen 2011-11-30 23:30:14 +0100
  • f0ec4ffacc Forgot to push %rbp in x64/syscall.s Jonas 'Sortie' Termansen 2011-11-29 11:44:29 +0100
  • 0b1c2a77c9 x64 now compiles again and runs on real hardware. Jonas 'Sortie' Termansen 2011-11-29 01:21:59 +0100
  • 8c146f14c0 Added uptime(1). Jonas 'Sortie' Termansen 2011-11-28 16:28:56 +0100
  • f232a054d3 Added O=-ON and PANIC_SHORT=1 variables to the makefile. Jonas 'Sortie' Termansen 2011-11-28 15:25:00 +0100
  • 965f3e3dbf Pong no longer shakes as much the first few frames. Jonas 'Sortie' Termansen 2011-11-28 11:48:02 +0100
  • 1686b2b903 Removed hello program. Jonas 'Sortie' Termansen 2011-11-28 11:34:50 +0100
  • 6781308360 Rewrote the memory allocation functions. Jonas 'Sortie' Termansen 2011-11-27 16:55:44 +0100
  • cd936886e6 Writing to /dev/vga hides the cursor until a write to /dev/tty. Jonas 'Sortie' Termansen 2011-11-27 12:03:33 +0100
  • 4f3a7230b0 Destroying the addressspace after exit prevents leak of at least 16 KiB. Jonas 'Sortie' Termansen 2011-11-27 12:02:34 +0100
  • 06909c6df9 Fixed panic when executing non-existent file. Jonas 'Sortie' Termansen 2011-11-27 00:20:23 +0100
  • d96d790de7 Oops, meant 'used' instead of 'free' in memstat. Jonas 'Sortie' Termansen 2011-11-26 21:10:08 +0100
  • bd1b1fe3bc Added isatty(2), which is used by editor. Jonas 'Sortie' Termansen 2011-11-26 20:56:45 +0100
  • 3f50a335bb devfs now correctly manages sizes of files. Jonas 'Sortie' Termansen 2011-11-26 20:54:20 +0100
  • ce9787a439 Greatly reduced RAM usage in ramfs. Jonas 'Sortie' Termansen 2011-11-26 20:25:25 +0100
  • 9152443816 Added memstat, a program for displaying memory usage. Jonas 'Sortie' Termansen 2011-11-26 20:14:57 +0100
  • f45def4a68 cat(1) now writes to fd 1 instead of /dev/tty. Jonas 'Sortie' Termansen 2011-11-26 19:14:08 +0100
  • 4cac495121 mxsh now ignores trailing whitespace. Jonas 'Sortie' Termansen 2011-11-26 13:27:15 +0100
  • d4231b2027 Added program_invocation_name(3), error(3), and perror(3) and used them. Jonas 'Sortie' Termansen 2011-11-26 11:00:45 +0100
  • 867627c085 Added echo(1). Jonas 'Sortie' Termansen 2011-11-26 00:54:17 +0100
  • b6a0fd0374 Removed deprecated VGA API and moved it to /dev/vga. Jonas 'Sortie' Termansen 2011-11-25 13:38:31 +0100
  • c0fa3a6aae Editor no longer moves the cursor if not needed. Jonas 'Sortie' Termansen 2011-11-24 19:27:24 +0100
  • 63b622a086 The shell now supports sending stdout to a file. Jonas 'Sortie' Termansen 2011-11-24 17:42:40 +0100
  • 724305f3a7 Merge commit '7a233f2938f4e28d61504853e2f6daf4904aab33' Jonas 'Sortie' Termansen 2011-11-24 15:38:45 +0100