forked from KolibriOS/kolibrios
kolibri-libc:
- Removed attribute "O0" in _ksys_process_info that caused strange behavior in kos32-gcc v4.8.2 - Window centering in wolf3d should be fixed git-svn-id: svn://kolibrios.org@8669 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
d0d12e359f
commit
6fcb8e3762
@ -28,7 +28,9 @@ typedef struct {
|
|||||||
unsigned char green;
|
unsigned char green;
|
||||||
unsigned char red;
|
unsigned char red;
|
||||||
}rgb_t;
|
}rgb_t;
|
||||||
|
|
||||||
|
typedef unsigned int ksys_color_t;
|
||||||
|
|
||||||
#pragma pack(push,1)
|
#pragma pack(push,1)
|
||||||
typedef union{
|
typedef union{
|
||||||
unsigned val;
|
unsigned val;
|
||||||
@ -119,8 +121,6 @@ typedef struct {
|
|||||||
char reserved3[1024-71]; //+71
|
char reserved3[1024-71]; //+71
|
||||||
}ksys_proc_table_t;
|
}ksys_proc_table_t;
|
||||||
|
|
||||||
typedef unsigned int ksys_color_t;
|
|
||||||
|
|
||||||
typedef struct{
|
typedef struct{
|
||||||
ksys_color_t frame_area;
|
ksys_color_t frame_area;
|
||||||
ksys_color_t grab_bar;
|
ksys_color_t grab_bar;
|
||||||
@ -786,7 +786,7 @@ int _ksys_get_thread_slot(int tid){
|
|||||||
}
|
}
|
||||||
|
|
||||||
static inline
|
static inline
|
||||||
int not_optimized _ksys_process_info(ksys_proc_table_t* table, int pid)
|
int _ksys_process_info(ksys_proc_table_t* table, int pid)
|
||||||
{
|
{
|
||||||
int val;
|
int val;
|
||||||
asm_inline(
|
asm_inline(
|
||||||
|
Loading…
Reference in New Issue
Block a user