Coder Social home page Coder Social logo

jmolloy / pedigree Goto Github PK

View Code? Open in Web Editor NEW
89.0 89.0 5.0 184.35 MB

Pedigree operating system

Home Page: http://pedigree.googlecode.com

License: ISC License

Python 14.06% Perl 0.48% Assembly 0.60% C++ 27.64% Shell 1.09% PHP 0.01% C 55.10% Objective-C 1.00% R 0.02%

pedigree's People

Contributors

aejsmith avatar eddyb avatar jmolloy avatar miselin avatar redelman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pedigree's Issues

Executing header files causes sadness

[03:05:27] ~ $ /include/alloca.h
/include/alloca.h: line 1: /applications: is a directory
/include/alloca.h: line 3: /applications: is a directory

And then the system freezes.

mounts are confusing

If you 'cd /dev', you end up on 'dev»/', and suddenly can't access any of the files on 'root»/' without a prefix. Because PATH is usually '/applications', not 'root»/applications', it suddenly becomes very difficult to run any programs.

Ideally getcwd() should also include the mount (eg, 'root»/') to make this more obvious.

seq doesn't work

Running seq with no arguments causes a segfault, running with a numeric argument results in no output.

Scons build scripts die in kernel link

Build line:

scons

Causes output:

Linking build/src/system/kernel/kernel
/home/james/.pedigree_2/bin/i686-elf-ld: -f may not be used without -shared
scons: *** [build/src/system/kernel/kernel] Error 1
scons: building terminated because of errors.

TimeoutGuard Breakpoint in ~TimeoutGuard

TimeoutGuard's destructor calls Thread::cullEvent if the event did not fire when it goes out of scope.

However, cullEvent currently has a FATAL("cullEvent"); line in it, making it impossible to use TimeoutGuard properly. I'm not sure why it has this line, but I assume there's a good reason.

Failing code:
Semaphore sem(0);

{
    TimeoutGuard guard(5);
    if (!guard.timedOut())
        NOTICE("Acquired sem");
}

NOTICE("Ended!");
for(;;);

If the semaphore acquire is not commented the timeout occurs as per normal, and there is no breakpoint.

x86_64 SMP problem

I modified the script file:

!/bin/bash

SERIAL_PORTS="-serial file:./../build/serial.txt -serial file:./../build/memlog.txt"

if [ ! -z "$NO_SERIAL_PORTS" ]; then
SERIAL_PORTS=""
fi

AIO="native"

if [ ! "$(uname -s)" == "Linux" ]; then
AIO="threads"
fi

qemu-system-x86_64 -smp 4 -m 512
-drive file=./../build/hdd.img,if=ide,media=disk,cache=writeback,aio=$AIO,index=0,format=raw
-drive file=./../build/pedigree.iso,if=ide,media=cdrom,cache=writeback,aio=$AIO,index=2,format=raw
-boot d -vga std $SERIAL_PORTS -rtc base=utc $*

However, the system enters the exception handler...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.