mit-jos | MIT JOS 6.828 2011 - MIT JOS | Runtime Evironment library
kandi X-RAY | mit-jos Summary
kandi X-RAY | mit-jos Summary
MIT JOS 6.828 2011.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of mit-jos
mit-jos Key Features
mit-jos Examples and Code Snippets
Community Discussions
Trending Discussions on mit-jos
QUESTION
Firstly, I am now learning OS implementation from MIT-jos
and I want to trace bootmain(void) which locates in boot/main.c
But I don't know how to set breakpoint there,
I do set gdb source directory to both boot and obj/boot
...ANSWER
Answered 2017-Oct-24 at 13:17Tracing in boot/boot.asm
QUESTION
I am studying for Operating System Engineering recently, and I found a "magic number" that I can't figure out in the kern/console.c
when I tried to read the source code.
Basically, static void cga_putc(int c)
in kern/console.c
is a function for output the character to the console, it is used by cprintf
in this kernel.
ANSWER
Answered 2017-Apr-05 at 04:03Read it through.
~0xFF: invert 0xFF, i.e 0xFFFFFF00 if using a 32 bit number
c & 0xffffff00: look at the high order bits
if (!c): if no high order bits, set the high order bits to 0x0700;
The purpose of this is pretty much explained in the preceding comment:
// if no attribute given, then use black on white
Highly likely that the high order bits are controlling the FG and BG color of the text.
QUESTION
I am trying to use CMake for the MIT JOS Operating system project - http://repo.or.cz/mit-jos.git/tree or https://pdos.csail.mit.edu/6.828/2016/jos.git
Here is the directory structure
...ANSWER
Answered 2017-Mar-18 at 23:28It sounds like you need to add an include directory for your target with target_include_directories
, for example (at the end of your CMakeLists.txt):
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install mit-jos
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page