Rev 914 | Rev 996 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 914 | Rev 928 | ||
---|---|---|---|
Line 364... | Line 364... | ||
364 | 364 | ||
Line 365... | Line 365... | ||
365 | return pe_app_param(path, raw, ex_pg_dir, ex_stack); |
365 | return pe_app_param(path, raw, ex_pg_dir, ex_stack); |
366 | }; |
366 | }; |
Line 367... | Line -... | ||
367 | - | ||
Line 368... | Line 367... | ||
368 | #define master_tab (page_tabs+ (page_tabs>>10)) |
367 | |
369 | 368 | ||
370 | typedef struct |
369 | typedef struct |
371 | { |
370 | { |
Line 383... | Line 382... | ||
383 | u32_t pe_sp; |
382 | u32_t pe_sp; |
384 | u32_t pe_ss; |
383 | u32_t pe_ss; |
385 | }thr_stack_t; |
384 | }thr_stack_t; |
386 | 385 | ||
Line 387... | Line -... | ||
387 | #define EFL_IF 0x0200 |
- | |
388 | #define EFL_IOPL1 0x1000 |
- | |
389 | #define EFL_IOPL2 0x2000 |
- | |
390 | #define EFL_IOPL3 0x3000 |
- | |
391 | - | ||
392 | void sys_app_entry(addr_t raw, thr_stack_t *thr_stack, exec_stack_t *ex_stack) |
386 | void sys_app_entry(addr_t raw, thr_stack_t *thr_stack, exec_stack_t *ex_stack) |
393 | { |
387 | { |
394 | PIMAGE_DOS_HEADER dos; |
388 | PIMAGE_DOS_HEADER dos; |
395 | PIMAGE_NT_HEADERS32 nt; |
389 | PIMAGE_NT_HEADERS32 nt; |