Skip to content

Tag: linux

the physical address of global descriptor table?

I’m reading the disassemble code of mit os’s kernel code. I think the kernel code should follow the same rule. I saw the instruction in the kernel that load the Global Descriptor Table is as follows: lgdtl 0x10f018 I know the lgdt takes the length of the GDT (16bit) and the address of the GDT (32b…

gcc 4.x not supporting x87 FPU math?

I’ve been trying to compile gcc 4.x from the sources using –with-fpmath=387 but I’m getting this error: “Invalid –with-fpmath=387”. I looked in the configs and found that it doesn’t support this option (even though docs still mention it as a possible option): Basicall…

saving build data only in slave node Jenkins

I set up slave node in Jenkins. However when I am running job in slave node, I realized that build data, workspace and log information are still save in master node(Jenkins server). Is there a way to save this data in slave node instead of master node? Answer The job workspace is not saved to the master, unle…

How to create virtual CAN port on linux? (C++)

I want to create program that would emulate CAN port for testing purposes for another big application. Program should send previously recorded data through this virtual CAN. Anyone has any experience with such thing? I’m thinking to establish virtual COM, and send through it data packed in CAN Frames. C…