Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kernel stack frame #18

Closed
champo opened this issue Sep 27, 2011 · 3 comments
Closed

Kernel stack frame #18

champo opened this issue Sep 27, 2011 · 3 comments
Assignees
Milestone

Comments

@champo
Copy link
Owner

champo commented Sep 27, 2011

Create a kernel only stack frame for use when handling interrupts.

@eordano
Copy link
Contributor

eordano commented Oct 30, 2011

Esto en el SOS nunca lo pude implementar. En algún lado oscuro fallaba.

@champo
Copy link
Owner Author

champo commented Oct 30, 2011

Segun lei, el tema esta en que si o si hay que usar Task Gates. Linux lo hace usando un solo task que va manipulando a lo negro.

@eordano
Copy link
Contributor

eordano commented Oct 30, 2011

Más o menos: Podés a lo negro reemplazar tu ESP por el del kernel apenas llegas del "userspace" y después recuperarlo.

Task Gates necesitás si o si para tener un verdadero User Space, pero un stack frame para el kernel es hacible de manera trucha (desde el userspace podés acceder).

@ghost ghost assigned champo Nov 1, 2011
@champo champo closed this as completed in a14e7d0 Nov 2, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants