fix typo, remove some SCC workarounds
This commit is contained in:
parent
b904e8e412
commit
b4639fc1ae
3 changed files with 3 additions and 3 deletions
|
@ -28,7 +28,7 @@
|
|||
|
||||
gdt_ptr_t gp;
|
||||
static tss_t task_state_segments[MAX_TASKS] __attribute__ ((aligned (PAGE_SIZE)));
|
||||
static unsigned char kstacks[MAX_TASKS][KERNEL_STACK_SIZE] __attribute__ ((aligned (PAGE_SIZE) section (".data")));
|
||||
static unsigned char kstacks[MAX_TASKS][KERNEL_STACK_SIZE] __attribute__ ((aligned (PAGE_SIZE), section (".data")));
|
||||
// currently, our kernel has full access to the ioports
|
||||
static gdt_entry_t gdt[GDT_ENTRIES] = {[0 ... GDT_ENTRIES-1] = {0, 0, 0, 0, 0, 0}};
|
||||
unsigned char* default_stack_pointer __attribute__ ((section (".data"))) = kstacks[0] + KERNEL_STACK_SIZE - sizeof(size_t);
|
||||
|
|
|
@ -120,7 +120,7 @@ int STDCALL network_task(void* arg)
|
|||
|
||||
// start echo and ping server
|
||||
echo_init();
|
||||
//ping_init();
|
||||
ping_init();
|
||||
|
||||
while(!done) {
|
||||
#ifdef CONFIG_PCI
|
||||
|
|
|
@ -139,7 +139,7 @@ int test_init(void)
|
|||
|
||||
#ifdef CONFIG_LWIP
|
||||
// use ping to test LWIP
|
||||
//ping_send_now();
|
||||
ping_send_now();
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue