il fallait que sa puisse passer sur un cv

This commit is contained in:
Marc committed 2022-02-17 14:19:08 +01:00
1 parent 1edb531e1a
commit 551505c014
37 files changed
+13 -20

No files matched your search

+5 -5
View File
@@ -4,35 +4,35 @@
"target_name": "syscall",
'cflags': [ '-Wall' ],
"sources": [
"clibs/chibrax/syscall.cc"
"clibs/syscall.cc"
]
},
{
"target_name": "ioctl",
'cflags': [ '-Wall' ],
"sources": [
"clibs/chibrax/ioctl.cc"
"clibs/ioctl.cc"
]
},
{
"target_name": "mount",
'cflags': [ '-Wall' ],
"sources": [
"clibs/chibrax/mount.cc"
"clibs/mount.cc"
]
},
{
"target_name": "socket",
'cflags': [ '-Wall' ],
"sources": [
"clibs/chibrax/socket.cc"
"clibs/socket.cc"
]
},
{
"target_name": "ip",
'cflags': [ '-Wall', '-Wextra' ],
"sources": [
"clibs/chibrax/ip.cc"
"clibs/ip.cc"
]
}
]
File renamed without changes.
View File
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+1 -1
View File
@@ -4,4 +4,4 @@ then echo "Please don't run this as root"
exit
fi
gcc chibraxLoader.c -O3 -o init
gcc osLoader.c -O3 -o init
@@ -2,7 +2,7 @@
#include <stdio.h>
//Chemin exacte de node (a changer aprés la creation d'un gestionnaire de packets)
#define node "/usr/local/bin/node"
#define chibrax "/chibrax/index.js"
#define chibrax "/core/index.js"
int main() {
execl(node, node, chibrax);
-7
View File
@@ -1,10 +1,3 @@
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
insmod part_gpt
insmod part_msdos
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+1 -1
View File
@@ -1,5 +1,5 @@
//@ts-check
const { cmount, mount, flags } = require('../../chibrax/mount.js')
const { cmount, mount, flags } = require('../../core/mount.js')
async function init() {
cmount("dummy", "/proc", "proc",
+1 -1
View File
@@ -1,4 +1,4 @@
const ip = require('../../chibrax/ip')
const ip = require('../../core/ip')
//async is optional but recomended for optimisation (optimisations are yet to be implemented)
async function init() {
ip.setFlags('lo', ip.flags.IFF_UP | ip.flags.IFF_LOOPBACK | ip.flags.IFF_RUNNING)
+1 -1
View File
@@ -1,4 +1,4 @@
const audio = require('/chibrax/audio.js')
const audio = require('../../core/audio')
async function init() {
audio('/chibrax/sheeebr.wav')
+1 -1
View File
@@ -1,5 +1,5 @@
//@ts-check
const graphics = require('../../chibrax/graphics')
const graphics = require('../../core/graphics')
const shapes = require('../lib/shapes')
const path = require('path')
+1 -1
View File
@@ -1,5 +1,5 @@
//@ts-check
const { finit_module, uname } = require('../../chibrax/kernel.js')
const { finit_module, uname } = require('../../core/kernel.js')
const fs = require('fs')
const path = require('path')
+1 -1
View File
@@ -3,7 +3,7 @@
* DICKPICK is a image drawing library
*/
const graphics = require('../../chibrax/graphics')
const graphics = require('../../core/graphics')
/**
* @param { number } x