Commit Graph

240 Commits

Author SHA1 Message Date
Kevin Lange
26c78333ec Rough, incomplete VFS permissions 2016-12-14 21:21:32 +09:00
Kevin Lange
b7da7a4f73 Fix debug backdoor to not crash on null format string 2016-12-10 20:09:21 +09:00
Kevin Lange
39da315a48 Build a dynamic userspace.
- Builds (terrible, broken) shared versions of (most) third-party
  dependencies for the userspace.
- Fixes several incorrect dependency mappings in auto-dep.
- Makes auto-dep understand shared libraries (and that some things,
  like OSMesa, don't work with them).
- init must be built static because reasons
- some libraries were cleaned up to fix dependency calculation
- version bumped to 0.99.0 (saten) for eventual 1.0.0 release.
- CDs no longer drop teapot, select-wallpaper (space is available
  for them - we could even make the images smaller)
2016-12-03 17:10:48 +09:00
Kevin Lange
f57be44604 Add a dumb syscall to force an address+size to be mapped in userspace 2016-12-01 23:23:31 +09:00
Kevin Lange
e827580b79 Add ugly hack to support loader 2016-11-24 19:36:15 +09:00
Kevin Lange
8ac9742906 Add a userspace interface for loading modules 2016-10-26 14:11:12 +09:00
Kevin Lange
ce34e6a40f Disable FPU lazy switching (it's breaking bochs) 2016-09-26 15:25:30 +09:00
Kevin Lange
51fd0a83b0 Various fixes for Python 2016-09-15 19:18:57 +09:00
Kevin Lange
caef2a0d27 Disable caching for MMIO regions 2016-09-09 09:25:39 +09:00
Kevin Lange
e7f7a40da3 Bump version to v0.14.1 2016-09-04 13:55:43 +09:00
Kevin Lange
48c9f2ffc0 Bump to v0.14.0 and update codename 2016-09-01 10:21:37 +09:00
Kevin Lange
1257e0424c Bump version to 0.13.0 and change codename to mikoto 2015-12-15 22:41:22 -08:00
Kevin Lange
a649abbdb8 Fix a leak when spawning threads 2015-11-05 22:28:52 -08:00
Kevin Lange
4893d4899b Bump version to v0.12.0 2015-11-05 22:19:18 -08:00
Kevin Lange
292f535a6a Fix critical directory release refcount issue 2015-11-05 22:18:49 -08:00
Kevin Lange
514fef6b9f Bump version to v0.11.1 2015-07-12 19:08:38 +09:00
Kevin Lange
a0c1350369 Fix next_pid to not reallocate PIDs immediately 2015-07-02 21:39:43 -07:00
Kevin Lange
b2d0021a63 Terrible hack for combining modules [ci skip]
Please don't use this, it's a workaround for iPXE module limits.
2015-06-23 20:15:19 -07:00
Kevin Lange
3b48ab5be1 Bump version to 0.11.0 2015-06-10 21:00:47 -07:00
Mike Gerow
e8689bb0c6 Added symlink support to vfs and plumbed it to syscall layer
This commit requires a rebuild of the toolchain.
2015-06-03 19:07:08 -07:00
Kevin Lange
027d979fbc Fix incorrectly 0'd userspace entry pointer; bad pointer validate in stat_node 2015-05-29 16:12:04 -07:00
Kevin Lange
3bf0d0ed89 Mark off 0.10.1 2015-05-21 14:39:00 -07:00
Dale Weiler
d6ff2dc428 Better PID allocation technique 2015-05-21 16:23:31 -04:00
Dale Weiler
a699c91ddd ISR/IRQ cleanup 2015-05-21 13:22:06 -04:00
Dale Weiler
0dbd5ab089 Cleanup and improve spin lock code 2015-05-21 04:28:14 -04:00
Dale Weiler
3820512357 Merge branch 'strawberry-dev' of github.com:klange/toaruos into strawberry-dev 2015-05-21 03:15:19 -04:00
Dale Weiler
cb0e217c31 Cleaned up, optimized and rewrote crucial parts of libc for the kernel, fixed a few bugs as well. 2015-05-21 03:12:09 -04:00
Kevin Lange
1654d371e3 Marking off 0.10.0 2015-05-20 20:34:20 -07:00
Dale Weiler
d6a7db993e Use PUSH macro when setting up thread argument and return address 2015-05-20 16:53:14 -04:00
Dale Weiler
333d97bc7a Fix system calls 2015-05-20 16:45:30 -04:00
Dale Weiler
c9f9625722 Use uintptr_t and document sys_mount arguments which are not used with a TODO 2015-05-20 14:59:47 -04:00
Dale Weiler
117225b626 Cleanup system call code and improve branch prediction. 2015-05-20 14:14:51 -04:00
Dale Weiler
31900155fb ring3 switch code in user.S now 2015-05-20 04:46:10 -04:00
Dale Weiler
ca5a319ee6 Validate syscall inputs 2015-05-20 03:34:39 -04:00
Kevin Lange
b4d7e263b6 Fix critical issue in spawn_process 2015-05-18 21:05:41 -07:00
Kevin Lange
e1720dbc8a Fix allocation of common symbols in modules
Fixes #87
2015-05-14 09:47:23 -07:00
Kevin Lange
7344a50fe0 Major changes to timing interfaces
- The kernel version has been bumped to 0.9.0
- The timer resolution in the kernel has been increased to millseconds.
- The preemptive scheduling interval has been descreased to one
  millisecond.
- Relative sleep continues to use 10 millsecond intervals for legacy
  reasons.
- `gettimeofday` now uses the internal tick counter to calculate the
  current time. Drift is calculated from the CMOS every 5 seconds and
  applies only to `gettimeofday` and other places that use it.
- The resolution of timing information provided by debug functions has
  been increased to three digits (milliseconds).
- The resolution of timing information provided by the procfs uptime
  virtual file has been increased to three digits (milliseconds).
- Functions have been added to the debug shell to read the TSC. The TSC
  is not used in timing functions at this time.
2015-04-14 23:05:07 -07:00
Kevin Lange
4a36d6bb9e Fix a potential deadlock and improve irq on/off 2015-04-13 23:39:23 -07:00
Kevin Lange
990d6ae269 Fix #54 - missing close/free in sys_chdir 2014-10-07 10:46:54 -07:00
Kevin Lange
17e332b5e7 expose mounting to userspace 2014-06-09 20:13:11 -07:00
Kevin Lange
d3cddf169a And then some more magic to merge the vimhints and the copyright headers 2014-06-07 23:58:31 -07:00
Kevin Lange
1287af81ef Reinsert vim hints magically 2014-06-07 23:51:01 -07:00
Kevin Lange
a2ed4b4f0e strip vim: lines from kernel 2014-06-07 23:43:21 -07:00
Kevin Lange
ef7d72c1e1 License headers and a tool to generate them 2014-06-07 23:13:29 -07:00
Kevin Lange
dcaa023347 Processes now inherit names 2014-06-07 18:32:10 -07:00
Kevin Lange
02dbc0e1f4 some vague attempt at revealing links in stat 2014-06-07 12:58:45 -07:00
Kevin Lange
f21ab2b3fb Default st_nlink to 1, not 0 2014-06-05 22:19:46 -07:00
Kevin Lange
9eb63b4bfd more room for panic messages 2014-06-01 01:32:33 -07:00
Kevin Lange
252fe84ab0 Close and cleanup before we reap. 2014-05-27 23:20:02 -07:00
Kevin Lange
d696f51f8b Real unix pipes 2014-05-27 21:38:30 -07:00