- An old PC
- DVD-R or CD-R
- Recommended hardware
- Wired Network Connection
- CPU with high clock speed
The objective of this project is fix and complete SMP support (multiprocessing) in GNU/Hurd
GNU/Hurd includes a tiny SMP support, as this FAQ explain
But this support is very limited:
Con esta guía aprenderemos los pasos a seguir para establecer la conexión entre el ladrillo del Lego Mindstorms NXT y nuestro equipo GNU/Linux.
- Sistema operativo GNU/Linux
- bluetoothctl
- rfcomm
- Abrir el intérprete de comandos
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#+BEGIN_SRC sh :results output :exports both | |
#!/bin/bash | |
#modprobe kvm | |
#modprobe kvm_intel | |
#qemu-img create -f qcow2 hurd.img 20G | |
MEMORY=2G | |
FILE=hurd_qemu/hurd.img | |
CDROM=Descargas/debian-hurd-2017-i386-DVD-1.iso | |
# If I ever need to add a cdrom | |
echo "running ssh" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
struct TNodo{ | |
int datos; | |
TNodo* siguiente; | |
}; | |
TNodo *inicial, *final; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
proyecto = project | |
sistema operativo = operating system | |
aplicaciones = applications | |
usuario = user | |
controlador ~= driver (or controller) | |
direcciones = address | |
memoria = memory | |
planificador de procesos = scheduler | |
paralelizacion = parallelism | |
concurrente = concurrent |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#ifdef WIN32 | |
#include <windows.h> | |
char getch(){ | |
HANDLE hStdin = GetStdHandle(STD_INPUT_HANDLE); | |
DWORD mode = 0; | |
GetConsoleMode(hStdin, &mode); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <algorithm> | |
#include <vector> | |
#include <iostream> | |
#include <fstream> | |
#include <proc/readproc.h> | |
void ProcIdFromParentProcId(int parentProcId, std::vector<int>& procId) { | |
PROCTAB *proc = openproc(PROC_FILLSTAT); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <pthread.h> | |
#include <unistd.h> | |
#include <sys/types.h> | |
#define MS_STOP_TIME 100 | |
#define NUM_THREADS 16 | |
unsigned int get_apic_id(void){ | |
unsigned int cpu_eax, cpu_ebx, cpu_ecx, cpu_edx; |