PKUOS - Pintos
Pintos source browser for PKU Operating System course
|
#include <string.h>
#include "tests/arc4.h"
#include "tests/cksum.h"
#include "tests/lib.h"
#include "tests/main.h"
Go to the source code of this file.
Functions | |
void | test_main (void) |
Expand the stack by 32 bytes all at once using the PUSHA instruction. More... | |
void test_main | ( | void | ) |
Expand the stack by 32 bytes all at once using the PUSHA instruction.
This must succeed.
< Save a copy of the stack pointer.
< Move stack pointer to bottom of page.
< Push 32 bytes on stack at once.
< Restore copied stack pointer.
< Tell GCC we destroyed eax.
Definition at line 12 of file pt-grow-pusha.c.