Re: Microblaze start up code
On Apr 24, 1:24 am, ratemonotonic <niladri1...@xxxxxxxxx> wrote:
On 23 Apr, 21:27, ghel...@xxxxxxxxx wrote:
On Apr 23, 8:04 am, ratemonotonic <niladri1...@xxxxxxxxx> wrote:
Hi all ,
I am using EDK to develop software for microblaze. Where can I find
the startup file where all the exception vectors are defined , stack
is initilised , .bss is zeroed out etc.
I am hitting a software exception called _vectore_sw_exception at 0x08
location , I think it is the used defined exception. How can I put my
own debug code in this location.
I am new to EDK so any help would save me sleepless nights.
In your project directory, look at 'microblaze_0\code\xmdstub.s'
But I am using the bootloop programmed in the BRAM. Cant find
_vector_sw_exception anywhere in the project directory structure.
You won't find that defined in the project; it's defined in the
processor reference guide.
0x08 is "User Vector (Exception) 0". Somewhere in the "other" code, a
call is being made that goes to this vector.
The 1st thing to do is write an exception handler that figures out who
invoked it (and install it at vector 0x8).
- Re: x86 exception handling and stack demand
... When an exception occurs that will be passed down to user mode as an SEH exception, the kernel arranges for control to return to user mode at a special function in NTDLL, with several parameters on the stack containing information about the exception. ... In XP and later, the system stores a pointer to the initial stack allocation block in the TEB that is used by the kernel to decommit the stack via NtFreeVirtualMemory when the thread is terminated in a non-graceful fashion, closing this leak. ...
- [PATCH] x86: style fascism for xen assemblies
... * a view to being able to inline as much as possible. ... push %eax ... * This is run where a normal iret would be run, with the same stack setup: ... In order to deliver the nested exception properly, ...
- Re: new interpreter ("Fast RIR")
... in my stack-machine interpreter, a very large number of instructions ... underflow nor overflow during an operation, ... if you know the max number of stack items ever used, it is possible to allocate stack space for just that many items. ... yes, this is why I want to factor this out, as at present, the generation of exception events is a lot harder to factor out, so better would be to execute code in a form where static elimination of most possible exception cases is possible. ...
- RE: System.AccessViolationException in .NET 2.0 application
... Based on the call stack, there is an AV exception in the ... Microsoft Online Community Support ...
- Controlled types and exception safety
... I can classify the stack's operations by assigning them any of the above four levels, so that I know what can be expected when an exception is thrown for any reason (like inability to allocate more memory, or alike). ... For example, if the Push method of the stack gives me the strong guarantee, then I *know* that by calling this method either the new element will be appended to the stack, or the stack will remain unchanged, so that even if the exception is thrown, I don't have to worry about the stack's internal consistency. ... Since stack can be a dynamic data structure, assigning one stack object to another may involve destroying one existing data structure *and* creating a new one in its place. ...