Changeset 7346 for trunk/src


Ignore:
Timestamp:
Nov 15, 2001, 5:20:15 AM (24 years ago)
Author:
bird
Message:

Separate stack segment of exactly 4KB.

Location:
trunk/src/win32k/kKrnlLib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/win32k/kKrnlLib/kKrnlLibTst.def

    r7118 r7346  
    1 ;/* $Id: kKrnlLibTst.def,v 1.4 2001-10-19 00:08:41 bird Exp $
     1;/* $Id: kKrnlLibTst.def,v 1.5 2001-11-15 04:20:15 bird Exp $
    22; *
    33; * Definition file for the Ring-3 test program.
     
    4646    LOGDATA_16BIT       class 'LOGDATA_16BIT'
    4747
     48    STACK32             class 'STACK' STACK
    4849
    4950IMPORTS
  • trunk/src/win32k/kKrnlLib/testcase/FakeA.asm

    r6736 r7346  
    1 ; $Id: FakeA.asm,v 1.1 2001-09-17 01:41:13 bird Exp $
     1; $Id: FakeA.asm,v 1.2 2001-11-15 04:20:12 bird Exp $
    22;
    33; Fake assembly imports.
     
    4747    public fakedh_SendEvent
    4848    public fakeh_POST_SIGNAL
     49    public _exeentry                    ; VAC stuff
    4950
    5051
     
    5859    extrn _fakeldrOpenPath_new@20:PROC  ; fake.c
    5960    extrn _options:kKLOptions           ; d16globl.c
    60 
    61 
    62 DATA16 SEGMENT
     61    extrn _exestart:FAR                 ; VAC stuff
     62
     63;
     64; Stack segment
     65;
     66STACK32 segment para stack 'STACK' use32
     67    db 1000h dup(?)
     68STACK32 ends
     69MYSTACKGROUP group STACK32              ; separates the stack from the other data segments.
     70
     71
     72;
     73; Prevent exeentry.obj from being linked in.
     74; That way we can make our own stack.
     75;
     76DATA32 segment
     77    _exeentry dd 0
     78DATA32 ends
     79
     80
     81
     82DATA16 segment
    6383; Fake data in 16-bit segment.
    6484fakepTCBCur         dd      offset FLAT:fakeTCB
     
    300320
    301321
    302 CODE16 ENDS
    303 
    304 
    305 
    306 CODE32 SEGMENT
     322CODE16 ends
     323
     324
     325
     326CODE32 segment
    307327;;
    308328; Faker of which simply clears the loader semaphore.
     
    613633fakeKMExitKmodeSEF8 endp
    614634
    615 CODE32 ENDS
    616 
    617 END
     635CODE32 ends
     636
     637end _exestart
Note: See TracChangeset for help on using the changeset viewer.