Commit Graph

  • 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
  • 7aff476117 Fixed bug in the remove function of the sorted list class. Jonas 'Sortie' Termansen 2011-11-24 10:41:13 +0100
  • 4890c306c4 printf(3) now writes to fd 1. Jonas 'Sortie' Termansen 2011-11-24 10:26:36 +0100
  • e72d086a8f Disallow / in filenames in ramfs. Jonas 'Sortie' Termansen 2011-11-23 17:51:18 +0100
  • 481ddfa7e4 rm(1) usage now works without crashing. Jonas 'Sortie' Termansen 2011-11-23 17:05:09 +0100
  • 5bf22b2c4a ramfs doesn't allow opening files as directories. Jonas 'Sortie' Termansen 2011-11-23 14:14:59 +0100
  • 1f4dc3d0b5 The shell can now print %. Jonas 'Sortie' Termansen 2011-11-23 14:07:02 +0100
  • 2b032b0414 Initial signal support. Please squash improvements into this commit. Jonas 'Sortie' Termansen 2011-09-15 22:38:40 +0200
  • 7a9afd66fe cat(1) now writes to /dev/tty. Jonas 'Sortie' Termansen 2011-11-23 00:18:04 +0100
  • 46c0cc6a12 -1 is no longer an allowed system call. Jonas 'Sortie' Termansen 2011-11-22 22:08:34 +0100
  • b15763b2de Fixed descriptors not being reset by SysExit. Jonas 'Sortie' Termansen 2011-11-22 19:12:04 +0100
  • e234e0a2d4 execve(2) now sets errno=EACCESS on non-buffer files. Jonas 'Sortie' Termansen 2011-11-22 18:21:01 +0100
  • 9deb183786 The ELF loader now uses errno. Jonas 'Sortie' Termansen 2011-11-22 18:06:40 +0100
  • 6986963b4b cp(1) can now support the syntax cp /bin/snake / Jonas 'Sortie' Termansen 2011-11-22 17:57:10 +0100
  • 1b56d01f17 Improved error codes in devfs. Jonas 'Sortie' Termansen 2011-11-22 17:56:58 +0100
  • 9f35df813e Implemented errno(3), added support in both kernel and utils. Jonas 'Sortie' Termansen 2011-11-22 17:26:47 +0100
  • 8678ad6444 / is no longer a valid filename under ramfs. Jonas 'Sortie' Termansen 2011-11-22 15:33:47 +0100
  • 2c3fb60d52 execve(2) now works relative to current dir. Jonas 'Sortie' Termansen 2011-11-22 15:27:58 +0100
  • e8fb8d885b execve(2) can now load programs from the filesystem. Jonas 'Sortie' Termansen 2011-11-22 13:53:36 +0100
  • 324a9a1a22 Fixed bug in initfs causing panics. Jonas 'Sortie' Termansen 2011-11-22 12:44:23 +0100
  • 55240fb3f5 Added devfs, with files /tty and /null and mounted it at /dev. Jonas 'Sortie' Termansen 2011-11-21 21:49:13 +0100
  • 91a97a2667 Mount-points are now handled properly within the kernel. Jonas 'Sortie' Termansen 2011-11-21 19:39:13 +0100
  • 8b2b52b9f6 Added unlink(2) and rm(1). Jonas 'Sortie' Termansen 2011-11-21 18:49:55 +0100
  • 66f6055a13 Added cp(1). Jonas 'Sortie' Termansen 2011-11-21 14:57:02 +0100
  • 211af74690 Fixed bug where SortedList::Search did not sort the list if needed. Jonas 'Sortie' Termansen 2011-11-21 14:56:09 +0100
  • d4590cefa1 Added chdir(2), getcwd(2), which mxsh and ls now uses. Jonas 'Sortie' Termansen 2011-11-21 12:19:57 +0100
  • 819c152292 Help now shell-offs ls /bin, instead of ls /. Jonas 'Sortie' Termansen 2011-11-21 00:30:24 +0100
  • eb035d6a4a Fixed tripple-fault when creating a new frame, after the current was gc'd. Jonas 'Sortie' Termansen 2011-11-21 00:27:10 +0100
  • 313079483a Missing files from the previous two commits. Ooops! Jonas 'Sortie' Termansen 2011-11-21 00:19:55 +0100
  • 0b90ab534f ramfs now supports O_TRUNC. Jonas 'Sortie' Termansen 2011-11-21 00:12:20 +0100
  • 23fde42249 Added readdirents(2), which ls(1) now uses, and added dir devices. Jonas 'Sortie' Termansen 2011-11-21 00:02:53 +0100
  • e3bb0dfc9d Fixed bug in previous commit. Ooops. Jonas 'Sortie' Termansen 2011-11-20 22:48:22 +0100
  • c1849ed7d8 / is no longer a valid filename in ramfs. Jonas 'Sortie' Termansen 2011-11-20 22:47:39 +0100