b5c9d24abc
* Thread creation and switching is working fine, however threads do not yet get interrupted because I've not implemented hardware interrupt handling yet (I'll do that next). * I've made some changes to struct iframe: I've removed the e/r prefixes from the member names for both 32/64, so now they're just named ip, ax, bp, etc. This makes it easier to write code that works with both 32/64 without having to deal with different iframe member names.
18 lines
291 B
C
18 lines
291 B
C
/*
|
|
* Copyright 2010, Ingo Weinhold, ingo_weinhold@gmx.de.
|
|
* Distributed under the terms of the MIT License.
|
|
*/
|
|
#ifndef _KERNEL_ARCH_X86_DEBUG_H
|
|
#define _KERNEL_ARCH_X86_DEBUG_H
|
|
|
|
|
|
#include <SupportDefs.h>
|
|
|
|
|
|
struct arch_debug_registers {
|
|
addr_t bp;
|
|
};
|
|
|
|
|
|
#endif // _KERNEL_ARCH_X86_DEBUG_H
|