core: change types from uint32_t to u32 (e.g)
This commit is contained in:
@ -2,6 +2,7 @@
|
||||
|
||||
#include "list.h"
|
||||
#include "memory.h"
|
||||
#include "types.h"
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
@ -13,14 +14,14 @@ enum owner { OWNER_KERNEL, OWNER_USER };
|
||||
#define STACK_SIZE PAGE_SIZE * 4
|
||||
|
||||
struct task {
|
||||
uint32_t *esp;
|
||||
uint32_t *esp0;
|
||||
uint32_t *cr3; // physical
|
||||
uint32_t *heap; // virtual
|
||||
uint32_t *eip;
|
||||
uint16_t pid;
|
||||
uint8_t status;
|
||||
uint8_t owner_id;
|
||||
u32 *esp;
|
||||
u32 *esp0;
|
||||
u32 *cr3; // physical
|
||||
u32 *heap; // virtual
|
||||
u32 *eip;
|
||||
u16 pid;
|
||||
u8 status;
|
||||
u8 uid;
|
||||
struct task *daddy;
|
||||
struct task *child;
|
||||
struct list **signals;
|
||||
@ -31,4 +32,4 @@ struct task {
|
||||
void scheduler(void);
|
||||
void switch_to_task(struct task *next_task);
|
||||
void exec_fn(void (*fn)(void));
|
||||
int create_kernel_task(void);
|
||||
i8 create_kernel_task(void);
|
||||
|
||||
Reference in New Issue
Block a user