Comments (6)
Hi,
tanks for your reply.
I am not able to boot yet. After type boothome I get a lot of chars like 1111111122222222111111111222222 (see image) and the shell never appears.
I added some printfs to the code and see that the problem could be in spawn_enter_usermode function.
At this point the code appears to be in loop:
asm volatile ( " movq $0, %%rax \n" " mov %%ax, %%ds \n" " mov %%ax, %%es \n" " mov %%ax, %%fs \n" " mov %%ax, %%gs \n" " movq %0, %%rax \n" " movq %1, %%rsp \n" " movq $0, %%rbp \n" " pushq $0x23 \n" " pushq %%rsp \n" " pushq $0x3202 \n" // Interrupts enabled for the thread that is not the first. " pushq $0x1B \n" " pushq %%rax \n" " iretq \n" :: "D"(entry), "S"(rsp3) );
I am not good at assembly, but could it be some kind of bug?
from kernel.
It's not a bug, it's that there are still things that need to be ported to run the shell again (the shell still 32bits)
And these chars are just for testing threads in usermode
from kernel.
Hi Fred,
is it possible to run Gramado 64bit version?
I tried, but after type boothome (or boot) in Gramado Boot Maneger I got a lot of messagens like:
THREAD 1
sc0:
write: Calling sc82
sci2: [TODO]
sci2: [19] write
sys_write: [TODO]
from kernel.
Hi Fred,
is it possible to run Gramado 64bit version?
I tried, but after type boothome (or boot) in Gramado Boot Maneger I got a lot of messagens like:
THREAD 1
sc0:
write: Calling sc82
sci2: [TODO]
sci2: [19] write
sys_write: [TODO]
Hi amgodoi :)
Yes, it is possible to run Gramado 64bit version, which is not yet complete.
The messages are just informing about the execution of the threads, it's normal.
from kernel.
zBl4ckUser was right .... it was not a bug ... at this time i was working to port the kernel to 64bit. The new kernel was able to do just some few things at this time ... but now i have my kernel running very well in 64bit.
from kernel.
Now the whole system is running very well in 64bit.
from kernel.
Related Issues (20)
- Help: Kernel Development [pt-br] HOT 6
- Help: Compiling HOT 6
- Help: Tests HOT 2
- Gramado's console font name? HOT 4
- Running the Makefile Requires Superuser HOT 5
- Help: GUI applications HOT 7
- compiling: Erro ao executar make pela 1º vez HOT 4
- Help: kernel development HOT 4
- Compilar: Não é possível compilar usando o GCC 10 HOT 16
- gws: Calling the gws client HOT 1
- fs: Can't open files with only one letter in the extension, ex: file.c HOT 10
- How to compile ? HOT 2
- Help: libc HOT 2
- Help: docs and website HOT 3
- device driver: How can i add a mouse in the OS? HOT 4
- GUI: How can i add a corner radius to A view/Window. HOT 1
- Programs: Is it in the goals building and running other C programs directly from Gramado? HOT 3
- Compilation: Running make HOT 3
- ./run script: Qemu isn't able to run the virtual disk HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kernel.